Persistent objects should ALWAYS remain local to the business object that operates on them.
持久性对象应该总是保留在操作它们的业务对象的本地。
All J2EE persistence technologies provide some mechanism to map business data objects back to a persistent data source.
所有的J2EE持久化技术都提供了一些机制来将业务数据对象映射回持久性数据源。
That is, not having to generate unique key values for persistent objects within the application allows the focus to remain on core business logic and business rules.
这就是说,程序不需要为程序之中的永久性对象生成单独的键值,而允许将注意力放到核心业务逻辑以及业务规则之上。
应用推荐