[seam-commits] Seam SVN: r15555 - in branches/enterprise/WFK-2_1/examples: booking/booking-ejb/src/test/resources and 24 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Jun 7 09:15:50 EDT 2013


Author: rsmeral
Date: 2013-06-07 09:15:49 -0400 (Fri, 07 Jun 2013)
New Revision: 15555

Added:
   branches/enterprise/WFK-2_1/examples/contactlist/README.md
   branches/enterprise/WFK-2_1/examples/excel/README.md
   branches/enterprise/WFK-2_1/examples/itext/README.md
   branches/enterprise/WFK-2_1/examples/mail/README.md
   branches/enterprise/WFK-2_1/examples/messages/README.md
   branches/enterprise/WFK-2_1/examples/nestedbooking/README.md
   branches/enterprise/WFK-2_1/examples/openid/README.md
   branches/enterprise/WFK-2_1/examples/quartz/README.md
   branches/enterprise/WFK-2_1/examples/registration/README.md
   branches/enterprise/WFK-2_1/examples/remoting/chatroom/README.md
   branches/enterprise/WFK-2_1/examples/remoting/helloworld/README.md
   branches/enterprise/WFK-2_1/examples/restbay/README.md
   branches/enterprise/WFK-2_1/examples/seambay/README.md
   branches/enterprise/WFK-2_1/examples/seamdiscs/README.md
   branches/enterprise/WFK-2_1/examples/seampay/README.md
   branches/enterprise/WFK-2_1/examples/seamspace/README.md
   branches/enterprise/WFK-2_1/examples/tasks/README.md
   branches/enterprise/WFK-2_1/examples/ui/README.md
Removed:
   branches/enterprise/WFK-2_1/examples/contactlist/contactlist-tests/
   branches/enterprise/WFK-2_1/examples/contactlist/readme.txt
   branches/enterprise/WFK-2_1/examples/excel/readme.txt
   branches/enterprise/WFK-2_1/examples/itext/itext-tests/
   branches/enterprise/WFK-2_1/examples/itext/readme.txt
   branches/enterprise/WFK-2_1/examples/mail/mail-tests/
   branches/enterprise/WFK-2_1/examples/mail/readme.txt
   branches/enterprise/WFK-2_1/examples/messages/messages-tests/
   branches/enterprise/WFK-2_1/examples/messages/readme.txt
   branches/enterprise/WFK-2_1/examples/openid/readme.txt
   branches/enterprise/WFK-2_1/examples/quartz/quartz-tests/
   branches/enterprise/WFK-2_1/examples/quartz/readme.txt
   branches/enterprise/WFK-2_1/examples/registration/readme.txt
   branches/enterprise/WFK-2_1/examples/registration/registration-tests/
   branches/enterprise/WFK-2_1/examples/remoting/chatroom/readme.txt
   branches/enterprise/WFK-2_1/examples/remoting/helloworld/readme.txt
   branches/enterprise/WFK-2_1/examples/restbay/readme.txt
   branches/enterprise/WFK-2_1/examples/seambay/readme.txt
   branches/enterprise/WFK-2_1/examples/seamdiscs/readme.txt
   branches/enterprise/WFK-2_1/examples/seampay/readme.txt
   branches/enterprise/WFK-2_1/examples/seamspace/readme.txt
   branches/enterprise/WFK-2_1/examples/tasks/readme.txt
   branches/enterprise/WFK-2_1/examples/ui/readme.txt
Modified:
   branches/enterprise/WFK-2_1/examples/booking/README.md
   branches/enterprise/WFK-2_1/examples/booking/booking-ejb/src/test/resources/persistence.xml
   branches/enterprise/WFK-2_1/examples/booking/build.xml
   branches/enterprise/WFK-2_1/examples/contactlist/pom.xml
   branches/enterprise/WFK-2_1/examples/excel/pom.xml
   branches/enterprise/WFK-2_1/examples/groovybooking/pom.xml
   branches/enterprise/WFK-2_1/examples/hibernate/pom.xml
   branches/enterprise/WFK-2_1/examples/jee6/pom.xml
   branches/enterprise/WFK-2_1/examples/restbay/restbay-ejb/src/main/resources/META-INF/persistence.xml
   branches/enterprise/WFK-2_1/examples/seambay/seambay-ejb/src/test/java/org/jboss/seam/example/seambay/test/AuctionTest.java
   branches/enterprise/WFK-2_1/examples/seamspace/build.xml
   branches/enterprise/WFK-2_1/examples/seamspace/seamspace-ejb/src/main/resources/META-INF/persistence.xml
Log:
Examples: updated READMEs + cleanup

Modified: branches/enterprise/WFK-2_1/examples/booking/README.md
===================================================================
--- branches/enterprise/WFK-2_1/examples/booking/README.md	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/booking/README.md	2013-06-07 13:15:49 UTC (rev 15555)
@@ -29,9 +29,9 @@
 
     ant clean package
 
-2. Copy seam-booking.ear from directory booking-ear/target to the deployment directory of JBoss AS ($JBOSS_HOME/standalone/deployments by default)
+2. Copy `seam-booking.ear` from directory `booking-ear/target` to the deployment directory of JBoss AS `($JBOSS_HOME/standalone/deployments` by default)
 
-3. Open this URL in a web browser: http://localhost:8080/seam-booking 
+3. Open this URL in a web browser: `http://localhost:8080/seam-booking`
 
 
 Testing the example
@@ -60,7 +60,12 @@
 
     mvn clean test -Darquillian=jbossas-remote-7
 
+#### Using Ant
 
+In the example root directory run:
+
+    ant clean test
+
 Testing in JBDS
 ---------------
 ### Integration tests

Modified: branches/enterprise/WFK-2_1/examples/booking/booking-ejb/src/test/resources/persistence.xml
===================================================================
(Binary files differ)

Modified: branches/enterprise/WFK-2_1/examples/booking/build.xml
===================================================================
(Binary files differ)

Added: branches/enterprise/WFK-2_1/examples/contactlist/README.md
===================================================================
--- branches/enterprise/WFK-2_1/examples/contactlist/README.md	                        (rev 0)
+++ branches/enterprise/WFK-2_1/examples/contactlist/README.md	2013-06-07 13:15:49 UTC (rev 15555)
@@ -0,0 +1,59 @@
+Seam Contact List Example
+=========================
+
+This example demonstrates the Seam CRUD framework.
+
+Running the example
+-------------------
+
+To deploy the example to a running JBoss AS instance, follow these steps:
+
+1. In the example root directory run:
+
+    mvn clean install
+
+2. Set JBOSS_HOME environment property.
+
+3. In the contactlist-ear directory run:
+
+    mvn jboss-as:deploy
+
+4. Open this URL in a web browser: http://localhost:8080/seam-contactlist
+
+
+Testing the example
+-------------------
+
+This example is covered by integration tests. All tests use the following technologies:
+
+* __Arquillian__ -  as the framework for EE testing, for managing of container lifecycle and deployment of test archive,
+* __ShrinkWrap__ - to create the test archive (WAR).
+
+
+### Integration tests
+
+Integration tests cover core application logic and reside in the EJB module. In addition to Arquillian and ShrinkWrap, the integration tests also use:
+
+* __JUnitSeamTest__ - to hook into the JSF lifecycle and assert server-side state,
+* __ShrinkWrap Resolver__ - to resolve dependencies of the project for packaging in the test archive.
+
+The tests are executed in Maven's test phase. By default they are skipped and can be executed on JBoss AS with:
+
+    mvn clean test -Darquillian=jbossas-managed-7
+
+The `JBOSS_HOME` environment variable must be set and point to a JBoss AS instance directory.
+
+To test on a running server, use
+
+    mvn clean test -Darquillian=jbossas-remote-7
+
+
+Testing in JBDS
+---------------
+### Integration tests
+
+1. Open JBDS and start a configured instance of JBoss AS
+2. Import the example project and its submodules
+3. In the _Project Explorer_, select the EJB module project, then
+    1. Type `Ctrl+Alt+P` (_Select Maven Profiles_) and check `integration-tests` and `arq-jbossas-7-remote`
+    2. Right-click the module and select _Run As_ - _JUnit Test_

Modified: branches/enterprise/WFK-2_1/examples/contactlist/pom.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/contactlist/pom.xml	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/contactlist/pom.xml	2013-06-07 13:15:49 UTC (rev 15555)
@@ -100,8 +100,25 @@
                     </exclusion>
                 </exclusions>
             </dependency>
