Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

API for Connection Pooling

 
ramya ray
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Need your valuable inputs one one more question :

What is API used for getting free connection from the pool of connections in J2EE.

I think its JDBC but not sure ....

Thanks,
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The API for getting the Connection object in a J2EE environment is JNDI. Once you have a Connection, you use JDBC with it.

Note that it is possible not to use JNDI if you want to manage the connection pool yourself, but in a J2EE environment that's typically not done.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic