users@glassfish.java.net

question about _at_Local access in EAR file

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Sun, 9 Aug 2009 03:23:07 +0200

I have this EAR file,

web.war
ejb.jar
lib/ejb.client.jar


In my EJB I have beans I want to annotate as @Local ...

problem is: if I use @Local, the classes od web.war cannot find the
reference to the EJBs.. but if I keep the same code and packaging
structure and just chance the annotation to @Remote, it works :(

how can I use @Local to access EJBs between components in a same EAR ?

* this is an old question but somehow I never got the conclusion about
the problem.....