This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Doubt in Connection Pooling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Doubt in Connection Pooling" Watch "Doubt in Connection Pooling" New topic
Author

Doubt in Connection Pooling

Balachandar Nayak
Greenhorn

Joined: Jul 22, 2005
Posts: 29
Hi

I have a doubt in Connection Pooling.
I came to know that we can limit the number of connections in Connection Pool.
Is it possible and how?
Im using JBoss Application Server.
Is it Possible in Weblogic?


Regards
Bala
Valentin Tanase
Ranch Hand

Joined: Feb 17, 2005
Posts: 704
Hi Bala,

Certainly it is possible with WebLogic. Because containers aim to be highly configurable I�m more than sure that JBoss will allow configuring the connection pool size (and not only) as well.
In order to configure a connection pool in WebLogic, pick one of the connection pools defined under the Services/JDBC/Connection Pools (see the left tree). On the right panel click on the Connection tab and you�ll be able to reconfigure the pool, setting the initial & maximum capacity, capacity increment, the way prepared statements are cached, etc. There is also an advanced options link that will help you setting more advanced features, like setting the test table, or testing frequency, allowing pool shrinking, etc.
Regards.


I think, therefore I exist -- Rene Descartes
Balachandar Nayak
Greenhorn

Joined: Jul 22, 2005
Posts: 29
Thanks Valentin for ur valuable reply



Regards
Bala
Valentin Tanase
Ranch Hand

Joined: Feb 17, 2005
Posts: 704
You're very welcome Bala
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Doubt in Connection Pooling