2 Replies Latest reply on Apr 18, 2012 5:42 PM by Erhard Siegl

    EJB injection in JSP in AS7?

    Wolfgang Knauf Master

      Hi all,

       

      just doing my first steps using AS7, and I am trying to migrate an simple sample application from previous JBoss versions to AS7.

      The first step works fine (EJB access in a servlet), but injection of EJBs in a JSP did not work.

       

      For AS 5.x, it worked by simply declaring an "@EJB" annotation in the JSP for remote interfaces. For local interfaces see https://issues.jboss.org/browse/JBAS-6054 (full ear file of sample app is attached).

       

      Is the feature of EJB injection in JSP supported for AS7? Or is there more configuration to be done?

       

      Best regards

       

      Wolfgang