[jboss-user] [JBoss Seam] - Component not found in War

gquintana do-not-reply at jboss.com
Fri Nov 17 09:40:32 EST 2006


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?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986842#3986842

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986842



More information about the jboss-user mailing list