Spring技术内幕:深入解析Spring架构与设计原理(揭秘系列丛书) ... petclinic的Web页面实现 petclinic的领域对象实现 petclinic数据库操作的实现 ...
基于34个网页-相关网页
更进一步,通过这种方式实现command对象允许您在Web应用程序的其它领域重用业务逻辑。
Further, implementing command objects in this way allows business logic to be reused in other areas of your Web application.
要想使用领域设计方法,你就需要为实体类定义和构建资源库来实现领域对象的持久化。
Using a domain driven design approach you will need to define and build repositories for the entities that make up your domain.
实现该trait的领域对象只需实现getEntity方法即可,该方法的实现仅仅是返回一个自身引用
The domain object implementing this trait only has to provide the getEntity implementation, in which it simply returns a reference to itself
应用推荐