Also, performing all CMP operations in a session bean shields the Web application from having to know any of the implementation details of the database access layer.
此外,在Session bean中执行所有CMP操作使得Web应用程序无需知道数据库访问层的任何实现细节。
For quick prototyping efforts it is acceptable to combine the database access in the view layer, compromising the strict separation of data from view.
为了快速开发原型,将数据库访问合并到视图层,打破数据与视图严格分离的限制,这是可以接受的。
If access to the source database is unreliable, striving for resiliency in the cache layer might improve overall stability for read-intensive applications.
如果对源数据库的访问不可靠,在缓存层争取弹性可能会提高读密集型应用程序的总体稳定性。
应用推荐