提供能缓存最常用数据的临时缓存可以改进性能。
Providing an interim cache that can cache the most-used data can improve performance.
在EJB环境中,您可以将常用数据和业务逻辑置于单组企业bean中。
In an EJB environment, you can put common data and business logic in a single set of enterprise beans.
通常用数据访问业务组件封装数据是一项好的实践,特别是针对有状态业务组件。
It is generally a good practice to encapsulate the data component with its data access business component. This is especially the case for stateful business components.
And I haven't said yet, how do I get that collection, but you could certainly conceptualize that, if I had that collection, that would be nice thing to do. That is a more common pattern.
也可以这么来操作,这是个更常用的模式,这基本上也就意味着,对于某些数据的集合,我想要一个循环机制。
应用推荐