Two Laptop Bag*
The moose likes JDBC and the fly likes Connection Pooling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Connection Pooling" Watch "Connection Pooling" New topic
Author

Connection Pooling

A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 979
Hi,

When some means connection pooling is it only connection objects that connect to databases....i mean strictly "Databases connection objects"

Actually i have a requirement to create a connection pooling that has X no of connection objects but i have to connect to Epiphany ...

How to proceed with this ..?

Regards
Scott Johnson
Ranch Hand

Joined: Aug 24, 2005
Posts: 518
[A]: is it only connection objects that connect to databases

No, you can create a pools for any type of object. JDBC statements, Web server connections, EJBs, servlets, etc.

[A]: i have to connect to Epiphany

Apache Jakarta Commons has a generic object pooling librarylibrary that you may find useful. You can use that to create your own Epiphany connection pool.
A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 979
Thank you Scott!!! ....I will try looking at that...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Connection Pooling
 
Similar Threads
Question about design pattern
Connection and Object Pools in Java Application
a question about Singleton
New Article: JDBC Connection Pooling
Connection Pooling