3 Replies Latest reply on Feb 10, 2009 6:38 AM by Alessio Soldano

    Should @EJB work in Pojo's deployed as a WebService?

    Bryan Kearney Newbie

      I have a pojo which is being deployed as a servlet in a war file. The goal is to expose the pojo as a WS endpoint (Metro endpoint actually). If I add any J2EE annotations (@EJB or @Resource) they come back as null.

      Is the expectation that Pojos deployed should be able to use these annotations?

      -- bk