summaryrefslogtreecommitdiffstats
path: root/sandbox/sebastien/java/vhost/samples/learning-more/implementation-bpel/helloworld-bpel-contribution/README
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-01-25 23:30:28 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-01-25 23:30:28 +0000
commit875e50908c2630d263661af492654cd44bef2d65 (patch)
tree30cc749cb9d25fd84b67fa086394735601782409 /sandbox/sebastien/java/vhost/samples/learning-more/implementation-bpel/helloworld-bpel-contribution/README
parent1456632c03944d54a5f059fe54e49b3014bc7fea (diff)
Sandbox to experiment with dynamic mass virtual hosting and running a different composite per vhost.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1063520 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/sebastien/java/vhost/samples/learning-more/implementation-bpel/helloworld-bpel-contribution/README')
-rw-r--r--sandbox/sebastien/java/vhost/samples/learning-more/implementation-bpel/helloworld-bpel-contribution/README31
1 files changed, 31 insertions, 0 deletions
diff --git a/sandbox/sebastien/java/vhost/samples/learning-more/implementation-bpel/helloworld-bpel-contribution/README b/sandbox/sebastien/java/vhost/samples/learning-more/implementation-bpel/helloworld-bpel-contribution/README
new file mode 100644
index 0000000000..c84dba22f4
--- /dev/null
+++ b/sandbox/sebastien/java/vhost/samples/learning-more/implementation-bpel/helloworld-bpel-contribution/README
@@ -0,0 +1,31 @@
+Hello World BPEL Sample
+======================================
+This sample demonstrates an SCA service implemented by a BPEL process.
+
+See http://tuscany.apache.org/documentation-2x/20-beta-samples-documentation.html
+for more information
+
+=============== OLD INFO ======================
+
+mkdir target\classes
+mkdir target\wsdl2java-source
+java -cp ..\..\lib\tuscany-sca-manifest.jar org.apache.tuscany.sdo.generate.XSD2JavaGenerator -targetDirectory target/wsdl2java-source -prefix HelloWorld -noContainment -noUnsettable src/main/resources/helloworld.wsdl
+java -cp ..\..\lib\tuscany-sca-manifest.jar org.apache.tuscany.tools.wsdl2java.generate.WSDL2JavaGenerator -targetDirectory target/wsdl2java-source src/main/resources/helloworld.wsdl
+unzip ..\..\lib\ode-dao-jpa-ojpa-derby-1.1.zip -d target\database
+javac -d target\classes -cp target\classes;..\..\lib\tuscany-sca-manifest.jar -sourcepath src\main\java;target\wsdl2java-source -target 1.5 -g -source 1.5 src\main\java\helloworld\BPELClient.java
+copy src\main\resources\* target\classes
+java -cp ..\..\lib\tuscany-sca-manifest.jar;target\classes;target\database helloworld.BPELClient
+
+and on *nix do
+
+mkdir target/classes
+mkdir target/wsdl2java-source
+java -cp ../../lib/tuscany-sca-manifest.jar org.apache.tuscany.sdo.generate.XSD2JavaGenerator -targetDirectory target/wsdl2java-source -prefix HelloWorld -noContainment -noUnsettable src/main/resources/helloworld.wsdl
+java -cp ../../lib/tuscany-sca-manifest.jar org.apache.tuscany.tools.wsdl2java.generate.WSDL2JavaGenerator -targetDirectory target/wsdl2java-source src/main/resources/helloworld.wsdl
+unzip ../../lib/ode-dao-jpa-ojpa-derby-1.1.zip -d target/database
+javac -d target/classes -cp target/classes;../../lib/tuscany-sca-manifest.jar -sourcepath src/main/java;target/wsdl2java-source -target 1.5 -g -source 1.5 src/main/java/helloworld/BPELClient.java
+cp src/main/resources/* target/classes
+java -cp ../../lib/tuscany-sca-manifest.jar:target/classes:target/database helloworld.BPELClient
+
+The sample will start an embedded BPEL engine, deploy a process and invoke it.
+