3 Replies Latest reply on Oct 24, 2011 11:16 AM by gimbal2

    PersistenceUnit injection inside servlet running tomcat 6?????


      i've tried all possible combinations,

      public class Starter extends HttpServlet {
      private static final long serialVersionUID = 1L;
      EntityManagerFactory hr;
      all i wanna do is get an injected EntityManagerFactory, and it keeps getting ignored completely.
      my resource type is local not jta (it is tomcat after all)

      anyway i can get a sample of it running?