Camilo Diaz wrote:
@EJB
private static myStatelessEJB ;
Is that a typo? Because, it's not going to compile. As for what it means semantically - it's trying to "inject" an
EJB into a member of some class. Even semantically, that injection on a static member is only allowed in application clients and for all other components, the injection of an EJB on static fields isn't allowed.
Ofcourse, whatever i said may not make sense, if you are beginning to learn J2EE or EJBs. So feel free to provide more context about your question