在我们的第一篇文章中,我们让个性化用户和内容资源向导为我们创建数据源;但我们更希望利用连接池模型的完整功能。
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.
通过使用数据源对象,您可以访问一个连接数据源的连接池。
By using data source objects, you have access to a pool of connections to a data source.
如果事件在此队列中堆积,但并没有在协作线程池前面的队列中堆积,则请增加为源适配器控制器配置的线程数量。
If events are building up in this queue, but not in the queue in front of the collaboration thread pool, then increase the number of threads configured for the source adapter controller.
如果事件在传输队列(位于侦听器前)中堆积,则请同时增大侦听器和源适配器控制器的线程池的大小。
If events are building up in the transport queue (in front of the listener), increase the size of the thread pool for both the listener and the source adapter controller.
创建数据源或数据库池的原因是它能够提高应用程序性能,因为即使打开一个连接也会十分占用CPU。
The reason for creating a data source or database pool is that it increases application performance, because opening even a single connection is a CPU-intensive operation.
图5展示了一个比较示例,该比较标记了对一个数据源的连接池属性上的最大连接设置的更改。
Figure 5 shows an example of a comparison that flagged a change to the Max connections setting on the connection pool attribute of a data source.
连接池可提高性能,因为一将数据源对象实例化,它就会创建一个连接。
Connection pooling improves performance as a data source object creates a connection as soon as it is instantiate.
数据源提供到基础数据库的连接属性,以及连接池机制。
A data Source provides the connection properties to the underlying database along with connection pooling mechanisms.
大多数业务程序员都不愿意,为了使用JDBCSPI而编写他们自己的数据源和连接池代码,并实现一个命名的服务器。
Most business programmers cannot justify the time it takes to write their own datasource and connection pool code plus implement a naming server so the JDBC SPI can be used.
例如,到一个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.
链中的最后一个“门”是应用程序访问的数据源的连接池的大小。
The final gate in the chain is the size of the connection pool to the data sources accessed by the application.
目标服务器上共享内存池的大小不必与源服务器上的相同。
The size of the Shared memory pool on the target server does not have to be the same as on the source server.
另外要注意到的是,单独的连接池数据源是dataSource的另一个部署选项,并且不需要修改任何代码。
Also notice that the standalone connection-pooling dataSource is yet another deployment option for the 'dataSource' and does not require any code changes.
必须先在服务器环境中创建和配置了数据源,企业bean才可以访问池态数据库连接。
Before an enterprise bean can access a pooled database connection, a datasource must have been created and configured in the server environment.
由于连接池有许多优点,所以在Web应用程序中偏爱使用数据源对象的方法来处理数据库连接。
Because of the advantages of connection pooling, using data source objects is the preferred method of handling database connections in Web applications.
清单6中的脚本将Trade6应用程序中使用的JDBC数据源的数据库连接池限制设置为 113。
The script in Listing 6 sets the database connection pool limit to 113 for the JDBC data source used in the Trade6 application.
通常会为Hibernate提供一个有连接池功能的数据源。
You usually provide Hibernate with a datasource which provides the pooling function.
这一工具可以提供多种类型的建议,包括对OR b和we b池的池设置的建议,对会话设置的建议,对内存泄漏的建议,甚至包括对数据源的诊断建议。
There are many type of advice provided through this facility, including pool setting advice for ORB and Web pools, session setting advice, memory leak detection or even data source diagnostic advice.
ApplicationServer使用该类来管理Cloudscape连接池并向请求数据源连接的应用程序提供连接。
The application Server USES this class to manage a Cloudscape connection pool and provide datasource connections to applications that request them.
在该模块的Geronimo部署计划中,您需要指定将使用服务器中的哪个连接池来满足Web模块所需的数据源。
In the Geronimo deployment plan for that module, you need to specify which connection pool in the server will be used to satisfy the data source required by the Web module.
如果同时使用许多portlet,需要考虑为数据源增加WebSphereApplicationServer中的连接池大小。
If a number of portlets are used simultaneously, consider increasing the size of the connection pool in WebSphere Application Server for the data source.
在成功部署之后,您可以看到SampleDS数据源已添加到CommunityEdition中已部署的池列表中,如图11所示。
Note the here the Password is APP. Click When successfully deployed, you can see the SampleDS data source added in the list of the deployed pools in Community Edition, as in Figure 11.
根据SunJDBC 2.0StandardExtension规范中的定义,数据源允许您管理数据库的一个连接池。
As defined in the Sun JDBC 2.0 Standard Extension specification, data sources allow you to manage a pool of connections to a database. Using connection pools gives you with the following advantages.
任何不能被移动到回收存储池所含卷的数据仍然会保留在源存储池的卷中。
Any data that could not be moved to volumes in the reclamation storage pool still remains on volumes in the original storage pool.
尾池小组确认的新罪魁祸首是一种脂源性的蛋白,叫做血管生成素样蛋白2。
The new culprit Oike's team identifies is a fat-derived protein called angiopoietin-like protein 2 (Angptl2).
对于网络数据源中的动态服务,采用网格结构模型,并且针对如何使微机数据源有效地加入数据源池提出了改进模型,以更有效地利用网络数据库资源。
A grid model is set up for dynamic data sources pool in web, and some modifications of the model are presented to make use of the source in PCs.
池杉不同种源过氧化物酶同工酶酶谱是不同的。
To different species source of Taxodium ascendens Brongn enzyme scores of peroxidase and isozyme are different.
研究成果为雨水存储池等城市面源污染控制设施的规划设计提供了依据。
The above findings provide the basis for the planning and design for the non-point pollution control facilities including stormwater storage tank and so on.
你应该使用新格式的CMP1.1DTD并且指定数据源的名字而不是连接池的名字。
You should use the new style CMP 1.1 DTD and specify the data source name instead of the pool name.
本文根据特征函数加源分布、内外域拟合的方法,建立了振动水柱港池系统的三维理论模型。
A 3-d theoretical model of an OWC with a harbour system has been presented, based on the method of eigenfunction, source distribution and matching the inner region with outside.
应用推荐