O'Reilly logo

Oracle WebLogic Server 11g Administration Handbook by Sam Alapati

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Tuning Data Sources

Following is a summary of the best practices when tuning data sources.

Configuring the Connection Pool

To avoid connection delays due to on-demand creation of connections, Oracle recommends you set the value of the Initial Capacity parameter to the value of the Maximum Capacity parameter when configuring a connection pool. You can estimate the value of the Maximum Capacity parameter through load-testing exercises. However, beware of oversimplifying and making your application deployment too tightly bound to one particular configuration.

You can use the <pool-name> mechanism for setting a <max-threads-constraint>, as shown in the following example, which shows part of a weblogic-ejb-jar.xml file:

 </weblogic-ejb-jar> - <work-manager> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required