users@glassfish.java.net

Re: Local Session Bean Call Exception in Glassfish

From: <glassfish_at_javadesktop.org>
Date: Thu, 19 Mar 2009 14:42:22 PDT

Hi,

My understanding is that LSBs do not have a JNDI name. Looking at the JNDI browsing window in the gf admin console, they are simply not there.

Here is a very easy way to do this.

So to invoke an LSB named SomeLocal I would do the following

----
@EJB 
private SomeLocal someLocal;
-------
then you can directly use:
somelocal.someBusinessMethod();
[Message sent by forum member 'hedgy102' (hedgy102)]
http://forums.java.net/jive/thread.jspa?messageID=338025