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

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: