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