No references to JDBC drivers, no server names, no user names or passwords — not even database pooling or connection management.
没有对JDBC驱动程序的引用,没有服务器名称,没有用户名称或口令——甚至没有数据库池或连接管理。
Object caching and pooling: the application server automatically pools stateless session beans at the server level, reducing the amount of time spent in object creation and garbage collection.
对象高速缓存和合用:应用程序服务器自动在服务器级合用无状态会话bean,这减少了花在对象创建和垃圾收集上的时间。
The get-use-close model might sound inefficient, but the connection pooling the application server implements should make the "get" operation cheap.
get - use - close模式看起来效率不高,但是应用服务器实现的连接池可降低“获得”操作的成本。
应用推荐