tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <ben...@basistech.com>
Subject Populating JNDI entirely in Java code
Date Mon, 01 Apr 2013 16:02:31 GMT
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?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message