users@glassfish.java.net

RE: question about _at_Local access in EAR file

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Sun, 9 Aug 2009 11:58:31 -0400

sounds like a EJB2 calling a EJB3 Bean
works with
JNDI lookup to EJB3 session bean
EntityManager defined thru persistence-context (EJB3 PA) in deployment descriptor

Saludos
Martin Gainty
______________________________________________
Note de déni et de confidentialité
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




> Date: Sun, 9 Aug 2009 03:23:07 +0200
> From: fgaucho_at_gmail.com
> To: users_at_glassfish.dev.java.net
> Subject: question about @Local access in EAR file
>
> 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.....
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>

_________________________________________________________________
Get back to school stuff for them and cashback for you.
http://www.bing.com/cashback?form=MSHYCB&publ=WLHMTAG&crea=TEXT_MSHYCB_BackToSchool_Cashback_BTSCashback_1x1