在一个生产实现中,可以使用该方法来创建数据库连接池的间隔。
In a production implementation, you would use this method to create the internals of a database connection pool.
清单4显示了在应用程序模块中查找创建的数据库连接池所需的代码。
Listing 4 shows the code in the application module needed to lookup the created database connection pool.
接下来将为新创建的数据库创建连接池
Next you create a connection pool for the recently created database
为Informix数据库创建连接池。
Sequel具有线程安全,连接池等特性,同时提供了简洁的DSL用来创建数据库查询以及表方案。
Sequel provides thread safety, connection pooling and a concise DSL for constructing database queries and table schemas.
因此,我们使用JDBC连接池,创建一个用来缓存来自于浏览数据库的名称,并运行于单独的WebSphereApplicationServer 服务器上的Web服务。
Therefore, we created a Web service that caches names from Browse and runs on a separate WebSphere Application Server server, using JDBC connection pooling.
同样地,应用程序设计也能调优性能:更少的对象创建、实时的数据库优化以及使用数据库连接池。
Similarly the application design can be tuned for performance: Fewer object creations, ongoing database refinements, and using database connection pooling.
在这个示例中,您将创建一个连接池,并将SQLLoginModule配置为使用该连接池来进行对数据库的访问。
In this example, you will create a connection pool and configure the SQLLoginModule to use that connection pool for accessing the database. To create and use a database realm, you need to.
数据库连接池开始空和创建连接,随着时间的推移,根据需求。
The database connection pool starts out empty and creates connections over time according to demand.
数据库连接池开始空和创建连接,随着时间的推移,根据需求。
The database connection pool starts out empty and creates connections over time according to demand.
应用推荐