5 Replies Latest reply on Feb 2, 2007 11:17 AM by Denis

    Classpath question with Seam & Tomahawk

    Georges Berscheid Newbie


      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.