1 Reply Latest reply on Jun 2, 2009 7:35 AM by gonorrhea

    example code - how to get started?

      Hey,


      assuming I am new to Seam and I hardly ever worked with Java based web projects before. If I download the source code from this site: http://solutionsfit.com/blog/books/ How do I work with it? Do I create a Seam project with eclipse and replace the files or do I have to create a normal web project? Do I have to use netbeans to make the examples run because there's a folder named nbproject?


      I know this question might appear too easy for most of you, but I can't seem to be able to make the examples run. (Btw I'm using Glassfish.)



        • 1. Re: example code - how to get started?
          gonorrhea

          The examples covered throughout the book can be downloaded here. You can deploy the examples by first editing the included build.properties file to include the following settings:



               jboss.home - the location of your local JBoss instance (the examples have been tested against JBoss AS 4.2.3.GA)

               seam.home - the location of the latest Seam distribution (the examples have been tested against JBoss Seam 2.1.1.GA)



          Once you have made these changes simply execute ant main deploy.

          You will need to read the following section of the Seam 2.1 ref doc:  39.4.2. Changes needed for deployment to GlassFish


          With some tweaking, Seam apps will work in other JEE app servers but it's easiest to use JBoss AS (esp. if you need BPM integration), esp. if you're just learning...