diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-11 23:07:07 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-11 23:07:07 +0000 |
commit | 5559ef5edbf8d3616f7a4b497b2a459b0ee4082b (patch) | |
tree | 424dfa28917e6204d4fd24e4328d274f8d2d14d0 /sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp | |
parent | 3dd7e2c4da9c80b8182a2d04dc129a67aa7910df (diff) |
Moving 1.x branches
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835122 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp')
92 files changed, 910 insertions, 0 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/build.xml b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/build.xml new file mode 100644 index 0000000000..feef76481b --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/build.xml @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ -->
+<project name="samples" default="compile">
+ <property name="mainDir" value="../../.."/>
+ <path id="javac.classpath">
+ <fileset dir="${mainDir}/lib">
+ <include name="tuscany-runtime-incubating-M1.jar"/>
+ </fileset>
+ </path>
+ <path id="java.classpath">
+ <fileset dir="${mainDir}/lib">
+ <include name="tuscany-runtime-incubating-M1.jar"/>
+ </fileset>
+ <pathelement path="target/sample-companyweb.jar"/>
+ </path>
+
+ <target name="init">
+ <mkdir dir="target/classes"/>
+ </target>
+
+ <target name="compile" depends="init">
+ <javac srcdir="src/main/java" destdir="target/classes" debug="on" source="1.5" target="1.5">
+ <classpath refid="javac.classpath"/>
+ </javac>
+ <copy todir="target/classes">
+ <fileset dir="src/main/resources"/>
+ </copy>
+ <war destfile="target/sample-companyweb.war" webxml="src/main/webapp/WEB-INF/web.xml">
+ <classes dir="target/classes"/>
+ </war>
+ </target>
+
+ <target name="clean">
+ <delete quiet="true" includeemptydirs="true">
+ <fileset dir="target" excludes="sample-companyweb-incubating-M1.war"/>
+ </delete>
+ </target>
+</project>
diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/db.lck b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/db.lck Binary files differnew file mode 100644 index 0000000000..9f6b4b3d4b --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/db.lck diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/log/log.ctrl b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/log/log.ctrl Binary files differnew file mode 100644 index 0000000000..edbd775299 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/log/log.ctrl diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/log/log1.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/log/log1.dat Binary files differnew file mode 100644 index 0000000000..7e85ac8e8f --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/log/log1.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/log/logmirror.ctrl b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/log/logmirror.ctrl Binary files differnew file mode 100644 index 0000000000..edbd775299 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/log/logmirror.ctrl diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c10.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c10.dat Binary files differnew file mode 100644 index 0000000000..5d8ecaa10f --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c10.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c101.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c101.dat Binary files differnew file mode 100644 index 0000000000..0f79fa7574 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c101.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c111.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c111.dat Binary files differnew file mode 100644 index 0000000000..39d49e3d19 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c111.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c121.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c121.dat Binary files differnew file mode 100644 index 0000000000..2a4311779b --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c121.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c130.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c130.dat Binary files differnew file mode 100644 index 0000000000..64e3c18d62 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c130.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c141.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c141.dat Binary files differnew file mode 100644 index 0000000000..0632d04164 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c141.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c150.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c150.dat Binary files differnew file mode 100644 index 0000000000..d7541026f6 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c150.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c161.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c161.dat Binary files differnew file mode 100644 index 0000000000..6673bf1873 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c161.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c171.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c171.dat Binary files differnew file mode 100644 index 0000000000..c2a753cc5d --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c171.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c180.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c180.dat Binary files differnew file mode 100644 index 0000000000..cb9391aed1 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c180.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c191.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c191.dat Binary files differnew file mode 100644 index 0000000000..d3cf1d6364 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c191.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1a1.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1a1.dat Binary files differnew file mode 100644 index 0000000000..a7a2d536e9 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1a1.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1b1.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1b1.dat Binary files differnew file mode 100644 index 0000000000..19097e69e7 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1b1.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1c0.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1c0.dat Binary files differnew file mode 100644 index 0000000000..359525a31a --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1c0.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1d1.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1d1.dat Binary files differnew file mode 100644 index 0000000000..9f257df932 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1d1.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1e0.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1e0.dat Binary files differnew file mode 100644 index 0000000000..e43e52fb7f --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1e0.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1f1.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1f1.dat Binary files differnew file mode 100644 index 0000000000..7e6ee3b1e0 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1f1.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c20.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c20.dat Binary files differnew file mode 100644 index 0000000000..1be6390f06 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c20.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c200.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c200.dat Binary files differnew file mode 100644 index 0000000000..b15d56855c --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c200.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c211.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c211.dat Binary files differnew file mode 100644 index 0000000000..84b0022312 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c211.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c221.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c221.dat Binary files differnew file mode 100644 index 0000000000..63106a9523 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c221.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c230.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c230.dat Binary files differnew file mode 100644 index 0000000000..9975f27c1f --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c230.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c241.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c241.dat Binary files differnew file mode 100644 index 0000000000..835c645a16 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c241.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c251.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c251.dat Binary files differnew file mode 100644 index 0000000000..d3d6adf4fb --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c251.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c260.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c260.dat Binary files differnew file mode 100644 index 0000000000..8d7333df7d --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c260.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c271.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c271.dat Binary files differnew file mode 100644 index 0000000000..af722f7d73 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c271.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c281.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c281.dat Binary files differnew file mode 100644 index 0000000000..3972983c2e --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c281.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c290.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c290.dat Binary files differnew file mode 100644 index 0000000000..31577b8124 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c290.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2a1.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2a1.dat Binary files differnew file mode 100644 index 0000000000..0f700d13a7 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2a1.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2b1.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2b1.dat Binary files differnew file mode 100644 index 0000000000..1d6382fb3d --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2b1.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2c1.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2c1.dat Binary files differnew file mode 100644 index 0000000000..3bc60d886b --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2c1.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2d0.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2d0.dat Binary files differnew file mode 100644 index 0000000000..c542d3c91c --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2d0.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2e1.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2e1.dat Binary files differnew file mode 100644 index 0000000000..16abd20b5f --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2e1.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2f0.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2f0.dat Binary files differnew file mode 100644 index 0000000000..eb26be5932 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2f0.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c300.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c300.dat Binary files differnew file mode 100644 index 0000000000..1214f1df4b --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c300.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c31.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c31.dat Binary files differnew file mode 100644 index 0000000000..18c16f1123 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c31.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c311.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c311.dat Binary files differnew file mode 100644 index 0000000000..926cbf25b5 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c311.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c320.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c320.dat Binary files differnew file mode 100644 index 0000000000..07e7bc023c --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c320.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c331.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c331.dat Binary files differnew file mode 100644 index 0000000000..fd827f9dc2 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c331.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c340.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c340.dat Binary files differnew file mode 100644 index 0000000000..ca70319886 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c340.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c351.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c351.dat Binary files differnew file mode 100644 index 0000000000..8fbe2a527c --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c351.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c360.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c360.dat Binary files differnew file mode 100644 index 0000000000..dcf9c746e1 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c360.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c371.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c371.dat Binary files differnew file mode 100644 index 0000000000..6f21a840ea --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c371.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c380.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c380.dat Binary files differnew file mode 100644 index 0000000000..b512e8065f --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c380.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c391.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c391.dat Binary files differnew file mode 100644 index 0000000000..27006e95a1 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c391.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3a0.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3a0.dat Binary files differnew file mode 100644 index 0000000000..565dca97ac --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3a0.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3b1.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3b1.dat Binary files differnew file mode 100644 index 0000000000..36894c9818 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3b1.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3c0.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3c0.dat Binary files differnew file mode 100644 index 0000000000..d0c538aede --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3c0.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3d1.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3d1.dat Binary files differnew file mode 100644 index 0000000000..65bcec5527 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3d1.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3e0.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3e0.dat Binary files differnew file mode 100644 index 0000000000..bdab359420 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3e0.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3f1.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3f1.dat Binary files differnew file mode 100644 index 0000000000..dc2d278b57 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3f1.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c400.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c400.dat Binary files differnew file mode 100644 index 0000000000..3072709cec --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c400.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c41.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c41.dat Binary files differnew file mode 100644 index 0000000000..61086690f2 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c41.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c411.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c411.dat Binary files differnew file mode 100644 index 0000000000..ca551d8249 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c411.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c420.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c420.dat Binary files differnew file mode 100644 index 0000000000..f04de0840e --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c420.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c431.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c431.dat Binary files differnew file mode 100644 index 0000000000..398b1672cc --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c431.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c440.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c440.dat Binary files differnew file mode 100644 index 0000000000..af259d0872 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c440.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c451.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c451.dat Binary files differnew file mode 100644 index 0000000000..772a18c658 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c451.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c460.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c460.dat Binary files differnew file mode 100644 index 0000000000..505428362d --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c460.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c471.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c471.dat Binary files differnew file mode 100644 index 0000000000..484d0df42d --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c471.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c481.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c481.dat Binary files differnew file mode 100644 index 0000000000..faac073076 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c481.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c490.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c490.dat Binary files differnew file mode 100644 index 0000000000..7585319d21 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c490.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c4a1.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c4a1.dat Binary files differnew file mode 100644 index 0000000000..4fe8b786e3 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c4a1.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c51.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c51.dat Binary files differnew file mode 100644 index 0000000000..7fc7937b15 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c51.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c60.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c60.dat Binary files differnew file mode 100644 index 0000000000..d1fb08c946 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c60.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c71.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c71.dat Binary files differnew file mode 100644 index 0000000000..d4c2090a3b --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c71.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c81.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c81.dat Binary files differnew file mode 100644 index 0000000000..38b6ea6520 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c81.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c90.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c90.dat Binary files differnew file mode 100644 index 0000000000..a607a5969c --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c90.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/ca1.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/ca1.dat Binary files differnew file mode 100644 index 0000000000..19b4c9e340 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/ca1.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cb1.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cb1.dat Binary files differnew file mode 100644 index 0000000000..73dc986572 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cb1.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cc0.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cc0.dat Binary files differnew file mode 100644 index 0000000000..d1eef3bb56 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cc0.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cd1.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cd1.dat Binary files differnew file mode 100644 index 0000000000..c7e6db3ef7 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cd1.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/ce1.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/ce1.dat Binary files differnew file mode 100644 index 0000000000..8fd3bf17a8 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/ce1.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cf0.dat b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cf0.dat Binary files differnew file mode 100644 index 0000000000..332b3d9a8a --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cf0.dat diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/service.properties b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/service.properties new file mode 100644 index 0000000000..af9511d9c7 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/dastest/service.properties @@ -0,0 +1,39 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +#C:\apacheSVN\java\target\dastest +# ******************************************************************** +# *** Please do NOT edit this file. *** +# *** CHANGING THE CONTENT OF THIS FILE MAY CAUSE DATA CORRUPTION. *** +# ********************************************************************
+#Fri Feb 17 08:55:29 MST 2006
+SysschemasIndex2Identifier=225
+SyscolumnsIdentifier=144
+SysconglomeratesIndex1Identifier=49
+SysconglomeratesIdentifier=32
+SyscolumnsIndex2Identifier=177
+SysschemasIndex1Identifier=209
+SysconglomeratesIndex3Identifier=81
+SystablesIndex2Identifier=129
+SyscolumnsIndex1Identifier=161
+derby.serviceProtocol=org.apache.derby.database.Database
+SysschemasIdentifier=192
+derby.storage.propertiesId=16
+SysconglomeratesIndex2Identifier=65
+derby.serviceLocale=en_US
+SystablesIdentifier=96
+SystablesIndex1Identifier=113
diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/pom.xml b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/pom.xml new file mode 100644 index 0000000000..8b976d6051 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/pom.xml @@ -0,0 +1,86 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-sca</artifactId>
+ <version>1.0-incubating-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <artifactId>sample-company-das-webapp</artifactId>
+ <name>Apache Tuscany SCA Company Sample Web Client</name>
+ <packaging>war</packaging>
+
+ <dependencies>
+
+ <!-- runtime is need for webapp integration to include jar -->
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-host-webapp</artifactId>
+ <version>1.0-incubating-SNAPSHOT</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-implementation-java-runtime</artifactId>
+ <version>1.0-incubating-SNAPSHOT</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <!-- das & sdo -->
+ <dependency>
+ <groupId>org.apache.tuscany.das</groupId>
+ <artifactId>tuscany-das-rdb</artifactId>
+ <version>1.0-incubating-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sdo</groupId>
+ <artifactId>tuscany-sdo-impl</artifactId>
+ <version>1.0-incubating-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <!-- testing -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.2</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <!-- this will place the java source files inside the war -->
+ <build>
+ <finalName>${artifactId}</finalName>
+ <sourceDirectory>src/main/java</sourceDirectory>
+ <resources>
+ <resource>
+ <directory>src/main/java</directory>
+ </resource>
+ <resource>
+ <directory>src/main/resources</directory>
+ </resource>
+ </resources>
+ </build>
+</project>
diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/readme.html b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/readme.html new file mode 100644 index 0000000000..65a50de320 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/readme.html @@ -0,0 +1,199 @@ +<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ -->
+<html>
+
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
+<title>Tuscany RDB DAS Service client</title>
+
+<style>
+.code {font-size: 11px; color: #006699}
+.codebox {border: 1px solid #6699CC; background-color: #F1F7FA;padding:15px}
+.codebox2 {border: 1px solid #6699CC; background-color: #F1F7FA;padding:15px; width:85%}
+.codeboxW {border: 1px solid #6699CC; background-color: #FFFFFF;padding:15px}
+.codeboxB {background-color: #C9DBED;padding:1px 10px 10px 10px}
+</style>
+
+</head>
+
+
+
+
+<body>
+
+<h1>Tuscany RDB DAS Service client</h1>
+
+
+<h3>Introduction</h3>
+
+<p>
+This stand-alone sample application demonstrate how to consume the DAS Service exposed trough an SCA service.<br>
+The application starts with a canned database of Companies and their related Departments.<br>
+Through the web page interface, a user can consume the DAS Service to display the list of available companies.<br>
+The sample runs on Tomcat 5.5 and employs a Derby database accessed via a DataSource.
+</p>
+
+
+
+
+
+<h3>Running the sample</h3>
+
+<p>There are two options for running this sample:</p>
+
+<ol>
+ <li>Run from Tomcat configured by the build</li>
+ <li>Deploying the DASService.client WAR into a Tomcat you configure yourself</li>
+</ol>
+
+
+<h3>Running from Tomcat configured by the build</h3>
+
+<p>
+This sample application is deployed (along with the canned test database) to an instance of Tomcat as part of our automated sample
+testing.This means you can run the java/samples/testing/tomcat build (see java/das/samples/testing/tomcat/readme.htm ) and then access
+the application by pointing your browser to http://localhost:8080/companyweb-service-client/
+</p>
+
+
+
+<h3>Deploying the DASService.client WAR into a Tomcat you configure yourself</h3>
+
+<p>
+Alternatively, you can deploy the sample to your own configured Tomcat installation by following the instructions below.
+These instructions assume that you have either 1) downloaded the Tuscany sample distribution or 2) Downloaded the Tuscany
+source and run our maven build, see the following link to more details steps on how to build DAS Sample applications <a
+href="http://incubator.apache.org/tuscany/java_das_overview.html">http://incubator.apache.org/tuscany/java_das_overview.html</a>.
+</p>
+
+<p><b><u>Set Up:</u></b></p>
+
+
+<ol>
+ <li>Download and install the most recent stable version of Tomcat 5.5. You can find it here: <a
+ href="http://tomcat.apache.org/download-55.cgi">http://tomcat.apache.org/download-55.cgi</a></li>
+ <li>Download the most recent official release of Derby from here: <a href="http://db.apache.org/derby/index.html">http://db.apache.org/derby/index.html</a>.
+ The only file you’ll need from this download is derby.jar</li>
+ <li>Stop Tomcat</li>
+ <li>Copy derby.jar (from the derby distribution) to {Tomcat_Home}/common/lib:</li>
+ <li>Add the sample war file to {Tomcat_Home}/webapps</li>
+ <ol start=1 type=a>
+ <li>sample-das-service-client-xxx.war (e.g.sample-das-service-client-1.0-incubator-SNAPSHOT.war)</li>
+ </ol>
+ <li>Install the canned Derby database to Tomcat: </li>
+ <ol start=1 type=a>
+ <li>First, create a new directory named “Databases” to hold the sample database. Create {Tomcat_Home}/Databases</li>
+ <li>Copy the <b>dastest</b> folder (and all its contents) from {build directory root OR
+ where samples where unzipped}/java/das/samples/DASService.client to {Tomcat_Home}/Databases.<br>
+ <br>
+ <b>NOTE</b>: If you are running this from a sample distribution, the canned database is available in the
+ distribution, inside the databases directory. </li>
+ </ol>
+ <li>Define a DataSource by adding a datasource definition to {Tomcat_Home}/conf/server.xml.</li>
+ <ol start=1 type=a>
+ <li>Find the end-of-section marker </GlobalNamingResources> and add the following lines just above it:
+ <p>
+ <div class="codebox2">
+ <pre>
+ <!-- Global Datasource for Derby dastest database -->
+ <Resource name="jdbc/dastest"
+ type="javax.sql.DataSource" auth="Container"
+ description="Derby database for DAS Company sample"
+ maxActive="100" maxIdle="30" maxWait="10000"
+ username="" password=""
+ driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
+ url="jdbc:derby:{absolute path}Databases/dastest"/>
+ </pre>
+ </div>
+ </p>
+ <p><b>Requirement</b>:You must include the absolute path to the “Databases” directory in the above url attribute. Fore example:</p>
+ <p><pre> url="jdbc:derby:c:\apache-tomcat-5.5.17\Databases/dastest"</pre></p>
+ </li>
+ </ol>
+ <li><p>Start tomcat and point your browser to: <a href="http://localhost:8080/sample-das-service-client-%7bversion%20tag%7d/">http://localhost:8080/sample-das-service-client-{version
+ tag}/</a>. Example:</p>
+ <p><pre> http://localhost:8080/sample-das-service-client-1.0-incubator-SNAPSHOT/</pre></p>
+
+ </li>
+
+</ol>
+
+
+
+
+<h3>Sample Architecture</h3>
+
+<p>This is a simple, single-page, web application to consume DAS exposed as an SCA service.</p>
+<p>The main components of this application are:</p>
+
+<ul type=disc>
+ <li>The SCA DAS Service</li>
+ <li>SDO</li>
+ <li>Company.jsp</li>
+ <li>The canned Derby database</li>
+</ul>
+
+
+<p>The <b>Company.jsp</b> directly invoke the DAS Service to get a list of companies available and then iterate trough the SDO data graphs and manipulate SDO directly to display data</p>
+
+<p>The canned <b>Derby database</b> comes preloaded with Companies and related Departments. The Derby database instance is a simple file folder.</p>
+
+<p>The <b>SCA DAS Service</b> accepts directives (commands) and reads and writes to the derby database instance appropriately using DAS as the service implementation.</p>
+
+
+
+<h3>Consuming the DAS service</h3>
+
+<p>First, note that the application have dependencies on the DAS Service:</p>
+
+
+<p>
+<div class="codebox2">
+<pre>
+<!-- DAS Service -->
+<dependency>
+ <groupId>org.apache.tuscany.das.samples</groupId>
+ <artifactId>sample-das-service</artifactId>
+ <version>${pom.version}</version>
+</dependency>
+</pre>
+</div>
+</p>
+
+<br>
+<p>And the SCDL references the service:</p>
+
+<p>
+<div class="codebox2">
+<pre>
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" name="DASServiceComposite">
+ <component name="DASServiceComponent">
+ <implementation.composite name="DASServiceComposite" jarLocation="lib/sample-das-service-1.0-incubator-SNAPSHOT.jar"/>
+ </component>
+</composite>
+</pre>
+</div>
+</p>
+
+
+
+
+</body>
+
+</html>
diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/java/das/DASService.java b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/java/das/DASService.java new file mode 100644 index 0000000000..0387341b87 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/java/das/DASService.java @@ -0,0 +1,61 @@ +/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package das;
+
+import java.io.InputStream;
+import java.util.Vector;
+
+import commonj.sdo.DataObject;
+
+public interface DASService {
+
+ /**
+ * Set DAS configuration file to be used
+ * @param configStream
+ * @throws DASServiceException
+ */
+ public void configureService(InputStream configStream) throws DASServiceException;
+
+ /**
+ * Execute an existing command. The commands are defined in the DAS Configuration file being used by the service
+ * @param commandName Command name as it appears on the DAS Configuration file
+ * @param commandArguments Vector with arguments to be used by the command
+ * @throws DASServiceException
+ * @return
+ */
+ public DataObject executeCommand(String commandName, Vector commandArguments) throws DASServiceException;
+
+ /**
+ * Execute a new command, this can be any arbitrary valid query based on the backend implementation (e.g. SQL Query for DAS RDB)
+ * @param adHocQuery A new command to be executed (e.g SQL Query)
+ * @param commandArguments Vector with arguments to be used by the command
+ * @throws DASServiceException
+ * @return
+ */
+ public DataObject execute(String adHocQuery, Vector commandArguments) throws DASServiceException;
+
+ /**
+ * Apply all changes on the graph back to the persistent repository.
+ * This would save the changes on the SDO ChangeSummary back to the database
+ * Note: Your SDO ojects should have been created with ChangeSummary support
+ * @param graphRoot SDO Object with changes to be commited to persistent repository
+ * @throws DASServiceException
+ */
+ public void applyChanges(DataObject graphRoot) throws DASServiceException;
+}
diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/java/das/DASServiceException.java b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/java/das/DASServiceException.java new file mode 100644 index 0000000000..e62201a4de --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/java/das/DASServiceException.java @@ -0,0 +1,37 @@ +/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package das;
+
+public class DASServiceException extends Exception {
+
+ private static final long serialVersionUID = -7514653215235902874L;
+
+ public DASServiceException() {
+ super();
+ }
+
+ public DASServiceException(String msg) {
+ super(msg);
+ }
+
+ public DASServiceException(String msg, Throwable ex) {
+ super(msg, ex);
+ }
+
+}
diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/java/das/DASServiceImpl.java b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/java/das/DASServiceImpl.java new file mode 100644 index 0000000000..70d9e379ef --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/java/das/DASServiceImpl.java @@ -0,0 +1,146 @@ +/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package das;
+
+import java.io.InputStream;
+import java.util.Vector;
+
+import org.apache.tuscany.das.rdb.Command;
+import org.apache.tuscany.das.rdb.DAS;
+import org.osoa.sca.annotations.Scope;
+
+import commonj.sdo.DataObject;
+
+@Scope("COMPOSITE")
+public class DASServiceImpl implements DASService {
+
+ protected DAS das = null;
+
+
+ /**
+ * Initialize DAS
+ * @return
+ * @throws DASServiceException
+ */
+ private void initDAS(InputStream config) throws DASServiceException {
+ if(config == null){
+ throw new DASServiceException("Missing configuration information");
+ }
+
+ if(this.das != null){
+ this.das.releaseResources();
+ this.das = null;
+ }
+
+ this.das = DAS.FACTORY.createDAS(config);
+ }
+
+ /**
+ * Get a DAS instance based on the configuration
+ * @return
+ * @throws DASServiceException
+ */
+ private DAS getDAS() throws DASServiceException {
+ if(this.das == null){
+ throw new DASServiceException("DAS not initialized. Please provide DAS configuration torugh das.SetConfig");
+ }
+
+ return this.das;
+ }
+
+ /**
+ * Set DAS configuration file to be used
+ * @param configStream
+ * @throws DASServiceException
+ */
+ public void configureService(InputStream configStream) throws DASServiceException{
+ this.initDAS(configStream);
+ }
+
+
+
+ /**
+ * Execute an existing command. The commands are defined in the DAS Configuration file being used by the service
+ * @param commandName Command name as it appears on the DAS Configuration file
+ * @param commandArguments Vector with arguments to be used by the command
+ * @throws DASServiceException
+ * @return
+ */
+ public DataObject executeCommand(String commandName, Vector commandArguments) throws DASServiceException{
+ Command command = this.getDAS().getCommand(commandName);
+
+ if(command == null){
+ throw new DASServiceException("Invalid command: " + commandName);
+ }
+
+ //check if arguments was passed
+ if(commandArguments != null && commandArguments.size() > 0){
+ //we need to set the arguments
+ int pos=0;
+ for(Object argument : commandArguments){
+ pos++;
+ command.setParameter(pos, argument);
+ }
+ }
+
+ DataObject root = command.executeQuery();
+
+ return root;
+ }
+
+ /**
+ * Execute a new command, this can be any arbitrary valid query based on the backend implementation (e.g. SQL Query for DAS RDB)
+ * @param newCommand A new command to be executed (e.g SQL Query)
+ * @param commandArguments Vector with arguments to be used by the command
+ * @throws DASServiceException
+ * @return
+ */
+ public DataObject execute(String adHocQuery, Vector commandArguments) throws DASServiceException {
+ Command command = this.getDAS().createCommand(adHocQuery);
+
+ if(command == null){
+ throw new DASServiceException("Invalid command: " + adHocQuery);
+ }
+
+ //check if arguments was passed
+ if(commandArguments != null && commandArguments.size() > 0){
+ //we need to set the arguments
+ int pos=0;
+ for(Object argument : commandArguments){
+ pos++;
+ command.setParameter(pos, argument);
+ }
+ }
+ DataObject root = command.executeQuery();
+
+ return root;
+ }
+
+ /**
+ * Apply all changes on the graph back to the persistent repository.
+ * This would save the changes on the SDO ChangeSummary back to the database
+ * Note: Your SDO ojects should have been created with ChangeSummary support
+ * @throws DASServiceException
+ * @param graphRoot SDO Object with changes to be commited to persistent repository
+ */
+ public void applyChanges(DataObject graphRoot) throws DASServiceException{
+ // TODO Auto-generated method stub
+
+ }
+}
diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/resources/CompanyConfig.xml b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/resources/CompanyConfig.xml new file mode 100644 index 0000000000..3d20054c12 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/resources/CompanyConfig.xml @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ -->
+<Config xsi:noNamespaceSchemaLocation="http:///org.apache.tuscany.das.rdb/config.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+
+ <ConnectionInfo dataSource="java:comp/env/jdbc/dastest"/>
+
+ <Command name="all companies" SQL="select * from COMPANY" kind="Select"/>
+
+ <Command name="all companies and departments" SQL="select * from COMPANY left outer join DEPARTMENT on COMPANY.ID = DEPARTMENT.COMPANYID" kind="Select"/>
+
+ <Command name="all departments for company" SQL="select * from COMPANY inner join DEPARTMENT on COMPANY.ID = DEPARTMENT.COMPANYID where COMPANY.ID = ?" kind="Select"/>
+
+ <Command name="company by id with departments" SQL="select * from COMPANY left outer join DEPARTMENT on COMPANY.ID = DEPARTMENT.COMPANYID where COMPANY.ID = ?" kind="Select"/>
+
+
+ <Table tableName="COMPANY">
+ <Column columnName="ID" primaryKey="true" generated="true"/>
+ </Table>
+
+ <Table tableName="DEPARTMENT">
+ <Column columnName="ID" primaryKey="true" generated="true"/>
+ </Table>
+
+ <Relationship name="departments" primaryKeyTable="COMPANY" foreignKeyTable="DEPARTMENT" many="true">
+ <KeyPair primaryKeyColumn="ID" foreignKeyColumn="COMPANYID"/>
+ </Relationship>
+
+
+</Config>
diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/resources/dasservice.composite b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/resources/dasservice.composite new file mode 100644 index 0000000000..54c4af61ee --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/resources/dasservice.composite @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ targetNamespace="http://das-service"
+ xmlns:das-service="http://das-service"
+ name="DASService">
+
+ <service name="DASService" promote="DASServiceComponent">
+ <interface.java interface="das.DASService"/>
+ <reference>DASServiceComponent</reference>
+ </service>
+
+ <component name="DASServiceComponent">
+ <implementation.java class="das.DASServiceImpl"/>
+ </component>
+
+</composite>
diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/resources/log4j.properties b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/resources/log4j.properties new file mode 100644 index 0000000000..c5c2868aaa --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/resources/log4j.properties @@ -0,0 +1,29 @@ +# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# Set root logger level to DEBUG and its only appender to A1.
+log4j.rootLogger=INFO, A1
+
+# A1 is set to be a ConsoleAppender.
+log4j.appender.A1=org.apache.log4j.ConsoleAppender
+
+# A1 uses PatternLayout.
+log4j.appender.A1.layout=org.apache.log4j.PatternLayout
+log4j.appender.A1.layout.ConversionPattern=[DAS RDB] - %c{1}.%M (%L) : %m %n
+
+# Print only messages of level WARN or above in the package com.foo.
+log4j.logger.org.apache.tuscany=NONE
\ No newline at end of file diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/Company.jsp b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/Company.jsp new file mode 100644 index 0000000000..0a156de1c7 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/Company.jsp @@ -0,0 +1,93 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ -->
+
+<%@ page import="java.util.*" %>
+
+<%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
+
+<%@ page import="commonj.sdo.*" %>
+<%@ page import="das.*" %>
+
+<html>
+<head>
+<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
+<%
+
+ SCADomain domain = (SCADomain) application.getAttribute("org.apache.tuscany.sca.SCADomain");
+ if (domain == null) {
+ System.out.println("domain == NULL");
+ }
+
+
+ DASService dasService = domain.getService(DASService.class, "DASServiceComponent");
+
+ if (dasService == null) {
+ System.out.println("DASService == NULL");
+ }
+
+ List companyList = null;
+
+ try{
+ dasService.configureService(getClass().getClassLoader().getResourceAsStream("CompanyConfig.xml"));
+ DataObject root = dasService.executeCommand("all companies", null);
+ companyList = root.getList("COMPANY");
+ }catch(Exception e){
+ //TODO: handle case where dasService can't be initiated properly
+ }
+
+%>
+
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>DASService Client Test</title>
+</head>
+<body>
+
+<H2>Tuscany DAS Service WEB Client Application Example</H2>
+
+<!-- Do Fill -->
+<table border>
+ <thead>
+ <tr>
+ <th>ID</th>
+ <th>Name</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <%
+ java.util.Iterator i = companyList.iterator();
+ while (i.hasNext()) {
+ DataObject company = (DataObject)i.next();
+ %>
+ <tr>
+ <td><%=company.getInt("ID")%></td>
+ <td><%=company.getString("NAME")%></td>
+ <tr>
+ <%
+ }
+ %>
+ </tbody>
+</table>
+
+
+
+</form>
+</body>
+</html>
diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/META-INF/context.xml b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/META-INF/context.xml new file mode 100644 index 0000000000..0e90eb0a83 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/META-INF/context.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ -->
+<Context path="/DAS Stand alone app" debug="5" reloadable="true" crossContext="true">
+
+ <Manager pathname=""/>
+ <ResourceLink name="jdbc/dastest" global="jdbc/dastest" type="javax.sql.DataSource" />
+
+</Context>
diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/META-INF/sca-contribution.xml b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..25849fa6b9 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/META-INF/sca-contribution.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+
+<contribution xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ targetNamespace="http://sample"
+ xmlns:sample="http://sample">
+ <deployable composite="sample:DASService"/>
+</contribution>
\ No newline at end of file diff --git a/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/WEB-INF/web.xml b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..67a782269e --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ -->
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
+Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<web-app>
+
+ <display-name>Tuscany DAS Service Client Application</display-name>
+
+ <listener>
+ <listener-class>org.apache.tuscany.sca.host.webapp.TuscanyContextListener</listener-class>
+ </listener>
+
+ <welcome-file-list id="WelcomeFileList">
+ <welcome-file>Company.jsp</welcome-file>
+ </welcome-file-list>
+
+</web-app>
|