When embedding Tomcat, I'd like to create some objects purely from code -- I don't want to bother to express them as XML -- and then pick them up inside webapps. Now, calling enableNaming() on Tomcat sets up a bunch of environment, but does not actually create and JNDI objects. If I call enableNaming(), and then make JNDI calls before calling start(), should I expect that to work?
- Populating JNDI entirely in Java code Benson Margulies
- Re: Populating JNDI entirely in Java code Konstantin Kolinko
- Re: Populating JNDI entirely in Java code Benson Margulies