从广泛使用的DAO/Repository模式的角度来说,DAO只负责执行持久化操作,而实体则只维护其状态。
In the widely used traditional DAO/Repository pattern, DAOs have the responsibility to perform persistence operations, which are purely behavioral, and entities are supposed to hold state.
WS 响应模板模式提供服务接口灵活性、互操作性和可维护性。
The WS response template pattern provides service interface flexibility, interoperability, and maintainability.
这将低了模式的可维护性和可互操作性。
This hurts maintainability and makes the schemas less interoperable.
应用推荐