I want to use connection pooling feature in my project using JBoss application server with Oracle database server. Anybody can tell me how to do this please.
There are two ways to do this - 1. Using Jboss feature 2. Using JDBC 3.0 with the help of newly added featured.
If possible please tell me the solutions for both the cases. If any sample code and good link are also appritiated.
The above is sample Connection Pooling configuration file save the above code with your parameters as datasorce.xml or what ever name you want with .xml extenstion and deploy it in same directory where you deployed you are jar's or war's or rar files eg (C:\jboss-4.0.2\server\default\deploy) after you deploy it if the configuration is successful in jobss debug console you can see the messages like "connection bound" .. after that you can refer to the jndi name above given to get connection objects
Regards, Vishnu
Vishnu Vardahna Reddy.Vaka
Remember to always leap before you look. But always take the time to smell the tiny ads:
Free, earth friendly heat - from the CodeRanch trailboss