users@glassfish.java.net

Re: Access EJB from another EAR

From: <glassfish_at_javadesktop.org>
Date: Thu, 20 Sep 2007 11:11:01 PDT

First, it would have to have a Remote interface. Local EJBs are only for code bundled within the same applcation.

Next, you can simply look up the EJB via it's remote interface name (com.example.SessionBeanRemote), or use any of the standard mechanisms for mapping a bean into the global JNDI.
[Message sent by forum member 'whartung' (whartung)]

http://forums.java.net/jive/thread.jspa?messageID=236262