[jboss-user] [JBoss Seam] - Classpath question with Seam & Tomahawk

georgesberscheid do-not-reply at jboss.com
Wed Jan 24 11:36:18 EST 2007


looking at the examples that come with Seam and at what seam-gen does, it seems to be common practice to put all EJB3's and Seam components into a JAR file, all the JSF and view stuff into a WAR file and package both in an EAR.

The issues example uses Tomahawk which goes into .war/WEB-INF/lib. What do I do if one of my Seam components, a stateless session bean that's in the JAR file needs to hold the TreeModel for a Tomahawk Tree2 component?

Do I need to move the Tomahawk and Facelets libs to the EAR root (and add it to application.xml or jboss-app.xml as java modules) or do I rather put them into server/default/deploy/jbossweb-tomcat55.sar/jsf-libs?

Should I not use any EJB3 components with references to JSF classes and make them normal Seam JAVA_BEAN components that go into .war/WEB-INF/classes?

Any help on this would be greatly appreciated. 


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

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

More information about the jboss-user mailing list