users@glassfish.java.net

Re: How to access an EJB Local Interface from another EJB on the same Server

From: <glassfish_at_javadesktop.org>
Date: Fri, 27 Jun 2008 09:37:41 PDT

It is my understanding that the Local interface is not accessible outside the application (i.e., outside the ear), even by other applications on the same server. It looks like you're trying to access the EJB from an application client, in which case you will need a Remote interfaces on the EJB in question.

"Local" doesn't mean server. It means that an application, so any other application, whether it's another .ear, a web app, or an application client, even if it's on the same box, will not be able to access the Local interface.
[Message sent by forum member 'jdlee' (jdlee)]

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