Author: dan.j.allen
Date: 2008-11-07 20:22:59 -0500 (Fri, 07 Nov 2008)
New Revision: 9530
Modified:
trunk/doc/Seam_Reference_Guide/en-US/Tutorial.xml
Log:
JBSEAM-3553
Modified: trunk/doc/Seam_Reference_Guide/en-US/Tutorial.xml
===================================================================
--- trunk/doc/Seam_Reference_Guide/en-US/Tutorial.xml 2008-11-08 01:14:45 UTC (rev 9529)
+++ trunk/doc/Seam_Reference_Guide/en-US/Tutorial.xml 2008-11-08 01:22:59 UTC (rev 9530)
@@ -46,14 +46,22 @@
<para>The examples are configured for use on JBoss 4.2. You'll need
to set <literal>jboss.home</literal>,
in the shared <literal>build.properties</literal> file in the
root folder of your Seam
- installation, to the location of your JBoss AS installation .
</para>
+ installation, to the location of your JBoss AS
installation.</para>
- <para> Once you've done that and started the application server,
you can build
- and deploy any example by typing <literal>ant
deploy</literal> in the
- the directory for that example. The examples all deploy to a URL
- like
<literal>/seam-<replaceable>example</replaceable></literal>.
- For the registration example, the URL would be <ulink
url="http://localhost:8080/seam-registration/">
-
<literal>http://localhost:8080/seam-registration/</literal></ulink>.
</para>
+ <para>Once you've set the location of JBoss AS and started the
application server, you can build and deploy
+ any example by typing <literal>ant deploy</literal> in the
the directory for that example. Any example
+ that is packaged as an EAR deploys to a URL like
+
<literal>/seam-<replaceable>example</replaceable></literal>, where
<replaceable>example</replaceable> is
+ the name of the example folder. For the registration example, the URL
would be <ulink
+ url="http://localhost:8080/seam-registration/">
+
<literal>http://localhost:8080/seam-registration/</literal></ulink>.</para>
+
+ <para>If, on the other hand, the example
+ gets packaged as a WAR, then it deploys to a URL like
+
<literal>/jboss-seam-<replaceable>example</replaceable>. Most of the
examples can be deployed as a WAR
+ to Tomcat with Embedded JBoss. Several of the examples only deploy as a
WAR. Those examples are
+ groovybooking, hibernate, jpa, and spring.
+ </para>
</section>
@@ -77,10 +85,12 @@
any example for Tomcat.
</para>
- <para>On Tomcat, the examples deploy to URLs like
+ <para>On Tomcat, the examples deploy to URLs like
<literal>/jboss-seam-<replaceable>example</replaceable></literal>,
so for the registration
example the URL would be <ulink
url="http://localhost:8080/jboss-seam-registration/">
-
<literal>http://localhost:8080/jboss-seam-registration/</literal></ulink>.
+
<literal>http://localhost:8080/jboss-seam-registration/</literal></ulink>.
The same is true
+ for examples that deploy as a WAR, as mentioned in the previous section.
+
</para>
</section>