Author: dan.j.allen
Date: 2008-11-07 20:14:45 -0500 (Fri, 07 Nov 2008)
New Revision: 9529
Removed:
trunk/examples/spring/resources/WEB-INF/jboss-web.xml
Modified:
trunk/examples/booking/readme.txt
trunk/examples/groovybooking/readme.txt
trunk/examples/groovybooking/resources/WEB-INF/jboss-web.xml
trunk/examples/hibernate/readme.txt
trunk/examples/hibernate/resources-jboss/WEB-INF/jboss-web.xml
trunk/examples/jpa/readme.txt
trunk/examples/jpa/resources-jboss/WEB-INF/jboss-web.xml
trunk/examples/readme.txt
trunk/examples/spring/readme.txt
Log:
JBSEAM-3553
Modified: trunk/examples/booking/readme.txt
===================================================================
--- trunk/examples/booking/readme.txt 2008-11-08 00:59:54 UTC (rev 9528)
+++ trunk/examples/booking/readme.txt 2008-11-08 01:14:45 UTC (rev 9529)
@@ -1,5 +1,6 @@
Seam Booking Example
====================
+
This example demonstrates the use of Seam in a Java EE 5 environment.
Transaction and persistence context management is handled by the
EJB container.
Modified: trunk/examples/groovybooking/readme.txt
===================================================================
--- trunk/examples/groovybooking/readme.txt 2008-11-08 00:59:54 UTC (rev 9528)
+++ trunk/examples/groovybooking/readme.txt 2008-11-08 01:14:45 UTC (rev 9529)
@@ -10,4 +10,4 @@
"jbosswar.explode" to see your changes take effect. When editing Groovy files
from src/model, you need to run "ant jbosswar.explode jbosswar.restart"
-Access the application at
http://localhost:8080/seam-groovybooking
+Access the application at
http://localhost:8080/jboss-seam-groovybooking
Modified: trunk/examples/groovybooking/resources/WEB-INF/jboss-web.xml
===================================================================
--- trunk/examples/groovybooking/resources/WEB-INF/jboss-web.xml 2008-11-08 00:59:54 UTC
(rev 9528)
+++ trunk/examples/groovybooking/resources/WEB-INF/jboss-web.xml 2008-11-08 01:14:45 UTC
(rev 9529)
@@ -1,9 +1,8 @@
<jboss-web>
<class-loading java2ClassLoadingCompliance="false">
<loader-repository>
- seam.jboss.org:loader=seam-groovybooking
+ seam.jboss.org:loader=jboss-seam-groovybooking
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</loader-repository>
</class-loading>
- <context-root>/seam-groovybooking</context-root>
</jboss-web>
Modified: trunk/examples/hibernate/readme.txt
===================================================================
--- trunk/examples/hibernate/readme.txt 2008-11-08 00:59:54 UTC (rev 9528)
+++ trunk/examples/hibernate/readme.txt 2008-11-08 01:14:45 UTC (rev 9529)
@@ -9,7 +9,7 @@
* Install JBoss AS with the default profile
* ant jboss
* Start JBoss AS
- * Access the app at
http://localhost:8080/seam-hibernate/
+ * Access the app at
http://localhost:8080/jboss-seam-hibernate/
* ant jboss.undeploy
JBoss AS 4.0.5.GA:
@@ -17,7 +17,7 @@
* ant jboss405
* Deploy dist-jboss/jboss-seam-hibernate.war
* Start JBoss AS
- * Access the app at
http://localhost:8080/seam-hibernate/
+ * Access the app at
http://localhost:8080/jboss-seam-hibernate/
WebLogic 9.2:
* Install WebLogic 9.2
Modified: trunk/examples/hibernate/resources-jboss/WEB-INF/jboss-web.xml
===================================================================
--- trunk/examples/hibernate/resources-jboss/WEB-INF/jboss-web.xml 2008-11-08 00:59:54 UTC
(rev 9528)
+++ trunk/examples/hibernate/resources-jboss/WEB-INF/jboss-web.xml 2008-11-08 01:14:45 UTC
(rev 9529)
@@ -1,9 +1,8 @@
<jboss-web>
<class-loading java2ClassLoadingCompliance="false">
<loader-repository>
- seam.jboss.org:loader=seam-hibernate
+ seam.jboss.org:loader=jboss-seam-hibernate
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</loader-repository>
</class-loading>
- <context-root>/seam-hibernate</context-root>
</jboss-web>
Modified: trunk/examples/jpa/readme.txt
===================================================================
--- trunk/examples/jpa/readme.txt 2008-11-08 00:59:54 UTC (rev 9528)
+++ trunk/examples/jpa/readme.txt 2008-11-08 01:14:45 UTC (rev 9529)
@@ -9,7 +9,7 @@
* Install JBoss AS 4.2.0 GA
* ant jboss
* Start JBoss AS
- * Access the app at
http://localhost:8080/seam-jpa/
+ * Access the app at
http://localhost:8080/jboss-seam-jpa/
* ant jboss.undeploy
JBoss AS 4.0.5 (with or without EJB3):
@@ -17,7 +17,7 @@
* ant jboss405
* Deploy dist-jboss405/jboss-seam-jpa.war
* Start JBoss AS
- * Access the app at
http://localhost:8080/seam-jpa/
+ * Access the app at
http://localhost:8080/jboss-seam-jpa/
WebLogic 9.2:
* Install WebLogic 9.2
Modified: trunk/examples/jpa/resources-jboss/WEB-INF/jboss-web.xml
===================================================================
--- trunk/examples/jpa/resources-jboss/WEB-INF/jboss-web.xml 2008-11-08 00:59:54 UTC (rev
9528)
+++ trunk/examples/jpa/resources-jboss/WEB-INF/jboss-web.xml 2008-11-08 01:14:45 UTC (rev
9529)
@@ -1,9 +1,8 @@
<jboss-web>
<class-loading java2ClassLoadingCompliance="false">
<loader-repository>
- seam.jboss.org:loader=seam-jpa
+ seam.jboss.org:loader=jboss-seam-jpa
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</loader-repository>
</class-loading>
- <context-root>/seam-jpa</context-root>
</jboss-web>
Modified: trunk/examples/readme.txt
===================================================================
--- trunk/examples/readme.txt 2008-11-08 00:59:54 UTC (rev 9528)
+++ trunk/examples/readme.txt 2008-11-08 01:14:45 UTC (rev 9529)
@@ -137,9 +137,15 @@
Recall that ${example.name} is the name of the example folder unless the
folder begins with seam, in which the prefix "seam" is omitted. The
- context path is set in META-INF/application.xml for EAR deployments and
- WEB-INF/jboss-web.xml for WAR deployments.
+ context path is set in META-INF/application.xml for EAR deployments.
+ However, WAR deployments use a different naming convention for the context
+ path. If you deploy a WAR example, point your web browser to:
+
+
http://localhost:8080/jboss-seam-${example.name}
+
+ The WAR examples are groovybooking, jpa, hibernate, and spring
+
NOTE: The examples use the HSQL database embedded in JBoss AS
Modified: trunk/examples/spring/readme.txt
===================================================================
--- trunk/examples/spring/readme.txt 2008-11-08 00:59:54 UTC (rev 9528)
+++ trunk/examples/spring/readme.txt 2008-11-08 01:14:45 UTC (rev 9529)
@@ -5,4 +5,4 @@
as a WAR. It is deployed using the command "ant jbosswar" and undeployed using
the command "ant jbosswar.undeploy".
-Visit
http://localhost:8080/seam-spring
+Visit
http://localhost:8080/jboss-seam-spring
Deleted: trunk/examples/spring/resources/WEB-INF/jboss-web.xml
===================================================================
--- trunk/examples/spring/resources/WEB-INF/jboss-web.xml 2008-11-08 00:59:54 UTC (rev
9528)
+++ trunk/examples/spring/resources/WEB-INF/jboss-web.xml 2008-11-08 01:14:45 UTC (rev
9529)
@@ -1,3 +0,0 @@
-<jboss-web>
- <context-root>/seam-spring</context-root>
-</jboss-web>