[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Dynamically Creating JNDI Datasources

jdjasperson do-not-reply at jboss.com
Fri Feb 29 16:22:41 EST 2008


I'm working on a project where, at run time, my application needs to create a connection to a database that can be specified by the user.  I don't want to go through the process of creating infrastructure to manage connections and prefer to use JBoss to manage these connections.

Is it possible, i.e. does anyone know specifically how, to create a DataSource such that I can tell the app server to manage it (connection pooling, etc.).

Thanks for the assist!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133368#4133368

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133368



More information about the jboss-user mailing list