users@glassfish.java.net

Re: Dynamic DB connections

From: <glassfish_at_javadesktop.org>
Date: Mon, 14 Jun 2010 07:45:53 PDT

for an arbitrary incoming and outgoing connection to an EIS resource you should look at

http://java.sun.com/developer/technicalArticles/J2EE/connectorclient/resourceadapter.html

I am not sure if anyone has a JCA adapter to do what you want, so you will probably have to write your own. there are a few getting started examples around. once you get past the hello world stage they are not to hard to write.

creating a JNDI service provider may also work. they easy to write a basic one but might not meet all of your transactional and resource pooling needs.
[Message sent by forum member 'radix_zero']

http://forums.java.net/jive/thread.jspa?messageID=474207