----- Original Message ----- From: "Pid" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Wednesday, October 01, 2008 11:50 AM
Subject: Re: Dynamically adding a resource to a context



http://today.java.net/pub/a/today/2005/11/17/app-managed-datasources-with-commons-dbcp.html

Thanks PID... nice article... would like to have seen some code on JNDI for dropping a pool and making another one...
... wonder if anyone has tried this stuff on TC?

A QU...
With JNDI if you have a dB with a lot of access control... like say
   Mr X can access table 1,2,3,4 but not 5,6,7 etc

Do you set up a connection pool for each role? ... using JNDI?
Or does the servlet typically do access control and the dB pool is effectively admin access?

Wondering how you handle this stuff using JNDI... actually wondering how many veteran coders use JNDI for dB access? Allowing users to change passwords and that sort of stuff seems near impossible with JNDI... just wondering?

---------------------------------------------------------------------------
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---------------------------------------------------------------------------


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to