8 Replies Latest reply on May 5, 2008 10:41 AM by nraghava

    ESB and EJB3 Annotations

    nraghava

      I have a sample HelloWorld EJB3 service that is deployed. From within my .esb archive action class I have a @EJB annotation to inject the HelloWorld service api. When I deploy the esb archive it deploys fine but the injection never happens.

      I modified my esb archive to do straight JNDI lookup of the HelloWorld service and it works fine. I wanted to know if this is by design i.e. you cannot use EJB3 anotations from within a esb archive (dosent make sense to be this way though) or if its a bug.

      Thanks