Is JNDI still used a lot, say, with Tomcat?
What do do?
I'm assuming now that if I create a Servlet or JSP and instantiate the class I created with the JNDI code as described below, things should work, right?
Context initCtx = new InitialContext();
Originally posted by Mike London:
Jaikiran,
It doesn't seem, from your reply, that you read the whole thread, but I am creating a JNDI connection as you suggested for JDBC.
Please enjoy this holographic presentation of our apocalyptic dilemma right after this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
|