[overlord-commits] Overlord SVN: r77 - trunk/cdl/samples/jbossesb.

overlord-commits at lists.jboss.org overlord-commits at lists.jboss.org
Sun Jun 29 11:17:29 EDT 2008


Author: jeff.yuchang
Date: 2008-06-29 11:17:29 -0400 (Sun, 29 Jun 2008)
New Revision: 77

Added:
   trunk/cdl/samples/jbossesb/README.txt
   trunk/cdl/samples/jbossesb/client/
   trunk/cdl/samples/jbossesb/system/
Log:
* Refactor the client module, so that can be reused by broker example.


Copied: trunk/cdl/samples/jbossesb/README.txt (from rev 75, trunk/cdl/samples/jbossesb/purchasing/README.txt)
===================================================================
--- trunk/cdl/samples/jbossesb/README.txt	                        (rev 0)
+++ trunk/cdl/samples/jbossesb/README.txt	2008-06-29 15:17:29 UTC (rev 77)
@@ -0,0 +1,37 @@
+The Purchasing example.
+
+Required to run the Purchasing example:
+- ANT
+- Maven
+- JBoss AS 4.2.1 or higher with the JBoss ESB SAR deployment (jbossesb.sar). 
+
+Settings required to edit before running:
+
+File: system/pom.xml 
+- Update the "deploy.dir" to your JBossAS server directory.
+
+-- Notice Before jbossesb-rosetta.jar and jbossesb-config-model.jar get published in jboss maven repository, you need to install these two artifacts into 
+your local repository by using following commands:
+
+mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> 
+    -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging> 
+
+Here we are using jbossesb-rosetta 4.2.1 version, jbossesb-config-model 1.0.1 version.
+
+Running instructions:
+------------------------------------------------
+To run the purchasing, follow these steps:
+
+1 - run your JBoss AS - you will need to have the 4.2.1 or higher (with JBossESB installed)
+
+2 - from the $JBossAS, execute the command to start the ESB: "bin/run.sh", or "bin/run.bat" for windows.
+
+3 - from the $Purchasing/system execute the command to start the Hsql database: "ant startdb".
+
+4 - Open up another shell, from the $Purchasing/system, execute the command to deploy the "Purchasing system": "mvn install"
+* this should deploy the ESB archive to your JBoss AS server/default.
+
+5 - from the $Purchasing/client, execute the command to run the client: "ant runClient"
+    You will see the "<BuyResponse id="5"></BuyResponse>" in the client console.
+
+6 - you can from the $Purchasing/system to run "ant dbmanager" to open up the database browser to check the data.

Copied: trunk/cdl/samples/jbossesb/client (from rev 75, trunk/cdl/samples/jbossesb/purchasing/client)

Copied: trunk/cdl/samples/jbossesb/system (from rev 75, trunk/cdl/samples/jbossesb/purchasing/system)




More information about the overlord-commits mailing list