What do you mean only for a remote? This works just fine for me: ... <ejb-local-ref > <ejb-ref-name>ejb/FooLocal</ejb-ref-name> <ejb-ref-type>Entity</ejb-ref-type> <local-home>x.y.z.FooLocalHome</local-home> <local>x.y.z.FooLocal</local> <ejb-link>Foo</ejb-link> </ejb-local-ref> ...
Oskari Kettunen, Krocus Communications Oy Finland > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of > Anthony Geoghegan > Sent: 20. tammikuuta 2003 17:01 > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Calling an EJB from another EJB > > > > Why it is not possible to call an EJB from another EJB using > > lookup("java:comp/env/ejb/EJBsName") ? > > It is possible to do this, but only for a remote Bean. > > Best Regards, > Anthony Geoghegan. > J2EE Developer > CPS Ireland Ltd. > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, January 20, 2003 2:56 PM > Subject: [JBoss-user] Calling an EJB from another EJB > > > > Hi all. > > > > I wonder if it is possible for one of the developers of JBOSS to > > answer my > > question: > > > > Why it is not possible to call an EJB from another EJB using > > lookup("java:comp/env/ejb/EJBsName") ? > > > > I think this is a SUN's standart! Is it mandatory to declare an > > ejb-ref between the 2 EJBs > > > > in order to use lookup("java:comp/env/ejb/EJBsName") ? > > > > Why is that? > > > > Thanks, > > Vassilis > > > > > > ------------------------------------------------------- > > This SF.NET email is sponsored by: FREE SSL Guide from > Thawte are you > > planning your Web Server Security? Click here to get a FREE > Thawte SSL > > guide and find the answers to all your SSL security issues. > > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: FREE SSL Guide from > Thawte are you planning your Web Server Security? Click here > to get a FREE Thawte SSL guide and find the answers to all > your SSL security issues. > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user