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.).