I'm confused, I have a servlet container and I want to use the
datasource connection pooling offered by a jndi lookup. I have
looked through the jdo configuration help on the site and I
don't understand how a castor.jdo.Database works. I looked
through castor source code and I don't see anywhere that it is
implementing the java.sql.DataSource interface and if I
understand correctly that is the one that my container will
use when managing a pool of connections.

My whole difficulty here is I have a lot of application
reliance on ejb's interacting with my database and I need to
integrate a Castor solution without introducing yet another
config-file to keep track of. I read the JDOConfFactory
alternative and that would work great if I could find a way to
drop an instance of the java.sql.DataSource that I already
have into the creation of the castor.jdo.Database.

Any thoughts.

Bryan LaPlante

-------------------------------------------------
If you wish to unsubscribe from this list, please 
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to