- 
        1. Re: Question about remote jndijaikiran Oct 11, 2012 11:17 PM (in response to xin.zhang.song)Why are you using remote-naming for looking up EJBs within the server? You don't need any of that. Just do: Context ctx = new InitialContext(); ctx.lookup("java:global/HelloWorld/HelloWorld!com.broadvision.ejb.HelloWorldHome"); 
- 
        2. Re: Question about remote jndixin.zhang.song Oct 12, 2012 1:22 AM (in response to jaikiran)Thanks for you fast request! But If I have to use remote-naming for looking up EJBs within the server, what should I do ? 
- 
        3. Re: Question about remote jndijaikiran Oct 12, 2012 1:53 AM (in response to xin.zhang.song)remote-naming isn't meant for looking up EJBs deployed on the same server. 
- 
        4. Re: Question about remote jndixin.zhang.song Oct 12, 2012 2:12 AM (in response to jaikiran)Thanks jaikiran. BTW, I want to get some jar only have the "org.jboss.as.naming.InitialContextFactory" code, and the jar does not include any code about subsystem? Can you give me some clues? Thanks Xin 
- 
        5. Re: Question about remote jndijaikiran Oct 12, 2012 2:25 AM (in response to xin.zhang.song)Sorry, I don't understand your new question. Can you please explain a bit more? 
- 
        6. Re: Question about remote jndixin.zhang.song Oct 12, 2012 2:42 AM (in response to jaikiran)Sorry . I need to wrote the remote client to access EJB now, I just put ${JBOSS_HOME}/bin/client/jboss_client.jar to the Classpath,because of I use the "org.jboss.as.naming.InitialContextFactory" class in my code, I found that there is not any code about "org.jboss.as.naming.InitialContextFactory" in the jboss_client.jar. so I need the jar about "org.jboss.as.naming.InitialContextFactory". Can you give me some clues? Thanks Xin 
- 
        7. Re: Question about remote jndijaikiran Oct 12, 2012 2:58 AM (in response to xin.zhang.song)1 of 1 people found this helpfulXin Zhang wrote: I need to wrote the remote client to access EJB now, In that case, you'll have to follow this guide https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+client+using+JNDI 
- 
        8. Re: Question about remote jndixin.zhang.song Oct 12, 2012 3:31 AM (in response to jaikiran)Got it, Thanks jaikiran 
 
    