Author: pete.muir(a)jboss.org
Date: 2009-09-23 18:00:04 -0400 (Wed, 23 Sep 2009)
New Revision: 3775
Modified:
examples/trunk/jsf/numberguess/readme.txt
Log:
update readme
Modified: examples/trunk/jsf/numberguess/readme.txt
===================================================================
--- examples/trunk/jsf/numberguess/readme.txt 2009-09-23 21:56:11 UTC (rev 3774)
+++ examples/trunk/jsf/numberguess/readme.txt 2009-09-23 22:00:04 UTC (rev 3775)
@@ -1,19 +1,27 @@
-Web Beans Numberguess Example (Servlet Container)
-=================================================
+Web Beans Numberguess Example
+==============================
This example demonstrates the use of Web Beans in a Servlet container
-environment (Tomcat 6 / Jetty 6) and in JBoss AS. No alterations are
-expected to be made to the Servlet container. All services are
+(Tomcat 6 / Jetty 6) and in as a non-EJB application JBoss AS. No alterations
+are expeccted to be made to the container. All services are
self-contained within the deployment.
-This example uses a Maven 2 build. Execute the following command to build the
-WAR. The WAR will will be located in the target directory after completion of
-the build.
+This example uses a Maven 2 build, and an ant script to deploy to JBoss AS.
+Execute the following command to build the WAR. The WAR will will be located
+in the target directory after completion of the build.
mvn
Now you're ready to deploy.
+== Deploying to JBoss AS
+
+Make sure you have set the path to JBoss AS in ../../local.build.properties, using
+jboss.home as the key.
+
+Now, type ant restart to deploy the application to JBoss AS. You can access it
+at
http://localhost:8080/webbeans-numberguess
+
== Deploying with an embedded servlet container
Run this command to execute the application in an embedded Jetty 6 container: