您还可以通过连接池配置数据源(DataSource)。
You also can configure a Data Source with the connection pool.
通过在运行时运用JNDI,你可以获得连接池的好处和服务器提供的额外的功能。
By using JNDI connections at runtime, you can obtain the benefits of connection pooling and additional application server-provided functionality.
该模块的代码必须通过JNDI查找连接池。
The module's code must look up the connection pool through JNDI.
通过使用数据源对象,您可以访问一个连接数据源的连接池。
By using data source objects, you have access to a pool of connections to a data source.
缺省情况下,池维护的线程每180秒(3分钟)运行一次,但是通过设置连接池获得时间属性可以更改此值。
By default, the pool maintained thread runs every 180 seconds (3 minutes), although this value can be changed by setting the connection pool Reap time property.
您可以通过在导航框架中选择连接节点来修改连接池的设置(参见图4)。
You can modify the connection pool Settings by selecting the connection node in the navigation frame (see Figure 4).
通过将获得时间属性设置为0,可以禁用个别空闲连接池的池维护线程。
You can disable the pool maintenance thread for an individual free connection pool by setting its Reap time property to 0.
例如,到一个JDBC支持的数据库的连接通过使用的JDBC数据源定义连接池;JMS和其他J2C连接池通过激活规范定义。
For example, connections to a JDBC-backed database are pooled via the JDBC datasource that is used; JMS and other J2C connection pools are defined through the activation specification.
通常而言,许多应用程序都可以通过调优以下三个核心区域实现一定程度的性能改进:J VM、线程池和连接池。
In general, a large number of applications will realize some improvement from tuning in three core areas: the JVM, thread pools, and connection pools.
最后,我们将了解可如何方便地通过Spring使用CommunityEdition的连接池实现。
Finally, see how easy Spring can make it to use Community Edition's connection pool implementation.
通过结合车辆定位平台的实例,设计和实现了数据库连接池,并验证了其有效性。
The design and implementation of database connection pool are done through an instance of vehicle positioning platform, which proves the efficiency of this method.
通过分析传统数据库开发模式的不足,提出数据库连接池技术,并对其基本模型和设计方案进行探讨。
By analyzing the shortage of traditional data base developing mode, it refers data base connection pool skill, and discuss its basic model and design method.
通过分析传统数据库开发模式的不足,提出数据库连接池技术,并对其基本模型和设计方案进行探讨。
By analyzing the shortage of traditional data base developing mode, it refers data base connection pool skill, and discuss its basic model and design method.
应用推荐