2 Replies Latest reply on Aug 18, 2009 4:36 AM by lucio piccoli

    Injection of SLSB help

    lucio piccoli Newbie

      Hi all

      i am unable to get my SLSB to be injected into a form bean.

      I read all the threads on this topic and nothing seams to work (no pun intended).
      The only way to get the SLSB instance is thru the  Component.getInstance.

      Q. Why is this so?

      My SLSB class

      public class ITPBusinessImpl implements ITPBusiness{

      Using the Seam injection results in being null

      public class TestRequestFormAction
         ITPBusiness itpBusiness;

      Calling on Component works ok.

      itpBusiness = (ITPBusiness)Component.getInstance("ITPBusiness");

      Any help is  most appreciated.