users@glassfish.java.net

Re: _at_Stateful, _at_Local, _at_Remote, _at_EJB... what else?

From: <glassfish_at_javadesktop.org>
Date: Fri, 08 May 2009 06:40:05 PDT

okay...

I'm using Glassfish 2.0.
The project is package to an .ear projet.
With JNDI lookup, no problem to access to the EJB.

here is the web.xml

--------------------------------------
 <ejb-ref>
  <ejb-ref-name>ClientSession</ejb-ref-name>
  <ejb-ref-type>Session</ejb-ref-type>
  <home>com.imagem.heredity.beans.ClientSessionRemote</home>
  <remote>com.imagem.heredity.beans.ClientSessionRemote</remote>
 </ejb-ref>
 <ejb-local-ref>
  <ejb-ref-name>ClientSessionHome</ejb-ref-name>
  <ejb-ref-type>Session</ejb-ref-type>
  <local-home>com.imagem.heredity.beans.ClientSessionLocal</local-home>
  <local>com.imagem.heredity.beans.ClientSessionLocal</local>
 </ejb-local-ref>
--------------------------------------
[Message sent by forum member 'pmrenaud' (pmrenaud)]

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