How do you know how to create a JNDI string? I know that there must be a format and that units must mean something, but I could not find a good resource that explains them. For example: java:comp/env/wm/default. It is assumed that it connects to the WorkManager in Websphere with a default name. But what does "java", "comp", "env" mean? I know what wm / default means because the JNDI name is placed in the WorkManager, but what does the rest mean?
java:comp/env/wm/default
thank
J2EE "java:" . "comp" ""; , J2EE (- EJB), . "env" ""; , EJB, . "Wm/default" - . "wm" , "java: comp/env/myDefaultWM", web.xml/ejb-jar.xml < res --REF > myDefaultWM <- - > .
→ http://www.javaworld.com/javaworld/jw-01-2000/jw-01-howto.html → http://www.javaworld.com/javaworld/jw-04-2002/jw-0419-jndi.html