5 Replies Latest reply on Nov 21, 2006 2:41 AM by Gerald Quintana

    Component not found in War

    Gerald Quintana Newbie

      Hello,

      My application is structured as usual:
      MyApp.ear
      +- MyEjb.jar
      +- MyWeb.war

      When I place a component in the EJB Jar, Seam finds it perfectly. On the contrary, when I place it in the War, it doesn't see it (I looked for it in Seam traces when I deployed my app).

      My component is a simple java bean used for a presentation thing (no need for a Stateless session bean):

      @Name("myJavaBean")
      @Scope(ScopeType.STATELESS)
      public class MyJavaBean {
      (...)
      }


      This is why I would like it to be in the War. What should I do to tell Seam to look for components among the War classes as well?