[jboss-cvs] jboss-seam/examples/icefaces ...
Michael Yuan
michael.yuan at jboss.com
Mon Oct 1 12:15:50 EDT 2007
User: myuan
Date: 07/10/01 12:15:50
Added: examples/icefaces build.xml readme.txt
Log:
icefaces booking example
Revision Changes Path
1.11 +17 -12 jboss-seam/examples/icefaces/build.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: build.xml
===================================================================
RCS file: build.xml
diff -N build.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ build.xml 1 Oct 2007 16:15:50 -0000 1.11
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+
+<project name="Booking" default="deploy" basedir=".">
+
+ <!-- Naming -->
+ <property name="Name" value="Seam on JBoss ICEfaces Booking Example"/>
+ <property name="example.name" value="icefaces-booking"/>
+
+ <!-- Overrides -->
+ <property name="seam.ui.lib" value="yes"/>
+ <property name="seam.debug.lib" value="yes"/>
+
+ <fileset id="war.lib.extras" dir="lib">
+ <include name="icefaces*.jar" />
+ <include name="commons-digester*.jar" />
+ <include name="backport-util*.jar" />
+ <include name="commons-fileupload*.jar" />
+ </fileset>
+
+
+ <!-- Datasource -->
+ <property name="example.ds" value="icefaces-booking-ds.xml"/>
+
+ <import file="../build.xml"/>
+</project>
1.4 +71 -61 jboss-seam/examples/icefaces/readme.txt
(In the diff below, changes in quantity of whitespace are not shown.)
Index: readme.txt
===================================================================
RCS file: readme.txt
diff -N readme.txt
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ readme.txt 1 Oct 2007 16:15:50 -0000 1.4
@@ -0,0 +1,91 @@
+Seam Booking Example
+====================
+This example demonstrates the use of Icefaces with Seam in a Java EE 5
+environment.
+Transaction and persistence context management is handled by the
+EJB container.
+
+TODO:--
+1. redo web pages containing explanations when code is different eg: hotel
+ search action is done differently with icefaces
+2. get this running in Tomcat
+This example can also run in Tomcat with the JBoss Embeddable EJB3
+container.
+
+How to Build and Deploy the Example on JBoss AS
+-----------------------------------------------
+
+1. Download and install JBoss AS 4.0.5, with the EJB 3.0 profile
+
+2. Download the JBoss Seam distribution from:
+
+ http://labs.jboss.com/portal/jbossseam/download/index.html
+
+3. Edit the "build.properties" file and change jboss.home to your
+ JBoss AS installation directory
+
+4. Build Seam by running "ant" the Seam root directory
+
+5. Build and deploy the example by running "ant" in the Seam
+ "examples/icefaces" directory
+
+6. Start JBoss AS by typing "bin/run.sh" in the JBoss home directory
+
+7. Point your web browser to:
+
+ http://localhost:8080/icefaces-booking/
+
+ NOTE: The default build uses the HSQL database embedded in JBoss AS
+
+How to Build and Deploy the Example on Tomcat
+---------------------------------------------
+
+1. Download and install Tomcat
+
+ NOTE: Due to a bug, you must install Tomcat to a directory
+ path with no spaces. The example does not work in a default
+ install of Tomcat.
+
+2. Download the JBoss Seam distribution from:
+
+ http://labs.jboss.com/portal/jbossseam/download/index.html
+
+3. Edit the "build.properties" file and change tomcat.home to your
+ Tomcat installation directory
+
+4. Build Seam by running "ant" the Seam root directory
+
+5. Build and deploy the example by running "ant deploy.tomcat"
+ in the Seam "examples/booking" directory
+
+6. Start Tomcat
+
+7. Point your web browser to:
+
+ http://localhost:8080/jboss-seam-booking/
+
+Running The TestNG Tests
+------------------------
+
+In the "examples/booking" directory, type "ant testexample"
+
+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/
+ examples/booking/src/
+ examples/booking/resources/
+ embedded-ejb/conf/
+
+ And all jar files from the following directories in your classpath:
+
+ lib/
+ embedded-ejb/lib
+
+3. Run examples/booking/src/org/jboss/seam/example/booking/test/testng.xml
+ using the TestNG plugin.
More information about the jboss-cvs-commits
mailing list