Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-177

@EJB injection on a field/method in a Servlet/Filter class' superclass doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.Beta2
    • 7.0.0.Beta1
    • None
    • None

      Consider the following servlet

      public class SampleServlet extends BaseServlet{
      
      ....
      }
      
      public class BaseServlet extends HttpServlet {
      
        @EJB
        private SomeEJB bean;
      ...
      }
      

      The @EJB injection on the super class doesn't take place and the field stays null.

              jaikiran Jaikiran Pai (Inactive)
              jaikiran Jaikiran Pai (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: