We are using JDeveloper 11g. Both a Model and ViewController project that makes use of ADF fusion and what not.
My web-xml has an EJB reference for a stateful session EJB . I have a managed bean that's declared in faces-config.
I am trying to access a EJB from inside the managed bean.
I declare
@EJB (name ="LocationServicesEJB")
private LocationServicesEJB locationServices;
When accessing this in a method, the locationServices is null. I do not see any JNDI type problems in the console, so I imagine that it's not even bothering to lookup.
Do I need to enable injection or something? Or do I need to define 'locationServices' as managed property in my faces-config?
Please advise. Thanx