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