Re: Using local EJB interface from GWT's servlet

2008-09-16 Thread chris_wesdorp
Gregor, I will try the lookup with '/local', did not know how the local interface was named for JNDI and I could not see it in the JNDI browser in Glassfish. In the mean time I found the answer to my problems. The Dynamic Web Project was initially created with a web.xml with version 2.2. In the

Re: Using local EJB interface from GWT's servlet

2008-09-15 Thread gregor
Hi Chris, Are you sure you have declared a local as well as remote interface for your bean?. Currently I get the local interface for a EJB3 session bean in RPC servlet like so: public class SystemServiceImpl extends RemoteServiceServlet implements SystemService { private static org.apache.l

Using local EJB interface from GWT's servlet

2008-09-15 Thread chris_wesdorp
Hi, for a reason not yet clear to me the '@EJB' annotation does not work for the RemoteServiceServlet class. However, instead of using the EJB annotation the bean can be found using JNDI lookups. But why is it only possible to get the Remote interface? I have three projects: * one EJB project wh