Discussion Locked

Connection Pooling inEJB

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How do u create a connection pooling in
EJB?
What is the difference between connection pooling and instance pooling?

7 replies

by nvjain73

Pooling is a technique used for sharing server resources among requesting clients.

Connection pooling is a technique that was pioneered by database vendors to allow multiple clients to share a cached set of connection objects that provide access to a database resource.

Instance pooling on the other hand is associated with ejb such as session or entity beans
In this case also the ejb container allows multiple clients to share a cached set of instance of the session or entity beans.

by rashmigopinath

The EJB containers i.e. Weblogic/Websphere provide the connection pooling mechanism which can be customized. In Weblogic, the customization can be done in the properties file.

by gigsvoo

Addon: Both weblogic/websphere has connection pool setup using console.

Also make sure your server has the proper JDBC driver installed.

This discussion is closed to new replies.