-		</dependencies>
-	</dependencyManagement>
+            
+            <!-- BOMs -->
+            <dependency>
+                <groupId>org.jboss.seam</groupId>
+                <artifactId>bom</artifactId>
+                <version>${project.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+            
+            <!-- Common provided dependencies -->
+            <dependency>
+                <groupId>commons-logging</groupId>
+                <artifactId>commons-logging</artifactId>
+                <version>${version.commons.logging}</version>
+                <scope>provided</scope>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
 
 	<build>
 		<pluginManagement>

Deleted: branches/enterprise/WFK-2_1/examples/contactlist/readme.txt
===================================================================
--- branches/enterprise/WFK-2_1/examples/contactlist/readme.txt	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/contactlist/readme.txt	2013-06-07 13:15:49 UTC (rev 15555)
@@ -1,17 +0,0 @@
-Seam Contact List Example
-=========================
-
-This example demonstrates the Seam CRUD framework.
-
-To deploy the example, follow these steps:
-
-* In the example root directory run:
-
-    mvn clean install
-
-* Set JBOSS_HOME environment property.
-
-* In the contactlist-ear directory run:
-
-    mvn jboss-as:deploy
-

Added: branches/enterprise/WFK-2_1/examples/excel/README.md
===================================================================
--- branches/enterprise/WFK-2_1/examples/excel/README.md	                        (rev 0)
+++ branches/enterprise/WFK-2_1/examples/excel/README.md	2013-06-07 13:15:49 UTC (rev 15555)
@@ -0,0 +1,59 @@
+Seam Excel Example
+==================
+
+This example demonstrates the Seam Excel functionality.
+
+Running the example
+-------------------
+
+To deploy the example to a running JBoss AS instance, follow these steps:
+
+1. In the example root directory run:
+
+    mvn clean install
+
+2. Set JBOSS_HOME environment property.
+
+3. In the excel-ear directory run:
+
+    mvn jboss-as:deploy
+
+4. Open this URL in a web browser: http://localhost:8080/seam-excel
+
+
+Testing the example
+-------------------
+
+This example is covered by integration tests. All tests use the following technologies:
+
+* __Arquillian__ -  as the framework for EE testing, for managing of container lifecycle and deployment of test archive,
+* __ShrinkWrap__ - to create the test archive (WAR).
+
+
+### Integration tests
+
+Integration tests cover core application logic and reside in the EJB module. In addition to Arquillian and ShrinkWrap, the integration tests also use:
+
+* __JUnitSeamTest__ - to hook into the JSF lifecycle and assert server-side state,
+* __ShrinkWrap Resolver__ - to resolve dependencies of the project for packaging in the test archive.
+
+The tests are executed in Maven's test phase. By default they are skipped and can be executed on JBoss AS with:
+
+    mvn clean test -Darquillian=jbossas-managed-7
+
+The `JBOSS_HOME` environment variable must be set and point to a JBoss AS instance directory.
+
+To test on a running server, use
+
+    mvn clean test -Darquillian=jbossas-remote-7
+
+
+Testing in JBDS
+---------------
+### Integration tests
+
+1. Open JBDS and start a configured instance of JBoss AS
+2. Import the example project and its submodules
+3. In the _Project Explorer_, select the EJB module project, then
+    1. Type `Ctrl+Alt+P` (_Select Maven Profiles_) and check `integration-tests` and `arq-jbossas-7-remote`
+    2. Right-click the module and select _Run As_ - _JUnit Test_

Modified: branches/enterprise/WFK-2_1/examples/excel/pom.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/excel/pom.xml	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/excel/pom.xml	2013-06-07 13:15:49 UTC (rev 15555)
@@ -14,7 +14,7 @@
         <module>excel-ear</module>
     </modules>
     
-    	<properties>
+    <properties>
 		<example.name>excel</example.name>
 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 		<maven.compiler.target>1.6</maven.compiler.target>

Deleted: branches/enterprise/WFK-2_1/examples/excel/readme.txt
===================================================================
--- branches/enterprise/WFK-2_1/examples/excel/readme.txt	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/excel/readme.txt	2013-06-07 13:15:49 UTC (rev 15555)
@@ -1,20 +0,0 @@
-Seam Excel Example
-==================
-
-This example demonstrates the Seam Excel functionality.
-
-To deploy the example, follow these steps:
-
-* In the example root directory run:
-
-    mvn clean install
-
-* Set JBOSS_HOME environment property.
-
-* Start the AS7 up.
-
-* Go to excel-ear directory and deply the sample by running:
- 
-   mvn jboss-as:deploy
-
-* Open this URL in a web browser: http://localhost:8080/seam-excel

Modified: branches/enterprise/WFK-2_1/examples/groovybooking/pom.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/groovybooking/pom.xml	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/groovybooking/pom.xml	2013-06-07 13:15:49 UTC (rev 15555)
@@ -44,12 +44,6 @@
                 <version>${project.version}</version>
                 <type>war</type>
             </dependency>
-            <dependency>
-                <groupId>org.jboss.seam.examples.groovybooking</groupId>
-                <artifactId>groovybooking-web</artifactId>
-                <version>${project.version}</version>
-                <classifier>classes</classifier>
-            </dependency>
             
             <!-- BOMs -->
             <dependency>

Modified: branches/enterprise/WFK-2_1/examples/hibernate/pom.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/hibernate/pom.xml	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/hibernate/pom.xml	2013-06-07 13:15:49 UTC (rev 15555)
@@ -47,12 +47,6 @@
                 <version>${project.version}</version>
                 <type>war</type>
             </dependency>
-            <dependency>
-                <groupId>org.jboss.seam.examples.hibernate</groupId>
-                <artifactId>hibernate-web</artifactId>
-                <version>${project.version}</version>
-                <classifier>classes</classifier>
-            </dependency>
             
             <!-- BOMs -->
             <dependency>

Added: branches/enterprise/WFK-2_1/examples/itext/README.md
===================================================================
--- branches/enterprise/WFK-2_1/examples/itext/README.md	                        (rev 0)
+++ branches/enterprise/WFK-2_1/examples/itext/README.md	2013-06-07 13:15:49 UTC (rev 15555)
@@ -0,0 +1,59 @@
+Seam iText Example
+==================
+
+This example demonstrates the Seam PDF functionality. 
+
+Running the example
+-------------------
+
+To deploy the example to a running JBoss AS instance, follow these steps:
+
+1. In the example root directory run:
+
+    mvn clean install
+
+2. Set JBOSS_HOME environment property.
+
+3. In the itext-ear directory run:
+
+    mvn jboss-as:deploy
+
+4. Open this URL in a web browser: http://localhost:8080/seam-itext
+
+
+Testing the example
+-------------------
+
+This example is covered by integration tests. All tests use the following technologies:
+
+* __Arquillian__ -  as the framework for EE testing, for managing of container lifecycle and deployment of test archive,
+* __ShrinkWrap__ - to create the test archive (WAR).
+
+
+### Integration tests
+
+Integration tests cover core application logic and reside in the EJB module. In addition to Arquillian and ShrinkWrap, the integration tests also use:
+
+* __JUnitSeamTest__ - to hook into the JSF lifecycle and assert server-side state,
+* __ShrinkWrap Resolver__ - to resolve dependencies of the project for packaging in the test archive.
+
+The tests are executed in Maven's test phase. By default they are skipped and can be executed on JBoss AS with:
+
+    mvn clean test -Darquillian=jbossas-managed-7
+
+The `JBOSS_HOME` environment variable must be set and point to a JBoss AS instance directory.
+
+To test on a running server, use
+
+    mvn clean test -Darquillian=jbossas-remote-7
+
+
+Testing in JBDS
+---------------
+### Integration tests
+
+1. Open JBDS and start a configured instance of JBoss AS
+2. Import the example project and its submodules
+3. In the _Project Explorer_, select the EJB module project, then
+    1. Type `Ctrl+Alt+P` (_Select Maven Profiles_) and check `integration-tests` and `arq-jbossas-7-remote`
+    2. Right-click the module and select _Run As_ - _JUnit Test_

Deleted: branches/enterprise/WFK-2_1/examples/itext/readme.txt
===================================================================
--- branches/enterprise/WFK-2_1/examples/itext/readme.txt	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/itext/readme.txt	2013-06-07 13:15:49 UTC (rev 15555)
@@ -1,19 +0,0 @@
-Seam iText Example
-==================
-
-This example demonstrates the Seam PDF functionality. 
-
-To deploy the example, follow these steps:
-
-* In the example root directory run:
-
-    mvn clean install
-
-* Set JBOSS_HOME environment property.
-
-* In the itext-ear directory run:
-
-    mvn jboss-as:deploy
-
-* Open this URL in a web browser: http://localhost:8080/seam-itext
-

Modified: branches/enterprise/WFK-2_1/examples/jee6/pom.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/jee6/pom.xml	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/jee6/pom.xml	2013-06-07 13:15:49 UTC (rev 15555)
@@ -45,7 +45,7 @@
                 <groupId>org.jboss.seam.examples</groupId>
                 <artifactId>jee6-web</artifactId>
                 <version>${project.version}</version>
-                <classifier>classes</classifier>
+                <type>war</type>
             </dependency>
             
             <!-- BOMs -->

Added: branches/enterprise/WFK-2_1/examples/mail/README.md
===================================================================
--- branches/enterprise/WFK-2_1/examples/mail/README.md	                        (rev 0)
+++ branches/enterprise/WFK-2_1/examples/mail/README.md	2013-06-07 13:15:49 UTC (rev 15555)
@@ -0,0 +1,61 @@
+Seam Mail Example
+==================
+
+This example demonstrates the Seam Mail functionality. It runs on JBoss AS as
+an EAR.
+
+Running the example
+-------------------
+
+To deploy the example to a running JBoss AS instance, follow these steps:
+
+1. In the example root directory run:
+
+    mvn clean install
+
+2. Set JBOSS_HOME environment property.
+
+3. In the mail-ear directory run:
+
+    mvn jboss-as:deploy
+
+4. Open this URL in a web browser: http://localhost:8080/seam-mail
+
+
+Testing the example
+-------------------
+
+This example is covered by integration tests. All tests use the following technologies:
+
+* __Arquillian__ -  as the framework for EE testing, for managing of container lifecycle and deployment of test archive,
+* __ShrinkWrap__ - to create the test archive (WAR).
+
+
+### Integration tests
+
+Integration tests cover core application logic and reside in the EJB module. In addition to Arquillian and ShrinkWrap, the integration tests also use:
+
+* __JUnitSeamTest__ - to hook into the JSF lifecycle and assert server-side state,
+* __ShrinkWrap Resolver__ - to resolve dependencies of the project for packaging in the test archive.
+
+The tests are executed in Maven's test phase. By default they are skipped and can be executed on JBoss AS with:
+
+    mvn clean test -Darquillian=jbossas-managed-7
+
+The `JBOSS_HOME` environment variable must be set and point to a JBoss AS instance directory.
+
+To test on a running server, use
+
+    mvn clean test -Darquillian=jbossas-remote-7
+
+
+Testing in JBDS
+---------------
+### Integration tests
+
+1. Open JBDS and start a configured instance of JBoss AS
+2. Import the example project and its submodules
+3. In the _Project Explorer_, select the EJB module project, then
+    1. Type `Ctrl+Alt+P` (_Select Maven Profiles_) and check `integration-tests` and `arq-jbossas-7-remote`
+    2. Right-click the module and select _Run As_ - _JUnit Test_
+

Deleted: branches/enterprise/WFK-2_1/examples/mail/readme.txt
===================================================================
--- branches/enterprise/WFK-2_1/examples/mail/readme.txt	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/mail/readme.txt	2013-06-07 13:15:49 UTC (rev 15555)
@@ -1,7 +0,0 @@
-Seam Mail Example
-==================
-
-This example demonstrates the Seam Mail functionality. It runs on JBoss AS as
-an EAR.
-
-example.name=mail

Added: branches/enterprise/WFK-2_1/examples/messages/README.md
===================================================================
--- branches/enterprise/WFK-2_1/examples/messages/README.md	                        (rev 0)
+++ branches/enterprise/WFK-2_1/examples/messages/README.md	2013-06-07 13:15:49 UTC (rev 15555)
@@ -0,0 +1,59 @@
+Seam Message List Example
+=========================
+
+This is a simple example of the use of @DataModel for the Seam tutorial. 
+
+Running the example
+-------------------
+
+To deploy the example to a running JBoss AS instance, follow these steps:
+
+1. In the example root directory run:
+
+    mvn clean install
+
+2. Set JBOSS_HOME environment property.
+
+3. In the messages-ear directory run:
+
+    mvn jboss-as:deploy
+
+4. Open this URL in a web browser: http://localhost:8080/seam-messages
+
+
+Testing the example
+-------------------
+
+This example is covered by integration tests. All tests use the following technologies:
+
+* __Arquillian__ -  as the framework for EE testing, for managing of container lifecycle and deployment of test archive,
+* __ShrinkWrap__ - to create the test archive (WAR).
+
+
+### Integration tests
+
+Integration tests cover core application logic and reside in the EJB module. In addition to Arquillian and ShrinkWrap, the integration tests also use:
+
+* __JUnitSeamTest__ - to hook into the JSF lifecycle and assert server-side state,
+* __ShrinkWrap Resolver__ - to resolve dependencies of the project for packaging in the test archive.
+
+The tests are executed in Maven's test phase. By default they are skipped and can be executed on JBoss AS with:
+
+    mvn clean test -Darquillian=jbossas-managed-7
+
+The `JBOSS_HOME` environment variable must be set and point to a JBoss AS instance directory.
+
+To test on a running server, use
+
+    mvn clean test -Darquillian=jbossas-remote-7
+
+
+Testing in JBDS
+---------------
+### Integration tests
+
+1. Open JBDS and start a configured instance of JBoss AS
+2. Import the example project and its submodules
+3. In the _Project Explorer_, select the EJB module project, then
+    1. Type `Ctrl+Alt+P` (_Select Maven Profiles_) and check `integration-tests` and `arq-jbossas-7-remote`
+    2. Right-click the module and select _Run As_ - _JUnit Test_

Deleted: branches/enterprise/WFK-2_1/examples/messages/readme.txt
===================================================================
--- branches/enterprise/WFK-2_1/examples/messages/readme.txt	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/messages/readme.txt	2013-06-07 13:15:49 UTC (rev 15555)
@@ -1,19 +0,0 @@
-Seam Message List Example
-=========================
-
-This is a simple example of the use of @DataModel for the Seam tutorial. 
-
-To deploy the example, follow these steps:
-
-* In the example root directory run:
-
-    mvn clean install
-
-* Set JBOSS_HOME environment property.
-
-* In the messages-ear directory run:
-
-    mvn jboss-as:deploy
-
-* Open this URL in a web browser: http://localhost:8080/seam-messages
-

Added: branches/enterprise/WFK-2_1/examples/nestedbooking/README.md
===================================================================
--- branches/enterprise/WFK-2_1/examples/nestedbooking/README.md	                        (rev 0)
+++ branches/enterprise/WFK-2_1/examples/nestedbooking/README.md	2013-06-07 13:15:49 UTC (rev 15555)
@@ -0,0 +1,62 @@
+Seam NestedBooking Example
+==========================
+
+This example demonstrates the use of Seam nested conversations and runs 
+on JBoss AS as an EAR.
+
+Running the example
+-------------------
+
+### Using Maven
+
+To deploy the example to a running JBoss AS instance, follow these steps:
+
+1. In the example root directory run:
+
+    mvn clean install
+
+2. Set JBOSS_HOME environment property.
+
+3. In the nestedbooking-ear directory run:
+
+    mvn jboss-as:deploy
+
+4. Open this URL in a web browser: http://localhost:8080/seam-nestedbooking
+
+Testing the example
+-------------------
+
+This example is covered by integration tests. All tests use the following technologies:
+
+* __Arquillian__ -  as the framework for EE testing, for managing of container lifecycle and deployment of test archive,
+* __ShrinkWrap__ - to create the test archive (WAR).
+
+
+### Integration tests
+
+Integration tests cover core application logic and reside in the EJB module. In addition to Arquillian and ShrinkWrap, the integration tests also use:
+
+* __JUnitSeamTest__ - to hook into the JSF lifecycle and assert server-side state,
+* __ShrinkWrap Resolver__ - to resolve dependencies of the project for packaging in the test archive.
+
+The tests are executed in Maven's test phase. By default they are skipped and can be executed on JBoss AS with:
+
+    mvn clean test -Darquillian=jbossas-managed-7
+
+The `JBOSS_HOME` environment variable must be set and point to a JBoss AS instance directory.
+
+To test on a running server, use
+
+    mvn clean test -Darquillian=jbossas-remote-7
+
+Testing in JBDS
+---------------
+### Integration tests
+
+1. Open JBDS and start a configured instance of JBoss AS
+
+2. Import the example project and its submodules
+
+3. In the _Project Explorer_, select the EJB module project, then
+    1. Type `Ctrl+Alt+P` (_Select Maven Profiles_) and check `integration-tests` and `arq-jbossas-7-remote`
+    2. Right-click the module and select _Run As_ - _JUnit Test_

Added: branches/enterprise/WFK-2_1/examples/openid/README.md
===================================================================
--- branches/enterprise/WFK-2_1/examples/openid/README.md	                        (rev 0)
+++ branches/enterprise/WFK-2_1/examples/openid/README.md	2013-06-07 13:15:49 UTC (rev 15555)
@@ -0,0 +1,59 @@
+Seam OpenId Example
+===================
+
+This is a trivial example of presentation how OpenId authentication is integrated with Seam security.
+
+Running the example
+-------------------
+
+To deploy the example to a running JBoss AS instance, follow these steps:
+
+1. In the example root directory run:
+
+    mvn clean install
+
+2. Set JBOSS_HOME environment property.
+
+3. In the openid-ear directory run:
+
+    mvn jboss-as:deploy
+
+4. Open this URL in a web browser: http://localhost:8080/seam-openid
+
+
+Testing the example
+-------------------
+
+This example is covered by integration tests. All tests use the following technologies:
+
+* __Arquillian__ -  as the framework for EE testing, for managing of container lifecycle and deployment of test archive,
+* __ShrinkWrap__ - to create the test archive (WAR).
+
+
+### Integration tests
+
+Integration tests cover core application logic and reside in the EJB module. In addition to Arquillian and ShrinkWrap, the integration tests also use:
+
+* __JUnitSeamTest__ - to hook into the JSF lifecycle and assert server-side state,
+* __ShrinkWrap Resolver__ - to resolve dependencies of the project for packaging in the test archive.
+
+The tests are executed in Maven's test phase. By default they are skipped and can be executed on JBoss AS with:
+
+    mvn clean test -Darquillian=jbossas-managed-7
+
+The `JBOSS_HOME` environment variable must be set and point to a JBoss AS instance directory.
+
+To test on a running server, use
+
+    mvn clean test -Darquillian=jbossas-remote-7
+
+
+Testing in JBDS
+---------------
+### Integration tests
+
+1. Open JBDS and start a configured instance of JBoss AS
+2. Import the example project and its submodules
+3. In the _Project Explorer_, select the EJB module project, then
+    1. Type `Ctrl+Alt+P` (_Select Maven Profiles_) and check `integration-tests` and `arq-jbossas-7-remote`
+    2. Right-click the module and select _Run As_ - _JUnit Test_

Deleted: branches/enterprise/WFK-2_1/examples/openid/readme.txt
===================================================================
--- branches/enterprise/WFK-2_1/examples/openid/readme.txt	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/openid/readme.txt	2013-06-07 13:15:49 UTC (rev 15555)
@@ -1,19 +0,0 @@
-Seam OpenId Example
-===================
-
-This is a trivial example of presentation how OpenId authentication is integrated with Seam security.
-
-To deploy the example, follow these steps:
-
-* In the example root directory run:
-
-    mvn clean install
-
-* Set JBOSS_HOME environment property.
-
-* In the openid-ear directory run:
-
-    mvn jboss-as:deploy
-
-* Open this URL in a web browser: http://localhost:8080/seam-openid
-

Added: branches/enterprise/WFK-2_1/examples/quartz/README.md
===================================================================
--- branches/enterprise/WFK-2_1/examples/quartz/README.md	                        (rev 0)
+++ branches/enterprise/WFK-2_1/examples/quartz/README.md	2013-06-07 13:15:49 UTC (rev 15555)
@@ -0,0 +1,58 @@
+Seam Quartz Example
+===================
+
+This example demonstrates the Seam Quartz Timer functionality.
+
+Running the example
+-------------------
+
+To deploy the example to a running JBoss AS instance, follow these steps:
+
+1. In the example root directory run:
+
+    mvn clean install
+
+2. Set JBOSS_HOME environment property.
+
+3. In the quartz-ear directory run:
+
+    mvn jboss-as:deploy
+
+4. Open this URL in a web browser: http://localhost:8080/seam-quartz
+
+
+Testing the example
+-------------------
+
+This example is covered by integration tests. All tests use the following technologies:
+
+* __Arquillian__ -  as the framework for EE testing, for managing of container lifecycle and deployment of test archive,
+* __ShrinkWrap__ - to create the test archive (WAR).
+
+
+### Integration tests
+
+Integration tests cover core application logic and reside in the EJB module. In addition to Arquillian and ShrinkWrap, the integration tests also use:
+
+* __JUnitSeamTest__ - to hook into the JSF lifecycle and assert server-side state,
+* __ShrinkWrap Resolver__ - to resolve dependencies of the project for packaging in the test archive.
+
+The tests are executed in Maven's test phase. By default they are skipped and can be executed on JBoss AS with:
+
+    mvn clean test -Darquillian=jbossas-managed-7
+
+The `JBOSS_HOME` environment variable must be set and point to a JBoss AS instance directory.
+
+To test on a running server, use
+
+    mvn clean test -Darquillian=jbossas-remote-7
+
+Testing in JBDS
+---------------
+### Integration tests
+
+1. Open JBDS and start a configured instance of JBoss AS
+2. Import the example project and its submodules
+3. In the _Project Explorer_, select the EJB module project, then
+    1. Type `Ctrl+Alt+P` (_Select Maven Profiles_) and check `integration-tests` and `arq-jbossas-7-remote`
+    2. Right-click the module and select _Run As_ - _JUnit Test_

Deleted: branches/enterprise/WFK-2_1/examples/quartz/readme.txt
===================================================================
--- branches/enterprise/WFK-2_1/examples/quartz/readme.txt	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/quartz/readme.txt	2013-06-07 13:15:49 UTC (rev 15555)
@@ -1,18 +0,0 @@
-Seam Quartz Example
-===================
-
-This example demonstrates the Seam Quartz Timer functionality.
-
-To deploy the example to JBoss AS, follow these steps:
-
-* In the example root directory run:
-
-    mvn clean install
-
-* Set JBOSS_HOME environment property.
-
-* In the quartz-ear directory run:
-
-    mvn jboss-as:deploy
-
-* Open this URL in a web browser: http://localhost:8080/seam-quartz

Added: branches/enterprise/WFK-2_1/examples/registration/README.md
===================================================================
--- branches/enterprise/WFK-2_1/examples/registration/README.md	                        (rev 0)
+++ branches/enterprise/WFK-2_1/examples/registration/README.md	2013-06-07 13:15:49 UTC (rev 15555)
@@ -0,0 +1,59 @@
+Seam Registration Example
+=========================
+
+This is a trivial example for the Seam tutorial.
+
+Running the example
+-------------------
+
+To deploy the example to a running JBoss AS instance, follow these steps:
+
+1. In the example root directory run:
+
+    mvn clean install
+
+2. Set JBOSS_HOME environment property.
+
+3. In the registration-ear directory run:
+
+    mvn jboss-as:deploy
+
+4. Open this URL in a web browser: http://localhost:8080/seam-registration
+
+
+Testing the example
+-------------------
+
+This example is covered by integration tests. All tests use the following technologies:
+
+* __Arquillian__ -  as the framework for EE testing, for managing of container lifecycle and deployment of test archive,
+* __ShrinkWrap__ - to create the test archive (WAR).
+
+
+### Integration tests
+
+Integration tests cover core application logic and reside in the EJB module. In addition to Arquillian and ShrinkWrap, the integration tests also use:
+
+* __JUnitSeamTest__ - to hook into the JSF lifecycle and assert server-side state,
+* __ShrinkWrap Resolver__ - to resolve dependencies of the project for packaging in the test archive.
+
+The tests are executed in Maven's test phase. By default they are skipped and can be executed on JBoss AS with:
+
+    mvn clean test -Darquillian=jbossas-managed-7
+
+The `JBOSS_HOME` environment variable must be set and point to a JBoss AS instance directory.
+
+To test on a running server, use
+
+    mvn clean test -Darquillian=jbossas-remote-7
+
+
+Testing in JBDS
+---------------
+### Integration tests
+
+1. Open JBDS and start a configured instance of JBoss AS
+2. Import the example project and its submodules
+3. In the _Project Explorer_, select the EJB module project, then
+    1. Type `Ctrl+Alt+P` (_Select Maven Profiles_) and check `integration-tests` and `arq-jbossas-7-remote`
+    2. Right-click the module and select _Run As_ - _JUnit Test_

Deleted: branches/enterprise/WFK-2_1/examples/registration/readme.txt
===================================================================
--- branches/enterprise/WFK-2_1/examples/registration/readme.txt	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/registration/readme.txt	2013-06-07 13:15:49 UTC (rev 15555)
@@ -1,19 +0,0 @@
-Seam Registration Example
-=========================
-
-This is a trivial example for the Seam tutorial.
-
-To deploy the example, follow these steps:
-
-* In the example root directory run:
-
-    mvn clean install
-
-* Set JBOSS_HOME environment property.
-
-* In the registration-ear directory run:
-
-    mvn jboss-as:deploy
-
-* Open this URL in a web browser: http://localhost:8080/seam-registration
-

Added: branches/enterprise/WFK-2_1/examples/remoting/chatroom/README.md
===================================================================
--- branches/enterprise/WFK-2_1/examples/remoting/chatroom/README.md	                        (rev 0)
+++ branches/enterprise/WFK-2_1/examples/remoting/chatroom/README.md	2013-06-07 13:15:49 UTC (rev 15555)
@@ -0,0 +1,59 @@
+Seam Chatroom Example
+=====================
+
+This example shows using Seam Remoting to subscribe and publish messages to JMS. 
+
+Running the example
+-------------------
+
+To deploy the example to a running JBoss AS instance, follow these steps:
+
+1. In the example root directory run:
+
+    mvn clean install
+
+2. Set JBOSS_HOME environment property.
+
+3. In the chatroom-ear directory run:
+
+    mvn jboss-as:deploy
+
+4. Open this URL in a web browser: http://localhost:8080/seam-chatroom
+
+
+Testing the example
+-------------------
+
+This example is covered by integration tests. All tests use the following technologies:
+
+* __Arquillian__ -  as the framework for EE testing, for managing of container lifecycle and deployment of test archive,
+* __ShrinkWrap__ - to create the test archive (WAR).
+
+
+### Integration tests
+
+Integration tests cover core application logic and reside in the EJB module. In addition to Arquillian and ShrinkWrap, the integration tests also use:
+
+* __JUnitSeamTest__ - to hook into the JSF lifecycle and assert server-side state,
+* __ShrinkWrap Resolver__ - to resolve dependencies of the project for packaging in the test archive.
+
+The tests are executed in Maven's test phase. By default they are skipped and can be executed on JBoss AS with:
+
+    mvn clean test -Darquillian=jbossas-managed-7
+
+The `JBOSS_HOME` environment variable must be set and point to a JBoss AS instance directory.
+
+To test on a running server, use
+
+    mvn clean test -Darquillian=jbossas-remote-7
+
+
+Testing in JBDS
+---------------
+### Integration tests
+
+1. Open JBDS and start a configured instance of JBoss AS
+2. Import the example project and its submodules
+3. In the _Project Explorer_, select the EJB module project, then
+    1. Type `Ctrl+Alt+P` (_Select Maven Profiles_) and check `integration-tests` and `arq-jbossas-7-remote`
+    2. Right-click the module and select _Run As_ - _JUnit Test_

Deleted: branches/enterprise/WFK-2_1/examples/remoting/chatroom/readme.txt
===================================================================
--- branches/enterprise/WFK-2_1/examples/remoting/chatroom/readme.txt	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/remoting/chatroom/readme.txt	2013-06-07 13:15:49 UTC (rev 15555)
@@ -1,23 +0,0 @@
-Seam Chatroom Example
-=====================
-
-This example shows using Seam Remoting to subscribe and publish messages to JMS. 
-
-To deploy the example, follow these steps:
-
-* In the example root directory run:
-
-    mvn clean install
-
-* Set JBOSS_HOME environment property.
-
-* In the chatroom-ear directory run:
-
-    mvn jboss-as:deploy
-
-* Open this URL in a web browser: http://localhost:8080/seam-chatroom
-
-To run functional tests for the example, run:
-
-    mvn verify -Pftest-jbossas     
-

Added: branches/enterprise/WFK-2_1/examples/remoting/helloworld/README.md
===================================================================
--- branches/enterprise/WFK-2_1/examples/remoting/helloworld/README.md	                        (rev 0)
+++ branches/enterprise/WFK-2_1/examples/remoting/helloworld/README.md	2013-06-07 13:15:49 UTC (rev 15555)
@@ -0,0 +1,59 @@
+Seam Remoting/Helloworld Example
+================================
+
+This example is a trivial example of Seam Remoting.
+
+Running the example
+-------------------
+
+To deploy the example to a running JBoss AS instance, follow these steps:
+
+1. In the example root directory run:
+
+    mvn clean install
+
+2. Set JBOSS_HOME environment property.
+
+3. In the helloworld-ear directory run:
+
+    mvn jboss-as:deploy
+
+4. Open this URL in a web browser: http://localhost:8080/seam-helloworld
+
+
+Testing the example
+-------------------
+
+This example is covered by integration tests. All tests use the following technologies:
+
+* __Arquillian__ -  as the framework for EE testing, for managing of container lifecycle and deployment of test archive,
+* __ShrinkWrap__ - to create the test archive (WAR).
+
+
+### Integration tests
+
+Integration tests cover core application logic and reside in the EJB module. In addition to Arquillian and ShrinkWrap, the integration tests also use:
+
+* __JUnitSeamTest__ - to hook into the JSF lifecycle and assert server-side state,
+* __ShrinkWrap Resolver__ - to resolve dependencies of the project for packaging in the test archive.
+
+The tests are executed in Maven's test phase. By default they are skipped and can be executed on JBoss AS with:
+
+    mvn clean test -Darquillian=jbossas-managed-7
+
+The `JBOSS_HOME` environment variable must be set and point to a JBoss AS instance directory.
+
+To test on a running server, use
+
+    mvn clean test -Darquillian=jbossas-remote-7
+
+
+Testing in JBDS
+---------------
+### Integration tests
+
+1. Open JBDS and start a configured instance of JBoss AS
+2. Import the example project and its submodules
+3. In the _Project Explorer_, select the EJB module project, then
+    1. Type `Ctrl+Alt+P` (_Select Maven Profiles_) and check `integration-tests` and `arq-jbossas-7-remote`
+    2. Right-click the module and select _Run As_ - _JUnit Test_

Deleted: branches/enterprise/WFK-2_1/examples/remoting/helloworld/readme.txt
===================================================================
--- branches/enterprise/WFK-2_1/examples/remoting/helloworld/readme.txt	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/remoting/helloworld/readme.txt	2013-06-07 13:15:49 UTC (rev 15555)
@@ -1,19 +0,0 @@
-Seam Remoting/Helloworld Example
-================================
-
-This example is a trivial example of Seam Remoting.
-
-To deploy the example, follow these steps:
-
-* In the example root directory run:
-
-    mvn clean install
-
-* Set JBOSS_HOME environment property.
-
-* In the helloworld-ear directory run:
-
-    mvn jboss-as:deploy
-
-* Open this URL in a web browser: http://localhost:8080/seam-helloworld
-

Added: branches/enterprise/WFK-2_1/examples/restbay/README.md
===================================================================
--- branches/enterprise/WFK-2_1/examples/restbay/README.md	                        (rev 0)
+++ branches/enterprise/WFK-2_1/examples/restbay/README.md	2013-06-07 13:15:49 UTC (rev 15555)
@@ -0,0 +1,61 @@
+Seam RestBay Example
+====================
+
+This example shows Seam/JAX-RS RESTful HTTP webservices integration.
+It runs an EAR.
+
+Running the example
+-------------------
+
+To deploy the example to a running JBoss AS instance, follow these steps:
+
+1. In the example root directory run:
+
+    mvn clean install
+
+2. Set JBOSS_HOME environment property.
+
+3. In the restbay-ear directory run:
+
+    mvn jboss-as:deploy
+
+4. Open this URL in a web browser: http://localhost:8080/seam-restbay
+
+
+Testing the example
+-------------------
+
+This example is covered by integration tests. All tests use the following technologies:
+
+* __Arquillian__ -  as the framework for EE testing, for managing of container lifecycle and deployment of test archive,
+* __ShrinkWrap__ - to create the test archive (WAR).
+
+
+### Integration tests
+
+Integration tests cover core application logic and reside in the EJB module. In addition to Arquillian and ShrinkWrap, the integration tests also use:
+
+* __JUnitSeamTest__ - to hook into the JSF lifecycle and assert server-side state,
+* __ShrinkWrap Resolver__ - to resolve dependencies of the project for packaging in the test archive.
+
+The tests are executed in Maven's test phase. By default they are skipped and can be executed on JBoss AS with:
+
+    mvn clean test -Darquillian=jbossas-managed-7
+
+The `JBOSS_HOME` environment variable must be set and point to a JBoss AS instance directory.
+
+To test on a running server, use
+
+    mvn clean test -Darquillian=jbossas-remote-7
+
+
+Testing in JBDS
+---------------
+### Integration tests
+
+1. Open JBDS and start a configured instance of JBoss AS
+2. Import the example project and its submodules
+3. In the _Project Explorer_, select the EJB module project, then
+    1. Type `Ctrl+Alt+P` (_Select Maven Profiles_) and check `integration-tests` and `arq-jbossas-7-remote`
+    2. Right-click the module and select _Run As_ - _JUnit Test_
+

Deleted: branches/enterprise/WFK-2_1/examples/restbay/readme.txt
===================================================================
--- branches/enterprise/WFK-2_1/examples/restbay/readme.txt	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/restbay/readme.txt	2013-06-07 13:15:49 UTC (rev 15555)
@@ -1,21 +0,0 @@
-Seam RestBay Example
-====================
-
-This example shows Seam/JAX-RS RESTful HTTP webservices integration.
-It runs an EAR.
-
-To deploy the example, follow these steps:
-
-* In the example root directory run:
-
-    mvn clean install
-
-* Set JBOSS_HOME environment property.
-
-* In the restbay-ear directory run:
-
-    mvn jboss-as:deploy
-
-* Open this URL in a web browser: http://localhost:8080/seam-restbay
-
-Note: this example doesn't have functional tests, because all functionality is verified in integration tests

Modified: branches/enterprise/WFK-2_1/examples/restbay/restbay-ejb/src/main/resources/META-INF/persistence.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/restbay/restbay-ejb/src/main/resources/META-INF/persistence.xml	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/restbay/restbay-ejb/src/main/resources/META-INF/persistence.xml	2013-06-07 13:15:49 UTC (rev 15555)
@@ -12,4 +12,4 @@
          <property name="jboss.entity.manager.factory.jndi.name" value="java:/restbayEntityManagerFactory"/>
       </properties>
    </persistence-unit>
-</persistence>
+</persistence>
\ No newline at end of file

Added: branches/enterprise/WFK-2_1/examples/seambay/README.md
===================================================================
--- branches/enterprise/WFK-2_1/examples/seambay/README.md	                        (rev 0)
+++ branches/enterprise/WFK-2_1/examples/seambay/README.md	2013-06-07 13:15:49 UTC (rev 15555)
@@ -0,0 +1,59 @@
+Seam SeamBay Example
+====================
+
+This example shows Seam/WS integration.
+
+Running the example
+-------------------
+
+To deploy the example to a running JBoss AS instance, follow these steps:
+
+1. In the example root directory run:
+
+    mvn clean install
+
+2. Set JBOSS_HOME environment property.
+
+3. In the seambay-ear directory run:
+
+    mvn jboss-as:deploy
+
+4. Open this URL in a web browser: http://localhost:8080/seam-seambay
+
+
+Testing the example
+-------------------
+
+This example is covered by integration tests. All tests use the following technologies:
+
+* __Arquillian__ -  as the framework for EE testing, for managing of container lifecycle and deployment of test archive,
+* __ShrinkWrap__ - to create the test archive (WAR).
+
+
+### Integration tests
+
+Integration tests cover core application logic and reside in the EJB module. In addition to Arquillian and ShrinkWrap, the integration tests also use:
+
+* __JUnitSeamTest__ - to hook into the JSF lifecycle and assert server-side state,
+* __ShrinkWrap Resolver__ - to resolve dependencies of the project for packaging in the test archive.
+
+The tests are executed in Maven's test phase. By default they are skipped and can be executed on JBoss AS with:
+
+    mvn clean test -Darquillian=jbossas-managed-7
+
+The `JBOSS_HOME` environment variable must be set and point to a JBoss AS instance directory.
+
+To test on a running server, use
+
+    mvn clean test -Darquillian=jbossas-remote-7
+
+
+Testing in JBDS
+---------------
+### Integration tests
+
+1. Open JBDS and start a configured instance of JBoss AS
+2. Import the example project and its submodules
+3. In the _Project Explorer_, select the EJB module project, then
+    1. Type `Ctrl+Alt+P` (_Select Maven Profiles_) and check `integration-tests` and `arq-jbossas-7-remote`
+    2. Right-click the module and select _Run As_ - _JUnit Test_

Deleted: branches/enterprise/WFK-2_1/examples/seambay/readme.txt
===================================================================
--- branches/enterprise/WFK-2_1/examples/seambay/readme.txt	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/seambay/readme.txt	2013-06-07 13:15:49 UTC (rev 15555)
@@ -1,19 +0,0 @@
-Seam SeamBay Example
-====================
-
-This example shows Seam/WS integration.
-
-To deploy the example, follow these steps:
-
-* In the example root directory run:
-
-    mvn clean install
-
-* Set JBOSS_HOME environment property.
-
-* In the seambay-ear directory run:
-
-    mvn jboss-as:deploy
-
-* Open this URL in a web browser: http://localhost:8080/seam-seambay
-

Modified: branches/enterprise/WFK-2_1/examples/seambay/seambay-ejb/src/test/java/org/jboss/seam/example/seambay/test/AuctionTest.java
===================================================================
--- branches/enterprise/WFK-2_1/examples/seambay/seambay-ejb/src/test/java/org/jboss/seam/example/seambay/test/AuctionTest.java	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/seambay/seambay-ejb/src/test/java/org/jboss/seam/example/seambay/test/AuctionTest.java	2013-06-07 13:15:49 UTC (rev 15555)
@@ -31,7 +31,9 @@
    {
       File[] libs = Maven.resolver().loadPomFromFile("pom.xml")
                 .importCompileAndRuntimeDependencies()
-                .resolve().withTransitivity().asFile();
+                // force resolve jboss-seam, because it is provided-scoped in the pom, but we need it bundled in the WAR
+                .resolve("org.jboss.seam:jboss-seam")
+                .withTransitivity().asFile();
 
       WebArchive war = ShrinkWrap.create(WebArchive.class, "seam-seambay.war")
                 .addPackages(true, "org.jboss.seam.example.seambay")

Added: branches/enterprise/WFK-2_1/examples/seamdiscs/README.md
===================================================================
--- branches/enterprise/WFK-2_1/examples/seamdiscs/README.md	                        (rev 0)
+++ branches/enterprise/WFK-2_1/examples/seamdiscs/README.md	2013-06-07 13:15:49 UTC (rev 15555)
@@ -0,0 +1,81 @@
+Seam SeamDiscs Example
+======================
+
+The seamdiscs example is a simple example built using the Seam Application 
+Framework which allows you to record your favourite albums and artists.  It 
+uses a mix of RichFaces and Trinidad components. It also uses the "inplace 
+editing" pattern; the same facelets are used for editing and display of data 
+(login to edit a disc or artist).
+
+The Seam-Trinidad integration (for now built into the example) provides a 
+`DataModel` which, when backed by a Seam Application Framework Query, provides 
+lazy loading of data for paging, sorting in the Persistence Context and strong 
+row keys.  If you want to use, you'll need to copy the classes in 
+`org.jboss.seam.trinidad` to your own project.  This may be offered as a 
+standalone jar in the Seam project in the future.  One caveat is that you must 
+ensure the rows property on the `<tr:table>` is the same as the `maxResults`
+property on the Query.
+
+Example
+
+    <tr:table value="#{discs.dataModel}" rows="#{discs.maxResults}">
+      <tr:column>
+         ...
+      </tr:column
+    </tr:table>
+
+
+Running the example
+-------------------
+
+To deploy the example to a running JBoss AS instance, follow these steps:
+
+1. In the example root directory run:
+
+    mvn clean install
+
+2. Set JBOSS_HOME environment property.
+
+3. In the seamdiscs-ear directory run:
+
+    mvn jboss-as:deploy
+
+4. Open this URL in a web browser: http://localhost:8080/seam-seamdiscs
+
+
+Testing the example
+-------------------
+
+This example is covered by integration tests. All tests use the following technologies:
+
+* __Arquillian__ -  as the framework for EE testing, for managing of container lifecycle and deployment of test archive,
+* __ShrinkWrap__ - to create the test archive (WAR).
+
+
+### Integration tests
+
+Integration tests cover core application logic and reside in the EJB module. In addition to Arquillian and ShrinkWrap, the integration tests also use:
+
+* __JUnitSeamTest__ - to hook into the JSF lifecycle and assert server-side state,
+* __ShrinkWrap Resolver__ - to resolve dependencies of the project for packaging in the test archive.
+
+The tests are executed in Maven's test phase. By default they are skipped and can be executed on JBoss AS with:
+
+    mvn clean test -Darquillian=jbossas-managed-7
+
+The `JBOSS_HOME` environment variable must be set and point to a JBoss AS instance directory.
+
+To test on a running server, use
+
+    mvn clean test -Darquillian=jbossas-remote-7
+
+
+Testing in JBDS
+---------------
+### Integration tests
+
+1. Open JBDS and start a configured instance of JBoss AS
+2. Import the example project and its submodules
+3. In the _Project Explorer_, select the EJB module project, then
+    1. Type `Ctrl+Alt+P` (_Select Maven Profiles_) and check `integration-tests` and `arq-jbossas-7-remote`
+    2. Right-click the module and select _Run As_ - _JUnit Test_

Deleted: branches/enterprise/WFK-2_1/examples/seamdiscs/readme.txt
===================================================================
--- branches/enterprise/WFK-2_1/examples/seamdiscs/readme.txt	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/seamdiscs/readme.txt	2013-06-07 13:15:49 UTC (rev 15555)
@@ -1,40 +0,0 @@
-Seam SeamDiscs Example
-======================
-
-The seamdiscs example is a simple example built using the Seam Application 
-Framework which allows you to record your favourite albums and artists.  It 
-uses a mix of RichFaces and Trinidad components. It also uses the "inplace 
-editing" pattern; the same facelets are used for editing and display of data 
-(login to edit a disc or artist).
-
-The Seam-Trinidad integration (for now built into the example) provides a 
-DataModel which, when backed by a Seam Application Framework Query, provides 
-lazy loading of data for paging, sorting in the Persistence Context and strong 
-row keys.  If you want to use, you'll need to copy the classes in 
-org.jboss.seam.trinidad to your own project.  This may be offered as a 
-standalone jar in the Seam project in the future.  One caveat is that you must 
-ensure the rows property on the <tr:table> is the same as the maxResults 
-property on the Query.
-
-Example
-
-<tr:table value="#{discs.dataModel}" rows="#{discs.maxResults}">
-  <tr:column>
-     ...
-  </tr:column
-</tr:table>
-
-
-This example runs as an EAR.
-
-To deploy the example, follow these steps:
-
-* In the example root directory run:
-
-    mvn clean install
-
-* Go to seamdiscs-ear:
-
-    mvn jboss-as:deploy
-
-* Open this URL in a web browser: http://localhost:8080/seam-seamdiscs

Added: branches/enterprise/WFK-2_1/examples/seampay/README.md
===================================================================
--- branches/enterprise/WFK-2_1/examples/seampay/README.md	                        (rev 0)
+++ branches/enterprise/WFK-2_1/examples/seampay/README.md	2013-06-07 13:15:49 UTC (rev 15555)
@@ -0,0 +1,59 @@
+Seam Seampay Example
+====================
+
+This example shows Seam's EJB3 timer support.
+
+Running the example
+-------------------
+
+To deploy the example to a running JBoss AS instance, follow these steps:
+
+1. In the example root directory run:
+
+    mvn clean install
+
+2. Set JBOSS_HOME environment property.
+
+3. In the seampay-ear directory run:
+
+    mvn jboss-as:deploy
+
+4. Open this URL in a web browser: http://localhost:8080/seam-seampay
+
+
+Testing the example
+-------------------
+
+This example is covered by integration tests. All tests use the following technologies:
+
+* __Arquillian__ -  as the framework for EE testing, for managing of container lifecycle and deployment of test archive,
+* __ShrinkWrap__ - to create the test archive (WAR).
+
+
+### Integration tests
+
+Integration tests cover core application logic and reside in the EJB module. In addition to Arquillian and ShrinkWrap, the integration tests also use:
+
+* __JUnitSeamTest__ - to hook into the JSF lifecycle and assert server-side state,
+* __ShrinkWrap Resolver__ - to resolve dependencies of the project for packaging in the test archive.
+
+The tests are executed in Maven's test phase. By default they are skipped and can be executed on JBoss AS with:
+
+    mvn clean test -Darquillian=jbossas-managed-7
+
+The `JBOSS_HOME` environment variable must be set and point to a JBoss AS instance directory.
+
+To test on a running server, use
+
+    mvn clean test -Darquillian=jbossas-remote-7
+
+
+Testing in JBDS
+---------------
+### Integration tests
+
+1. Open JBDS and start a configured instance of JBoss AS
+2. Import the example project and its submodules
+3. In the _Project Explorer_, select the EJB module project, then
+    1. Type `Ctrl+Alt+P` (_Select Maven Profiles_) and check `integration-tests` and `arq-jbossas-7-remote`
+    2. Right-click the module and select _Run As_ - _JUnit Test_

Deleted: branches/enterprise/WFK-2_1/examples/seampay/readme.txt
===================================================================
--- branches/enterprise/WFK-2_1/examples/seampay/readme.txt	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/seampay/readme.txt	2013-06-07 13:15:49 UTC (rev 15555)
@@ -1,19 +0,0 @@
-Seam Seampay Example
-====================
-
-This example shows Seam's EJB3 timer support.
-
-To deploy the example to JBoss AS, follow these steps:
-
-* In the example root directory, run:
-
-    mvn clean install
-
-* Set JBOSS_HOME environment property.
-
-* In the seampay-ear directory, run:
-
-    mvn jboss-as:deploy
-
-* Open this URL in a web browser: http://localhost:8080/seam-seampay
-

Added: branches/enterprise/WFK-2_1/examples/seamspace/README.md
===================================================================
--- branches/enterprise/WFK-2_1/examples/seamspace/README.md	                        (rev 0)
+++ branches/enterprise/WFK-2_1/examples/seamspace/README.md	2013-06-07 13:15:49 UTC (rev 15555)
@@ -0,0 +1,77 @@
+Seam Seamspace Example
+======================
+
+This example demonstrates Seam Security.
+
+Running the example
+-------------------
+
+### Using Maven
+
+To deploy the example to a running JBoss AS instance, follow these steps:
+
+1. In the example root directory run:
+
+    mvn clean install
+
+2. Set JBOSS_HOME environment property.
+
+3. In the seamspace-ear directory run:
+
+    mvn jboss-as:deploy
+
+4. Open this URL in a web browser: http://localhost:8080/seam-seamspace
+
+### Using Ant
+
+1. In the example root directory run:
+
+    ant clean package
+
+2. Copy `seam-seamspace.ear` from directory `booking-ear/target` to the deployment directory of JBoss AS (`$JBOSS_HOME/standalone/deployments` by default)
+
+3. Open this URL in a web browser: `http://localhost:8080/seam-seamspace`
+
+
+Testing the example
+-------------------
+
+This example is covered by integration tests. All tests use the following technologies:
+
+* __Arquillian__ -  as the framework for EE testing, for managing of container lifecycle and deployment of test archive,
+* __ShrinkWrap__ - to create the test archive (WAR).
+
+
+### Integration tests
+
+Integration tests cover core application logic and reside in the EJB module. In addition to Arquillian and ShrinkWrap, the integration tests also use:
+
+* __JUnitSeamTest__ - to hook into the JSF lifecycle and assert server-side state,
+* __ShrinkWrap Resolver__ - to resolve dependencies of the project for packaging in the test archive.
+
+The tests are executed in Maven's test phase. By default they are skipped and can be executed on JBoss AS with:
+
+    mvn clean test -Darquillian=jbossas-managed-7
+
+The `JBOSS_HOME` environment variable must be set and point to a JBoss AS instance directory.
+
+To test on a running server, use
+
+    mvn clean test -Darquillian=jbossas-remote-7
+
+#### Using Ant
+
+In the example root directory run:
+
+    ant clean test
+
+
+Testing in JBDS
+---------------
+### Integration tests
+
+1. Open JBDS and start a configured instance of JBoss AS
+2. Import the example project and its submodules
+3. In the _Project Explorer_, select the EJB module project, then
+    1. Type `Ctrl+Alt+P` (_Select Maven Profiles_) and check `integration-tests` and `arq-jbossas-7-remote`
+    2. Right-click the module and select _Run As_ - _JUnit Test_

Modified: branches/enterprise/WFK-2_1/examples/seamspace/build.xml
===================================================================
(Binary files differ)

Deleted: branches/enterprise/WFK-2_1/examples/seamspace/readme.txt
===================================================================
--- branches/enterprise/WFK-2_1/examples/seamspace/readme.txt	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/seamspace/readme.txt	2013-06-07 13:15:49 UTC (rev 15555)
@@ -1,35 +0,0 @@
-Seam Seamspace Example
-======================
-
-This example demonstrates Seam Security.
-
-To deploy the example to JBoss AS, follow these steps:
-
-* In the example root directory, run:
-
-    mvn clean install
-
-* Set JBOSS_HOME environment property.
-
-* In the seamspace-ear directory, run:
-
-    mvn jboss-as:deploy
-
-* Open this URL in a web browser: http://localhost:8080/seam-seamspace
-
-Or to deploy it using Ant:
-
-* In the example root directory run:
-
-    ant clean package
-
-* Or if you don't have have seam installation at standard location, 
-  you have to specify it via seam.dir property:
-
-    ant clean package -Dseam.dir=/path/to/your/seam/installation
-
-* Copy seam-booking.ear from directory booking-ear/target to the 
-  deployment directory of JBossAS ($JBOSS_HOME/standalone/deployments 
-  by default)
-
-* Open this URL in a web browser: http://localhost:8080/seam-booking

Modified: branches/enterprise/WFK-2_1/examples/seamspace/seamspace-ejb/src/main/resources/META-INF/persistence.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/seamspace/seamspace-ejb/src/main/resources/META-INF/persistence.xml	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/seamspace/seamspace-ejb/src/main/resources/META-INF/persistence.xml	2013-06-07 13:15:49 UTC (rev 15555)
@@ -12,4 +12,4 @@
          <property name="jboss.entity.manager.factory.jndi.name" value="java:/seamspaceEntityManagerFactory"/>
       </properties>
    </persistence-unit>
-</persistence>
+</persistence>
\ No newline at end of file

Added: branches/enterprise/WFK-2_1/examples/tasks/README.md
===================================================================
--- branches/enterprise/WFK-2_1/examples/tasks/README.md	                        (rev 0)
+++ branches/enterprise/WFK-2_1/examples/tasks/README.md	2013-06-07 13:15:49 UTC (rev 15555)
@@ -0,0 +1,59 @@
+Seam Tasks Example
+==================
+
+This example demonstrates the integration with RestEasy. It runs as an EAR.
+
+Running the example
+-------------------
+
+To deploy the example to a running JBoss AS instance, follow these steps:
+
+1. In the example root directory run:
+
+    mvn clean install
+
+2. Set JBOSS_HOME environment property.
+
+3. In the tasks-ear directory run:
+
+    mvn jboss-as:deploy
+
+4. Open this URL in a web browser: http://localhost:8080/seam-tasks
+
+
+Testing the example
+-------------------
+
+This example is covered by integration tests. All tests use the following technologies:
+
+* __Arquillian__ -  as the framework for EE testing, for managing of container lifecycle and deployment of test archive,
+* __ShrinkWrap__ - to create the test archive (WAR).
+
+
+### Integration tests
+
+Integration tests cover core application logic and reside in the EJB module. In addition to Arquillian and ShrinkWrap, the integration tests also use:
+
+* __JUnitSeamTest__ - to hook into the JSF lifecycle and assert server-side state,
+* __ShrinkWrap Resolver__ - to resolve dependencies of the project for packaging in the test archive.
+
+The tests are executed in Maven's test phase. By default they are skipped and can be executed on JBoss AS with:
+
+    mvn clean test -Darquillian=jbossas-managed-7
+
+The `JBOSS_HOME` environment variable must be set and point to a JBoss AS instance directory.
+
+To test on a running server, use
+
+    mvn clean test -Darquillian=jbossas-remote-7
+
+
+Testing in JBDS
+---------------
+### Integration tests
+
+1. Open JBDS and start a configured instance of JBoss AS
+2. Import the example project and its submodules
+3. In the _Project Explorer_, select the EJB module project, then
+    1. Type `Ctrl+Alt+P` (_Select Maven Profiles_) and check `integration-tests` and `arq-jbossas-7-remote`
+    2. Right-click the module and select _Run As_ - _JUnit Test_

Deleted: branches/enterprise/WFK-2_1/examples/tasks/readme.txt
===================================================================
--- branches/enterprise/WFK-2_1/examples/tasks/readme.txt	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/tasks/readme.txt	2013-06-07 13:15:49 UTC (rev 15555)
@@ -1,18 +0,0 @@
-Seam Tasks Example
-==================
-
-This example demonstrates the integration with RestEasy. It runs as an EAR.
-
-To deploy the example, follow these steps:
-
-* In the example root directory run:
-
-    mvn clean install
-
-* Set JBOSS_HOME environment property.
-
-* In the tasks-ear directory run:
-
-    mvn jboss-as:deploy
-
-* Open this URL in a web browser: http://localhost:8080/seam-tasks

Added: branches/enterprise/WFK-2_1/examples/ui/README.md
===================================================================
--- branches/enterprise/WFK-2_1/examples/ui/README.md	                        (rev 0)
+++ branches/enterprise/WFK-2_1/examples/ui/README.md	2013-06-07 13:15:49 UTC (rev 15555)
@@ -0,0 +1,59 @@
+Seam UI Example
+===============
+
+This is a simple example demonstrating Seam UI. 
+
+Running the example
+-------------------
+
+To deploy the example to a running JBoss AS instance, follow these steps:
+
+1. In the example root directory run:
+
+    mvn clean install
+
+2. Set JBOSS_HOME environment property.
+
+3. In the ui-ear directory run:
+
+    mvn jboss-as:deploy
+
+4. Open this URL in a web browser: http://localhost:8080/seam-ui
+
+
+Testing the example
+-------------------
+
+This example is covered by integration tests. All tests use the following technologies:
+
+* __Arquillian__ -  as the framework for EE testing, for managing of container lifecycle and deployment of test archive,
+* __ShrinkWrap__ - to create the test archive (WAR).
+
+
+### Integration tests
+
+Integration tests cover core application logic and reside in the EJB module. In addition to Arquillian and ShrinkWrap, the integration tests also use:
+
+* __JUnitSeamTest__ - to hook into the JSF lifecycle and assert server-side state,
+* __ShrinkWrap Resolver__ - to resolve dependencies of the project for packaging in the test archive.
+
+The tests are executed in Maven's test phase. By default they are skipped and can be executed on JBoss AS with:
+
+    mvn clean test -Darquillian=jbossas-managed-7
+
+The `JBOSS_HOME` environment variable must be set and point to a JBoss AS instance directory.
+
+To test on a running server, use
+
+    mvn clean test -Darquillian=jbossas-remote-7
+
+Testing in JBDS
+---------------
+### Integration tests
+
+1. Open JBDS and start a configured instance of JBoss AS
+2. Import the example project and its submodules
+3. In the _Project Explorer_, select the EJB module project, then
+    1. Type `Ctrl+Alt+P` (_Select Maven Profiles_) and check `integration-tests` and `arq-jbossas-7-remote`
+    2. Right-click the module and select _Run As_ - _JUnit Test_
+

Deleted: branches/enterprise/WFK-2_1/examples/ui/readme.txt
===================================================================
--- branches/enterprise/WFK-2_1/examples/ui/readme.txt	2013-06-06 16:13:29 UTC (rev 15554)
+++ branches/enterprise/WFK-2_1/examples/ui/readme.txt	2013-06-07 13:15:49 UTC (rev 15555)
@@ -1,21 +0,0 @@
-Seam UI Example
-===============
-
-This is a simple example demonstrating Seam UI. 
-
-To deploy the example, follow these steps:
-
-* In the example root directory run:
-
-    mvn clean install
-
-* Set JBOSS_HOME environment property.
-
-* Start up the server.
-
-* Change directory to ui-ear and deploy the sample:
-
-   mvn jboss-as:deploy
-
-* Open this URL in a web browser: http://localhost:8080/seam-ui
-



More information about the seam-commits mailing list