Slightly off topic, but the core of what I want is being done in the source
code of Tomcat. I am trying to use the Apache Commons DBCP classes to create
my own connection pooling factory that I can use within my servlet container
(Tomcat) and also in stand alone programs.  I see how the Datasource that
Tomcat creates when you use its connection pooling is put into a JNDI
context, but I have scoured over the Tomcat source code and I have not been
able to find the code that is actually doing the context bindings and where
the information is being held.  Can someone point me in the right direction
of the source code to review and also any "advanced" JNDI tutorials that
teach you how to bind to a context that can be reused by external resources
(meaning another JVM).

Also, has anyone seen or done this type of solution before?

Thank you,

--
Marc Farrow

Reply via email to