users@glassfish.java.net

Re: Accessing an EJB in an ear from a war

From: Witold Szczerba <pljosh.mail_at_gmail.com>
Date: Sat, 29 Dec 2012 12:28:59 +0100

Yes, you have to package everything into same ear or separate remote
interfaces and bundle them with other applications, so they can access
remote beans. The fact that this is all single JVM does not matter.

Regards,
Witold Szczerba
---
Sent from my mobile phone.
On Dec 28, 2012 3:18 PM, <forums_at_java.net> wrote:
> Hi, thank you for the response mvatkina! So does that mean local EJB access
> is only possible within an ear? I cannot have local access in our scenario
> described above (from VirtualWeb.war to an EJB in TestEar.ear)? It's the
> same
> Glassfish instance, same JVM...
>
> --
>
> [Message sent by forum member 'chris1234']
>
> View Post: http://forums.java.net/node/**893478<http://forums.java.net/node/893478>
>
>
>