Instead, we connected to our DB2 II database using a DataSource object (a pooled database connection defined in WebSphere) and we were ready to go.
相反,我们可以使用DataSource对象(WebSphere中定义的一种使用连接池机制的数据库连接)连接到我们的DB 2 II数据库,这正是我们准备做的。
Object pooling helps level out the number of allocations made on the heap, since the most common objects in an application can be pooled.
对象池机制有助于减小在堆上进行的分配的数量,因为可以汇聚应用程序中最常见的对象。
Its main task consists of using the URL information to find a match between the virtual directory of the URL and a pooled HttpApplication object.
其主要任务是使用URL信息去将URL虚拟目录和对象池中HttpApplication对象匹配。
应用推荐