From bdd0a41aed7edf21ec2a65cfa17a86af2ef8c48a Mon Sep 17 00:00:00 2001
From: dims
Date: Tue, 17 Jun 2008 00:23:01 +0000
Subject: Move Tuscany from Incubator to top level.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@668359 13f79535-47bb-0310-9956-ffa450edef68
---
.../samples/company-das-webapp/build.xml | 55 ++++++
.../samples/company-das-webapp/dastest/db.lck | Bin 0 -> 38 bytes
.../company-das-webapp/dastest/log/log.ctrl | Bin 0 -> 48 bytes
.../company-das-webapp/dastest/log/log1.dat | Bin 0 -> 1048576 bytes
.../company-das-webapp/dastest/log/logmirror.ctrl | Bin 0 -> 48 bytes
.../company-das-webapp/dastest/seg0/c10.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c101.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c111.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c121.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c130.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c141.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c150.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c161.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c171.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c180.dat | Bin 0 -> 24576 bytes
.../company-das-webapp/dastest/seg0/c191.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c1a1.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c1b1.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c1c0.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c1d1.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c1e0.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c1f1.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c20.dat | Bin 0 -> 24576 bytes
.../company-das-webapp/dastest/seg0/c200.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c211.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c221.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c230.dat | Bin 0 -> 86016 bytes
.../company-das-webapp/dastest/seg0/c241.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c251.dat | Bin 0 -> 12288 bytes
.../company-das-webapp/dastest/seg0/c260.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c271.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c281.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c290.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c2a1.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c2b1.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c2c1.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c2d0.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c2e1.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c2f0.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c300.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c31.dat | Bin 0 -> 16384 bytes
.../company-das-webapp/dastest/seg0/c311.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c320.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c331.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c340.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c351.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c360.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c371.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c380.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c391.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c3a0.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c3b1.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c3c0.dat | Bin 0 -> 24576 bytes
.../company-das-webapp/dastest/seg0/c3d1.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c3e0.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c3f1.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c400.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c41.dat | Bin 0 -> 16384 bytes
.../company-das-webapp/dastest/seg0/c411.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c420.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c431.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c440.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c451.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c460.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c471.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c481.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c490.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c4a1.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c51.dat | Bin 0 -> 16384 bytes
.../company-das-webapp/dastest/seg0/c60.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c71.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c81.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/c90.dat | Bin 0 -> 20480 bytes
.../company-das-webapp/dastest/seg0/ca1.dat | Bin 0 -> 24576 bytes
.../company-das-webapp/dastest/seg0/cb1.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/cc0.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/cd1.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/ce1.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/seg0/cf0.dat | Bin 0 -> 8192 bytes
.../company-das-webapp/dastest/service.properties | 39 ++++
.../samples/company-das-webapp/pom.xml | 86 +++++++++
.../samples/company-das-webapp/readme.html | 199 +++++++++++++++++++++
.../src/main/java/das/DASService.java | 61 +++++++
.../src/main/java/das/DASServiceException.java | 37 ++++
.../src/main/java/das/DASServiceImpl.java | 146 +++++++++++++++
.../src/main/resources/CompanyConfig.xml | 46 +++++
.../src/main/resources/dasservice.composite | 34 ++++
.../src/main/resources/log4j.properties | 29 +++
.../company-das-webapp/src/main/webapp/Company.jsp | 93 ++++++++++
.../src/main/webapp/META-INF/context.xml | 25 +++
.../src/main/webapp/META-INF/sca-contribution.xml | 25 +++
.../src/main/webapp/WEB-INF/web.xml | 35 ++++
92 files changed, 910 insertions(+)
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/build.xml
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/db.lck
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/log/log.ctrl
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/log/log1.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/log/logmirror.ctrl
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c10.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c101.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c111.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c121.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c130.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c141.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c150.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c161.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c171.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c180.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c191.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1a1.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1b1.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1c0.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1d1.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1e0.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1f1.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c20.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c200.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c211.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c221.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c230.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c241.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c251.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c260.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c271.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c281.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c290.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2a1.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2b1.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2c1.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2d0.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2e1.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2f0.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c300.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c31.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c311.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c320.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c331.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c340.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c351.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c360.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c371.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c380.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c391.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3a0.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3b1.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3c0.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3d1.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3e0.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3f1.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c400.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c41.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c411.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c420.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c431.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c440.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c451.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c460.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c471.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c481.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c490.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c4a1.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c51.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c60.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c71.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c81.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c90.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/ca1.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cb1.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cc0.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cd1.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/ce1.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cf0.dat
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/dastest/service.properties
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/pom.xml
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/readme.html
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/src/main/java/das/DASService.java
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/src/main/java/das/DASServiceException.java
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/src/main/java/das/DASServiceImpl.java
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/src/main/resources/CompanyConfig.xml
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/src/main/resources/dasservice.composite
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/src/main/resources/log4j.properties
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/Company.jsp
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/META-INF/context.xml
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/META-INF/sca-contribution.xml
create mode 100644 branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/WEB-INF/web.xml
(limited to 'branches/sca-java-1.0/samples/company-das-webapp')
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/build.xml b/branches/sca-java-1.0/samples/company-das-webapp/build.xml
new file mode 100644
index 0000000000..feef76481b
--- /dev/null
+++ b/branches/sca-java-1.0/samples/company-das-webapp/build.xml
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/db.lck b/branches/sca-java-1.0/samples/company-das-webapp/dastest/db.lck
new file mode 100644
index 0000000000..9f6b4b3d4b
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/db.lck differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/log/log.ctrl b/branches/sca-java-1.0/samples/company-das-webapp/dastest/log/log.ctrl
new file mode 100644
index 0000000000..edbd775299
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/log/log.ctrl differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/log/log1.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/log/log1.dat
new file mode 100644
index 0000000000..7e85ac8e8f
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/log/log1.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/log/logmirror.ctrl b/branches/sca-java-1.0/samples/company-das-webapp/dastest/log/logmirror.ctrl
new file mode 100644
index 0000000000..edbd775299
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/log/logmirror.ctrl differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c10.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c10.dat
new file mode 100644
index 0000000000..5d8ecaa10f
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c10.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c101.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c101.dat
new file mode 100644
index 0000000000..0f79fa7574
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c101.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c111.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c111.dat
new file mode 100644
index 0000000000..39d49e3d19
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c111.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c121.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c121.dat
new file mode 100644
index 0000000000..2a4311779b
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c121.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c130.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c130.dat
new file mode 100644
index 0000000000..64e3c18d62
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c130.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c141.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c141.dat
new file mode 100644
index 0000000000..0632d04164
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c141.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c150.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c150.dat
new file mode 100644
index 0000000000..d7541026f6
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c150.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c161.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c161.dat
new file mode 100644
index 0000000000..6673bf1873
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c161.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c171.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c171.dat
new file mode 100644
index 0000000000..c2a753cc5d
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c171.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c180.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c180.dat
new file mode 100644
index 0000000000..cb9391aed1
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c180.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c191.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c191.dat
new file mode 100644
index 0000000000..d3cf1d6364
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c191.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1a1.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1a1.dat
new file mode 100644
index 0000000000..a7a2d536e9
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1a1.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1b1.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1b1.dat
new file mode 100644
index 0000000000..19097e69e7
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1b1.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1c0.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1c0.dat
new file mode 100644
index 0000000000..359525a31a
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1c0.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1d1.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1d1.dat
new file mode 100644
index 0000000000..9f257df932
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1d1.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1e0.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1e0.dat
new file mode 100644
index 0000000000..e43e52fb7f
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1e0.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1f1.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1f1.dat
new file mode 100644
index 0000000000..7e6ee3b1e0
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c1f1.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c20.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c20.dat
new file mode 100644
index 0000000000..1be6390f06
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c20.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c200.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c200.dat
new file mode 100644
index 0000000000..b15d56855c
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c200.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c211.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c211.dat
new file mode 100644
index 0000000000..84b0022312
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c211.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c221.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c221.dat
new file mode 100644
index 0000000000..63106a9523
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c221.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c230.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c230.dat
new file mode 100644
index 0000000000..9975f27c1f
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c230.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c241.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c241.dat
new file mode 100644
index 0000000000..835c645a16
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c241.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c251.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c251.dat
new file mode 100644
index 0000000000..d3d6adf4fb
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c251.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c260.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c260.dat
new file mode 100644
index 0000000000..8d7333df7d
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c260.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c271.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c271.dat
new file mode 100644
index 0000000000..af722f7d73
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c271.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c281.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c281.dat
new file mode 100644
index 0000000000..3972983c2e
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c281.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c290.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c290.dat
new file mode 100644
index 0000000000..31577b8124
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c290.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2a1.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2a1.dat
new file mode 100644
index 0000000000..0f700d13a7
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2a1.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2b1.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2b1.dat
new file mode 100644
index 0000000000..1d6382fb3d
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2b1.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2c1.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2c1.dat
new file mode 100644
index 0000000000..3bc60d886b
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2c1.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2d0.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2d0.dat
new file mode 100644
index 0000000000..c542d3c91c
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2d0.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2e1.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2e1.dat
new file mode 100644
index 0000000000..16abd20b5f
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2e1.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2f0.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2f0.dat
new file mode 100644
index 0000000000..eb26be5932
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c2f0.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c300.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c300.dat
new file mode 100644
index 0000000000..1214f1df4b
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c300.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c31.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c31.dat
new file mode 100644
index 0000000000..18c16f1123
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c31.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c311.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c311.dat
new file mode 100644
index 0000000000..926cbf25b5
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c311.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c320.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c320.dat
new file mode 100644
index 0000000000..07e7bc023c
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c320.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c331.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c331.dat
new file mode 100644
index 0000000000..fd827f9dc2
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c331.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c340.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c340.dat
new file mode 100644
index 0000000000..ca70319886
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c340.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c351.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c351.dat
new file mode 100644
index 0000000000..8fbe2a527c
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c351.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c360.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c360.dat
new file mode 100644
index 0000000000..dcf9c746e1
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c360.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c371.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c371.dat
new file mode 100644
index 0000000000..6f21a840ea
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c371.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c380.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c380.dat
new file mode 100644
index 0000000000..b512e8065f
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c380.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c391.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c391.dat
new file mode 100644
index 0000000000..27006e95a1
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c391.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3a0.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3a0.dat
new file mode 100644
index 0000000000..565dca97ac
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3a0.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3b1.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3b1.dat
new file mode 100644
index 0000000000..36894c9818
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3b1.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3c0.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3c0.dat
new file mode 100644
index 0000000000..d0c538aede
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3c0.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3d1.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3d1.dat
new file mode 100644
index 0000000000..65bcec5527
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3d1.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3e0.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3e0.dat
new file mode 100644
index 0000000000..bdab359420
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3e0.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3f1.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3f1.dat
new file mode 100644
index 0000000000..dc2d278b57
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c3f1.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c400.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c400.dat
new file mode 100644
index 0000000000..3072709cec
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c400.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c41.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c41.dat
new file mode 100644
index 0000000000..61086690f2
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c41.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c411.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c411.dat
new file mode 100644
index 0000000000..ca551d8249
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c411.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c420.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c420.dat
new file mode 100644
index 0000000000..f04de0840e
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c420.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c431.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c431.dat
new file mode 100644
index 0000000000..398b1672cc
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c431.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c440.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c440.dat
new file mode 100644
index 0000000000..af259d0872
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c440.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c451.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c451.dat
new file mode 100644
index 0000000000..772a18c658
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c451.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c460.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c460.dat
new file mode 100644
index 0000000000..505428362d
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c460.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c471.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c471.dat
new file mode 100644
index 0000000000..484d0df42d
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c471.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c481.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c481.dat
new file mode 100644
index 0000000000..faac073076
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c481.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c490.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c490.dat
new file mode 100644
index 0000000000..7585319d21
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c490.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c4a1.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c4a1.dat
new file mode 100644
index 0000000000..4fe8b786e3
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c4a1.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c51.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c51.dat
new file mode 100644
index 0000000000..7fc7937b15
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c51.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c60.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c60.dat
new file mode 100644
index 0000000000..d1fb08c946
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c60.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c71.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c71.dat
new file mode 100644
index 0000000000..d4c2090a3b
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c71.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c81.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c81.dat
new file mode 100644
index 0000000000..38b6ea6520
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c81.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c90.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c90.dat
new file mode 100644
index 0000000000..a607a5969c
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/c90.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/ca1.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/ca1.dat
new file mode 100644
index 0000000000..19b4c9e340
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/ca1.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cb1.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cb1.dat
new file mode 100644
index 0000000000..73dc986572
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cb1.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cc0.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cc0.dat
new file mode 100644
index 0000000000..d1eef3bb56
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cc0.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cd1.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cd1.dat
new file mode 100644
index 0000000000..c7e6db3ef7
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cd1.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/ce1.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/ce1.dat
new file mode 100644
index 0000000000..8fd3bf17a8
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/ce1.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cf0.dat b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cf0.dat
new file mode 100644
index 0000000000..332b3d9a8a
Binary files /dev/null and b/branches/sca-java-1.0/samples/company-das-webapp/dastest/seg0/cf0.dat differ
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/dastest/service.properties b/branches/sca-java-1.0/samples/company-das-webapp/dastest/service.properties
new file mode 100644
index 0000000000..af9511d9c7
--- /dev/null
+++ b/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/branches/sca-java-1.0/samples/company-das-webapp/pom.xml b/branches/sca-java-1.0/samples/company-das-webapp/pom.xml
new file mode 100644
index 0000000000..8b976d6051
--- /dev/null
+++ b/branches/sca-java-1.0/samples/company-das-webapp/pom.xml
@@ -0,0 +1,86 @@
+
+
+
+ 4.0.0
+
+ org.apache.tuscany.sca
+ tuscany-sca
+ 1.0-incubating-SNAPSHOT
+ ../pom.xml
+
+
+ sample-company-das-webapp
+ Apache Tuscany SCA Company Sample Web Client
+ war
+
+
+
+
+
+ org.apache.tuscany.sca
+ tuscany-host-webapp
+ 1.0-incubating-SNAPSHOT
+
+
+
+ org.apache.tuscany.sca
+ tuscany-implementation-java-runtime
+ 1.0-incubating-SNAPSHOT
+ runtime
+
+
+
+
+ org.apache.tuscany.das
+ tuscany-das-rdb
+ 1.0-incubating-SNAPSHOT
+ compile
+
+
+
+ org.apache.tuscany.sdo
+ tuscany-sdo-impl
+ 1.0-incubating-SNAPSHOT
+ compile
+
+
+
+
+ junit
+ junit
+ 4.2
+ test
+
+
+
+
+
+ ${artifactId}
+ src/main/java
+
+
+ src/main/java
+
+
+ src/main/resources
+
+
+
+
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/readme.html b/branches/sca-java-1.0/samples/company-das-webapp/readme.html
new file mode 100644
index 0000000000..65a50de320
--- /dev/null
+++ b/branches/sca-java-1.0/samples/company-das-webapp/readme.html
@@ -0,0 +1,199 @@
+
+
+
+
+
+Tuscany RDB DAS Service client
+
+
+
+
+
+
+
+
+
+
+Tuscany RDB DAS Service client
+
+
+Introduction
+
+
+This stand-alone sample application demonstrate how to consume the DAS Service exposed trough an SCA service.
+The application starts with a canned database of Companies and their related Departments.
+Through the web page interface, a user can consume the DAS Service to display the list of available companies.
+The sample runs on Tomcat 5.5 and employs a Derby database accessed via a DataSource.
+
+
+
+
+
+
+Running the sample
+
+There are two options for running this sample:
+
+
+ - Run from Tomcat configured by the build
+ - Deploying the DASService.client WAR into a Tomcat you configure yourself
+
+
+
+Running from Tomcat configured by the build
+
+
+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/
+
+
+
+
+Deploying the DASService.client WAR into a Tomcat you configure yourself
+
+
+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 http://incubator.apache.org/tuscany/java_das_overview.html.
+
+
+Set Up:
+
+
+
+ - Download and install the most recent stable version of Tomcat 5.5. You can find it here: http://tomcat.apache.org/download-55.cgi
+ - Download the most recent official release of Derby from here: http://db.apache.org/derby/index.html.
+ The only file you’ll need from this download is derby.jar
+ - Stop Tomcat
+ - Copy derby.jar (from the derby distribution) to {Tomcat_Home}/common/lib:
+ - Add the sample war file to {Tomcat_Home}/webapps
+
+ - sample-das-service-client-xxx.war (e.g.sample-das-service-client-1.0-incubator-SNAPSHOT.war)
+
+ - Install the canned Derby database to Tomcat:
+
+ - First, create a new directory named “Databases” to hold the sample database. Create {Tomcat_Home}/Databases
+ - Copy the dastest folder (and all its contents) from {build directory root OR
+ where samples where unzipped}/java/das/samples/DASService.client to {Tomcat_Home}/Databases.
+
+ NOTE: If you are running this from a sample distribution, the canned database is available in the
+ distribution, inside the databases directory.
+
+ - Define a DataSource by adding a datasource definition to {Tomcat_Home}/conf/server.xml.
+
+ - Find the end-of-section marker </GlobalNamingResources> and add the following lines just above it:
+
+
+
+ <!-- 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"/>
+
+
+
+ Requirement:You must include the absolute path to the “Databases” directory in the above url attribute. Fore example:
+ url="jdbc:derby:c:\apache-tomcat-5.5.17\Databases/dastest"
+
+
+ Start tomcat and point your browser to: http://localhost:8080/sample-das-service-client-{version
+ tag}/. Example:
+ http://localhost:8080/sample-das-service-client-1.0-incubator-SNAPSHOT/
+
+
+
+
+
+
+
+
+Sample Architecture
+
+This is a simple, single-page, web application to consume DAS exposed as an SCA service.
+The main components of this application are:
+
+
+ - The SCA DAS Service
+ - SDO
+ - Company.jsp
+ - The canned Derby database
+
+
+
+The Company.jsp 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
+
+The canned Derby database comes preloaded with Companies and related Departments. The Derby database instance is a simple file folder.
+
+The SCA DAS Service accepts directives (commands) and reads and writes to the derby database instance appropriately using DAS as the service implementation.
+
+
+
+Consuming the DAS service
+
+First, note that the application have dependencies on the DAS Service:
+
+
+
+
+
+<!-- DAS Service -->
+<dependency>
+ <groupId>org.apache.tuscany.das.samples</groupId>
+ <artifactId>sample-das-service</artifactId>
+ <version>${pom.version}</version>
+</dependency>
+
+
+
+
+
+And the SCDL references the service:
+
+
+
+
+<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>
+
+
+
+
+
+
+
+
+
+
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/src/main/java/das/DASService.java b/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/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/branches/sca-java-1.0/samples/company-das-webapp/src/main/java/das/DASServiceException.java b/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/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/branches/sca-java-1.0/samples/company-das-webapp/src/main/java/das/DASServiceImpl.java b/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/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/branches/sca-java-1.0/samples/company-das-webapp/src/main/resources/CompanyConfig.xml b/branches/sca-java-1.0/samples/company-das-webapp/src/main/resources/CompanyConfig.xml
new file mode 100644
index 0000000000..3d20054c12
--- /dev/null
+++ b/branches/sca-java-1.0/samples/company-das-webapp/src/main/resources/CompanyConfig.xml
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/src/main/resources/dasservice.composite b/branches/sca-java-1.0/samples/company-das-webapp/src/main/resources/dasservice.composite
new file mode 100644
index 0000000000..54c4af61ee
--- /dev/null
+++ b/branches/sca-java-1.0/samples/company-das-webapp/src/main/resources/dasservice.composite
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+ DASServiceComponent
+
+
+
+
+
+
+
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/src/main/resources/log4j.properties b/branches/sca-java-1.0/samples/company-das-webapp/src/main/resources/log4j.properties
new file mode 100644
index 0000000000..c5c2868aaa
--- /dev/null
+++ b/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/branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/Company.jsp b/branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/Company.jsp
new file mode 100644
index 0000000000..0a156de1c7
--- /dev/null
+++ b/branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/Company.jsp
@@ -0,0 +1,93 @@
+
+
+
+<%@ page import="java.util.*" %>
+
+<%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
+
+<%@ page import="commonj.sdo.*" %>
+<%@ page import="das.*" %>
+
+
+
+<%@ 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
+ }
+
+%>
+
+
+DASService Client Test
+
+
+
+Tuscany DAS Service WEB Client Application Example
+
+
+
+
+
+ ID |
+ Name |
+
+
+
+
+ <%
+ java.util.Iterator i = companyList.iterator();
+ while (i.hasNext()) {
+ DataObject company = (DataObject)i.next();
+ %>
+
+ <%=company.getInt("ID")%> |
+ <%=company.getString("NAME")%> |
+
+ <%
+ }
+ %>
+
+
+
+
+
+
+
+
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/META-INF/context.xml b/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/branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/META-INF/context.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/META-INF/sca-contribution.xml b/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/branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/META-INF/sca-contribution.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/WEB-INF/web.xml b/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/branches/sca-java-1.0/samples/company-das-webapp/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+ Tuscany DAS Service Client Application
+
+
+ org.apache.tuscany.sca.host.webapp.TuscanyContextListener
+
+
+
+ Company.jsp
+
+
+
--
cgit v1.2.3