users@glassfish.java.net

Re: Again an _at_Local Interface

From: <glassfish_at_javadesktop.org>
Date: Wed, 14 May 2008 02:15:40 PDT

Hello,

thank you for the link, but I already read the FAQ.
Sorry but I do not unterstand the FAQ POJO part.

Do I have to use the deployment descriptor? I know that
this is optional. I want to use annotations.

My POJO is not called from an EJB or Servlet or other
managed class. So I can't define the @EJB annotation.

I tried to define a name for the Bean I want to get
over JNDI:
@Stateless(name = "ExampleBean")

Then I tried to look it up with and without the java:comp/env prefix,
but it failed.
[Message sent by forum member 'marsias' (marsias)]

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