From seam-commits at lists.jboss.org Tue Mar 24 10:28:12 2009 Content-Type: multipart/mixed; boundary="===============3294081503126847646==" MIME-Version: 1.0 From: seam-commits at lists.jboss.org To: seam-commits at lists.jboss.org Subject: [seam-commits] Seam SVN: r10208 - in branches/enterprise/JBPAPP_4_3_FP01: doc/Seam_Reference_Guide/en-US and 1 other directory. Date: Tue, 24 Mar 2009 10:28:11 -0400 Message-ID: --===============3294081503126847646== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: manaRH Date: 2009-03-24 10:28:11 -0400 (Tue, 24 Mar 2009) New Revision: 10208 Removed: branches/enterprise/JBPAPP_4_3_FP01/readme.txt Modified: branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Confi= guration.xml branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/I18n.= xml branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Prefa= ce.xml branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Tutor= ial.xml Log: JBPAPP-1769 Modified: branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-U= S/Configuration.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Conf= iguration.xml 2009-03-24 14:05:09 UTC (rev 10207) +++ branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Conf= iguration.xml 2009-03-24 14:28:11 UTC (rev 10208) @@ -665,7 +665,7 @@ register.jsp ...]]> = - If we want to deploy Hibernate in a non-EE environment = like Tomcat or TestNG, we need to do a little + If we want to deploy Hibernate in a non-EE environment = like TestNG, we need to do a little bit more work. = @@ -685,142 +685,9 @@ ]]> = Of course, you'll also need to define a datasource. - = - A better alternative is to use JBoss Embedded to get access= to the EE APIs. - = = - Configuring Seam in Java SE, with JBoss Embedded - - JBoss Embedded lets you run EJB3 components outside the con= text of the Java EE 5 application server. This - is especially, but not only, useful for testing. - - The Seam booking example application includes a TestNG inte= gration test suite that runs on JBoss Embedded - via SeamTest. - - - - - - - - - - - The booking example application may even be deployed to Tom= cat. - - - - - - - - - - - - Installing Embedded JBoss - - - - Embedded JBoss must by installed into Tomcat for Seam applic= ations - to run correctly on it. Embedded JBoss only runs on JDK 1.5 = (not JDK 1.6). = - Embedded JBoss can be downloaded = - here. - The process for installing Embedded JBoss into Tomcat 6 is q= uite = - simple. First, you should copy the Embedded JBoss JARs and = - configuration files into Tomcat. = - - - - - - Copy all files and directories under the Embedd= ed JBoss bootstrap and - lib directories, except for= the jndi.properties file, - into the Tomcat lib directory. = - - - - - Remove the annotations-api.jar file from the Tomcat lib - directory. - - - - - Next, two configuration files need to be updated to add = Embedded JBoss-specific functionality. - - - - - - Add the Embedded JBoss listener to con= f/server.xml. It should appear after - all other listeners in the file. - - ]]> - - - - WAR file scanning should be enabled by adding a = listener to - conf/context.xml. - - ]]> - - - - For more configuration options, please see the Embedded = JBoss Tomcat integration = - wiki entry. - - - - - Packaging - - The archive structure of a WAR-based deployment on an s= ervlet engine like Tomcat will look something - like this: - - - - Most of the Seam example applications may be deployed t= o Tomcat by running ant - deploy.tomcat. - - - - - - Configuring jBPM in Seam Seam's jBPM integration is not installed by default, so you= 'll need to enable jBPM by installing a built-in component. You'll also need to explicitly list your p= rocess and pageflow definitions. In Modified: branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-U= S/I18n.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/I18n= .xml 2009-03-24 14:05:09 UTC (rev 10207) +++ branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/I18n= .xml 2009-03-24 14:28:11 UTC (rev 10208) @@ -31,7 +31,7 @@ To ensure that the application server receives the request = parameters in the correct encoding from client requests you ha= ve to = - configure the tomcat connector. If you use Tomcat or JBoss AS,= add + configure the JBoss-web connector. Add the URIEncoding=3D"UTF-8" attribute to the = connector configuration. For JBoss EAP AS 4.3 change = ${JBOSS_HOME}/server/production/deploy/jboss-web.depl= oyer/server.xml: Modified: branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-U= S/Preface.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Pref= ace.xml 2009-03-24 14:05:09 UTC (rev 10207) +++ branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Pref= ace.xml 2009-03-24 14:28:11 UTC (rev 10208) @@ -269,18 +269,6 @@ - - - Get started now! - - - Seam works in any Java EE application server, and = even works in Tomcat. If your environment - supports EJB 3.0, great! If it doesn't, no problem= , you can use Seam's built-in transaction - management with JPA or Hibernate3 for persistence.= Or, you can deploy JBoss Embedded in - Tomcat, and get full support for EJB 3.0. - - - = Modified: branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-U= S/Tutorial.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Tuto= rial.xml 2009-03-24 14:05:09 UTC (rev 10207) +++ branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Tuto= rial.xml 2009-03-24 14:28:11 UTC (rev 10208) @@ -39,8 +39,8 @@ First, make sure you have Ant correctly installed, with= $ANT_HOME and $JAVA_HOME set correctly. Next, mak= e sure you set the location of your EAP embedded JBoss AS installation in the build.properties fi= le in the root folder of your Seam - installation, predefined location is /var/lib/jboss-as. If= you haven't already done so, = - start JBoss AS now by typing bin/run.sh + installation, predefined location is /var/lib/jbossas. If = you haven't already done so, = + start JBoss EAP AS now by typing bin/run.sh or bin/run.bat in the root directory of= your JBoss installation. = Now, build and deploy the example by typing an= t deploy in the @@ -52,48 +52,6 @@ = = -
- Running the examples on Tomcat - - = - First, make sure you have Ant correctly installed, with $ANT_HOME and - $JAVA_HOME set correctly. Next, make su= re you set the location of your Tomcat = - 6.0 installation in the build.properties file in the root folder of your Seam - installation. You will need to follow the instructions in= embedded installation configuration section of this book - for installing JBoss Embedded on Tomcat 6.0. JBoss Embedd= ed is required to run the Seam demo - applications on Tomcat. (However, it is possible to use Se= am on Tomcat without JBoss Embedded.) - - - = - Now, build and deploy the example by typing ant t= omcat.deploy in the - examples/registration= directory. - - - Finally, start Tomcat. - - - Try it out by accessing - http://localhost:8080/jboss-seam-registration/ - with your web browser. - - - - When you deploy the example to Tomcat, any EJB3 components= will run inside the JBoss Embeddable EJB3 - container, a complete standalone EJB3 container environmen= t. - - -
- -
- Running the example tests - = - Most of the examples come with a suite of TestNG integrati= on tests. The easiest way to run the tests - is to run ant testexample inside the - examples/registration= directory. It is also possible - to run the tests inside your IDE using the TestNG plugin. - -
- =
Deleted: branches/enterprise/JBPAPP_4_3_FP01/readme.txt =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/enterprise/JBPAPP_4_3_FP01/readme.txt 2009-03-24 14:05:09 UTC = (rev 10207) +++ branches/enterprise/JBPAPP_4_3_FP01/readme.txt 2009-03-24 14:28:11 UTC = (rev 10208) @@ -1,55 +0,0 @@ -JBoss Seam FP - Contextual Component framework for Java EE 5 -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D -version 2.0.2-FP, May 2008 - -This software is distributed under the terms of the FSF Lesser Gnu -Public License (see lgpl.txt). = - -Get Up And Running Quick ------------------------- - = -1. Install JBoss AS 4.2.2.GA. The JEMS installer is no longer required fo= r EJB3 support. - -2. Edit the "build.properties" file and change jboss.home to your = - JBoss AS installation directory - -3. Start JBoss AS by typing "bin/run.sh" in the JBoss home directory - -4. In the "examples/booking" directory, type "ant deploy" and check = - for any error messages - = -5. Point your browser to = - - http://localhost:8080/seam-booking/ - = -6. Register an account, search for hotels, book a room... - -Running The TestNG Tests ------------------------- - -In the jboss-seam-x.x.x.x directory, type "ant testcore testreport" or "an= t testall testreport". - -Then checkout the report in the /test-report directory. - - -Running the TestNG Tests in Eclipse ------------------------------------ - -1. Install the TestNG Eclipse plugin from http://beust.com/eclipse - -2. Create the jboss-seam Eclipse project with the following directories - in your source path: - = - src/main/ - src/test/misc - = - And all jar files from the lib/ directory in your classpath. - = -3. Run src/test/misc/org/jboss/seam/test/testng.xml using the TestNG = - plugin. - -Learn more ----------- - -* Read the documentation in the "doc/reference/en" directory -* Read the online FAQ http://www.seamframework.org --===============3294081503126847646==--