Why pool resource connections?
为何合用资源连接?
The EJB component in this example USES a JNDI lookup to locate the database connection pool resource.
本例中的EJB组件使用JNDI查询来确定数据库连接池资源的位置。
In our first article, we let the personalization user and content resource wizards create a data source for us; however, we would rather utilize the full capabilities of the connection pool model.
在我们的第一篇文章中,我们让个性化用户和内容资源向导为我们创建数据源;但我们更希望利用连接池模型的完整功能。
The on demand router sends these requests to dynamic clusters, which represent a pool of resource that application servers and application instances can consume.
随需应变路由器将这些请求发送到动态集群,该动态集群是一个应用程序服务器和应用程序实例可以消耗的资源池。
Manage resource – This interface provides a method to schedule the resources in the pool.
管理资源 –该界面提供一种方法来调度资源池中的资源。
In a synchronous scenario, a slowly responding external resource or fully utilized connection pool will tie up the upstream processing threads until the bottleneck is alleviated.
在一个同步场景中,一个缓慢响应的外部资源或完全利用的连接池将捆绑上游线程,直到该瓶颈得到缓解。
Shared resource services distribute services among a pool of users, and servers allow large companies to get peak load capacity at lower costs, reducing the need for larger internal data centers.
共享资源服务在一个用户池中分发服务,能够让大型公司以很低的成本能获得峰值的负荷容量,减少了对大型内部数据中心的需求。
The resource manager USES the object pool provided by the container to manage system resources.
资源管理器会使用容器提供的对象池来管理系统资源。
If an image template has already been registered for a resource pool, you cannot register it for another resource pool.
如果一个图像模板已经注册给某个资源池,那么您就不能将它注册给其他资源池。
Should new requests for the same resource come in, they will be handled by other objects in the pool.
当同样资源的新请求再次进入时将有对象池中其他对象处理。
The resource manager implements the object pool and it gets the managed resource that implements persistence, security state management, and transaction.
资源管理器实现了对象池,它能够获得实现持久化、安全性状态管理和事务的托管资源模式。
A memory resource (sometimes called a memory pool) in the VM has grown to exceed a previously set threshold value.
虚拟机中的内存资源(有时叫做内存池)增长超过了预先设置的阈值。
The application service provider implements the pool manager in its memory space and can optimize resource usage by dynamically altering the pool size, based on demand.
应用服务器供应商在其内存空间实现池管理器,并根据需要动态改变池的大小,从而优化资源的使用。
A simulation was run with 1000 requests, using the same resource pool size.
使用1000个请求再次运行了一次模拟,使用了相同的资源池规模。
The connection manager can then call this method when the resource adapter indicates a connection error, or even periodically to remove broken connections from the pool.
然后连接管理器在资源适配器指示连接错误时调用这个方法,甚至定期调用该方法,以便从池中排除坏掉的连接。
The deployment information for the module must declare a resource reference and map it to a specific connection pool available to that module.
模块的部署信息必须声明一个资源引用,并将其映射到可用于该模块的特定连接池。
Deploy a database pool: you have learned how to build the database deployment plan and what resource adapters you should use for different database servers.
部署数据库池:您已经了解了如何制定数据库部署计划,以及对于不同的数据库服务器应该使用什么资源适配器。
In these scenarios, a connection pool is immensely useful to improve performance as well as to optimize resource utilization.
在这种情况下,“连接池”就变得非常有用,它既可以提高系统性能,又可以优化资源的使用。
In that situation, a J2EE component can use connection objects without causing overheads on the database resource manager, since a pool manager creates the connection objects up front, at startup.
在那种情况下,因为池管理器预先在启动时创建连接对象,所以,J2EE组件可以使用连接对象,而不会导致数据库资源管理器上的系统开销。
Finally, in the case of connection pools associated with JCA resource adapters, it is in fact possible to use a different thread pool for different resource adapters.
最后,对于与JCA资源适配器相关联的连接池,事实上可以对不同的资源适配器使用不同的线程池。
A thread pool offers a solution to both the problem of thread life-cycle overhead and the problem of resource thrashing.
线程池为线程生命周期开销问题和资源不足问题提供了解决方案。
To create a resource useful to a broader community – who may not be as deeply obsessed – this “start-up” community must pool both their expertise and their criticism.
要建立一个为更大群体所有用的资源(这其中的人也许并不是那么的沉浸其中),这个新建社区就必须同时容纳专门知识和批评意见。
The resource owner also evaluates the resource from the perspective of what is important to the resource pool.
资源所有者也以对资源池重要的东西的观点来评价资源。
The specified cluster should not already be associated to another resource pool.
所指定的集群不能与其他资源池关联。
There are two files in which you need to specify the resource references for the database pool.
您需要在两个文件中为数据库池指定资源参考。
You have already seen that a connection pool can be set up when you install a resource adapter in the server.
您已经知道可以在服务器中安装资源适配器时设置连接池。
Expand the pool or pools, and locate the resource that needs to be mapped.
展开一个或者多个数据池,确定需要映射的资源。
The best way to verify the configuration is correct is to create a project for the new resource pool.
验证该配置的最佳途径是创建一个新资源池项目。
The JMS connection is not considered to be a transactional resource, and so returns to the pool of connections as soon as it is closed.
不将JMS连接视为事务资源,所以只要它关闭,就将返回到连接池。
M to 1 - where many virtual servers are consolidated and treated as one resource pool.
多对一——其中整合了多个虚拟服务器,并将它们作为一个资源池。
应用推荐