webtier@glassfish.java.net

Re: [webtier] EJB not injected in ManagedBean

From: <webtier_at_javadesktop.org>
Date: Mon, 19 Oct 2009 14:07:01 PDT

Some general thoughts,

I'm not sure whether you need to provide more syntax for accessing a remote EJB. If they are all deployed in the same Ear, are you not fetching the local interface? Try putting in the full JNDI path for the bean and specify the remote interface. Alternatively, try accessing the EJB as a local EJB to try and get something working and moving on from there and seeing which piece breaks first.

Is PujInstitutionFacade your remote interface? Also you never specified which EJB server you are using and JEE version.
[Message sent by forum member 'agibson77' (contact_at_andygibson.net)]

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