How message-driven bean listener ports use the connection pool?
消息驱动的Bean侦听器端口如何使用连接池?
The free connection pool now contains two free connections - c1 and c2.
空闲连接池现在包含两个空闲连接:c1和c2。
Recommendation: Adjust the maximum and minimum sizes of the connection pool.
推荐:请调整连接池的最大值和最小值。
It finds c1 in the free connection pool, and checks how long ago it was created.
它在空闲连接池中找到c1,并检查它创建了多长时间。
In general terms, a connection pool is a pool of free connections to a JMS provider.
总的来说,连接池是一个到JMS提供程序的空闲连接池。
In order to reduce this overhead, a connection pool can run validation while it is idle.
为了减少此类开销,连接池在空闲时会运行该验证。
This parameter controls maximum and minimum number of JDBC connections in a connection pool.
该参数控制连接池中最大jdbc连接数和最小JCBC连接数。
One symptom of insufficient concurrency and insufficient connection pool size is an idle CPU.
并发性不足和连接池大小不足的一个症状是CPU闲置。
This parameter controls the maximum number of prepared statements cached by a connection pool.
该参数控制由连接池缓存的最大预编译语句数。
Applications are not required to be aware of the either the JDBC Driver or the connection pool.
应用程序不必知道JDBC驱动程序和连接池。
Never have a maximum connection pool size that is greater than the servlet engine thread count.
绝不要使最大的连接池大小大于servlet引擎线程的数量。
Configuring proper values for connection pool sizes is a matter of tuning an application server.
为连接池大小配置适当的值是一个应用程序服务器调优问题。
Hence, the size of a connection pool should be optimized for the expected workload on the system.
因此,应该优化连接池,以便在系统上获得预期的工作量。
The two examples above show how listener ports and EJBs can use the connection pool in isolation.
上面的两个示例显示了侦听器端口和EJBs 如何单独使用连接池。
Finally, see how easy Spring can make it to use Community Edition's connection pool implementation.
最后,我们将了解可如何方便地通过Spring使用CommunityEdition的连接池实现。
The EJB component in this example USES a JNDI lookup to locate the database connection pool resource.
本例中的EJB组件使用JNDI查询来确定数据库连接池资源的位置。
Now a connection pool is configured, and a node for the connection pool is added to the navigation frame.
现在配置了一个连接池,并在导航框架中为该连接池添加了一个节点。
Listing 4 shows the code in the application module needed to lookup the created database connection pool.
清单4显示了在应用程序模块中查找创建的数据库连接池所需的代码。
As a result, you might need to increase the average size of the connection pool or number of connections.
所以,可能需要提高连接池的平均大小或连接数量。
Finally, the Customer Service utility showed you how this connection pool can be accessed within the code.
最后,CustomerService实用程序向您展示了如何在代码内访问此连接池。
Applications that make use of connection pooled JDBC resources need to set the size of the connection pool.
使用有连接池的JDBC资源的应用程序需要设置连接池的大小。
You have already seen that a connection pool can be set up when you install a resource adapter in the server.
您已经知道可以在服务器中安装资源适配器时设置连接池。
As the connection pool from JMeter is established, the server provides much more consistent workload response.
当从JMeter建立连接池时,服务器会提供更加一致的工作负载响应时间。
The final gate in the chain is the size of the connection pool to the data sources accessed by the application.
链中的最后一个“门”是应用程序访问的数据源的连接池的大小。
All this depends on both the scalability of the database server and the middleware managing the connection pool.
所有这一切都依赖于数据库服务器和管理连接池的中间件的可伸缩性。
In a production implementation, you would use this method to create the internals of a database connection pool.
在一个生产实现中,可以使用该方法来创建数据库连接池的间隔。
If more than one server is configured in a domain, select a server to which the connection pool should be deployed.
如果要在一个域内配置多台服务器,可以选择一台将部署连接池的服务器。
You can modify the connection pool Settings by selecting the connection node in the navigation frame (see Figure 4).
您可以通过在导航框架中选择连接节点来修改连接池的设置(参见图4)。
If it later gets a different connection from the connection pool, then it will naturally obtain a different session.
如果以后从连接池中获得不同的连接,则它自然将获得不同的会话。
First, consider the code example below of an EJB client accessing an LDAP directory that implements a connection pool.
首先,考虑以下E JB客户机代码示例,该客户机访问实现连接池的LDAP目录。
应用推荐