users@glassfish.java.net

Re: RE: Does having _at_EJB mean automatically add entries to ejb-jar.xml fil

From: <glassfish_at_javadesktop.org>
Date: Tue, 22 Sep 2009 08:15:46 PDT

Hi,
Thanks for the answer.
It's not that things don't work for me, I'm looking for what is different between using @EJB annotation and using the default context to look for the same local session interface.

So I think the difference is that when I'm not using @EJB annotation I have to manually add ejb-local-ref to the ejb-jar.xml file which happen automatically when deploying to glassfish, like you say.
I've look for ejb-jar.xml file and found it inside generated directory of glassfish domain1 folder. It means you right.

Ido.
[Message sent by forum member 'ido_ran' (ido.ran_at_gmail.com)]

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