[jboss-user] [Beginners Corner] - Re: Connection Pooling java.sql.Connection?
PeterJ
do-not-reply at jboss.com
Fri Dec 15 16:46:21 EST 2006
Define a *-ds.xml file for your database and place it in the deploy directory. There is a BD2/as400 example *-ds.xml file at ./docs/examples/jca/db2-400-ds.xml that you can use as a starting point. Then in your code look up the datasource using JNDI. JBoss will automatically pool the connections based on the settings in *-ds.xml.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994350#3994350
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994350
More information about the jboss-user
mailing list