There two different concepts here:

#1 Getting a javax.naming.InitialContext.  When using E-EJB3 within a WAR (in 
Tomcat for example), you must set the InitialContext properties as shown as 
JBoss uses its own JNDI implementation within E-EJB3 even within Tomcat.  We 
may fix this in the future.

#2 The lookup of the EJB which, by default uses the form:

"EJB-NAME/local" or "EJB-NAME/remote".  See the docs, WIKI, and release notes 
for more detail.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920682#3920682

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920682


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to