Some notes about JBoss and JNDI

I was confused while using the JNDI calls and could not figure out when to use the java: , java:comp, etc.. so, here are some notes that come from http://www.informit.com/articles/article.asp?p=384904
java:comp - available only to the application component associated with that particular context

java: - only visible to JBoss AS

other - remote clients (or when you are using EJBs.. there is a convention to map ejbs to ejb/NameOfEJB) Name of ejb-jar.xml usually maps to java:comp/env/Name
 

Add comment


Security code
Refresh


This website uses cookies to ensure you get the best experience on our website. Learn More.

Got It!