Hi everyone,

I'm trying to simulate tomcat's jndi mechanism, in order to test my DAO
objects with junit. Does anybody knows how to do that? It seems to me
that I need to bind the name java:/comp/env to a Context object and then
bind my jdbc name to this context. Is this the way tomcat put things
together? A Context object inside another and then the jdbc itself
inside this one?

Thnaks in advance!

Marcus Milanez

---------------------------------------------------------------------
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