Does this scenario sound ok?

I want to create an ejb that will provide the initialization and admin routines
on a static db connection pool.

This ejb will have an initialization routine that will create the db connection
pool and place it into the InitialContext.

Following startup of the ejb server, an admin routine would be run that would
create/initialize this ejb that would then create the db connection pool making
it available for other beans to access.

Does this sound ok?

If there is a standard to adhere to for initializing db connections, I would be
interested in a URL that describes it.  I am aware of the jdbc objects for
"pooling" but what I want to know is the best way to initialize these in an ejb
server.

Thanks!

Evan Vaala

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to