写java code 设置了 很多层, servicelocator+service(help)+bean+dao+domian 而且每一层都有interface,其中bean可能还extend,每层的调用 有很多的重复,不知道原因为何,很多的设计架构都采用了这种模式,况且不谈spring 通过xml配置可以简化一些new,delete,但是其中的深层意味着什么,是可扩展,还是松耦合?
SSH
最新推荐文章于 2025-11-26 16:40:37 发布
写java code 设置了 很多层, servicelocator+service(help)+bean+dao+domian 而且每一层都有interface,其中bean可能还extend,每层的调用 有很多的重复,不知道原因为何,很多的设计架构都采用了这种模式,况且不谈spring 通过xml配置可以简化一些new,delete,但是其中的深层意味着什么,是可扩展,还是松耦合?
7364

被折叠的 条评论
为什么被折叠?