summaryrefslogtreecommitdiffstats
path: root/tags/java-M1-20060518/java/samples
diff options
context:
space:
mode:
Diffstat (limited to 'tags/java-M1-20060518/java/samples')
-rw-r--r--tags/java-M1-20060518/java/samples/build.xml28
-rw-r--r--tags/java-M1-20060518/java/samples/das/build.xml26
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/LICENSE.txt202
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/README.txt35
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/build.xml52
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/db.lckbin38 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/log/log.ctrlbin48 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/log/log1.datbin1048576 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/log/logmirror.ctrlbin48 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c10.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c101.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c111.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c121.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c130.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c141.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c150.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c161.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c171.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c180.datbin24576 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c191.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1a1.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1b1.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1c0.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1d1.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1e0.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1f1.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c20.datbin24576 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c200.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c211.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c221.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c230.datbin86016 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c241.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c251.datbin12288 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c260.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c271.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c281.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c290.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2a1.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2b1.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2c1.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2d0.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2e1.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2f0.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c300.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c31.datbin16384 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c311.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c320.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c331.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c340.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c351.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c360.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c371.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c380.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c391.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3a0.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3b1.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3c0.datbin24576 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3d1.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3e0.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3f1.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c400.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c41.datbin16384 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c411.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c420.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c431.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c440.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c451.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c460.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c471.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c481.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c490.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c4a1.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c51.datbin16384 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c60.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c71.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c81.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c90.datbin20480 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/ca1.datbin24576 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/cb1.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/cc0.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/cd1.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/ce1.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/cf0.datbin8192 -> 0 bytes
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/dastest/service.properties22
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/pom.xml42
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/readme.htm810
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/src/main/java/org/apache/tuscany/samples/das/companyweb/CompanyClient.java154
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/src/main/resources/CompanyConfig.xml48
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/src/main/webapp/Company.jsp157
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/src/main/webapp/META-INF/context.xml22
-rw-r--r--tags/java-M1-20060518/java/samples/das/companyweb/src/main/webapp/WEB-INF/web.xml27
-rw-r--r--tags/java-M1-20060518/java/samples/das/pom.xml34
-rw-r--r--tags/java-M1-20060518/java/samples/pom.xml94
-rw-r--r--tags/java-M1-20060518/java/samples/sca/build.xml50
-rw-r--r--tags/java-M1-20060518/java/samples/sca/calculator/LICENSE.txt202
-rw-r--r--tags/java-M1-20060518/java/samples/sca/calculator/README.txt35
-rw-r--r--tags/java-M1-20060518/java/samples/sca/calculator/build.xml52
-rw-r--r--tags/java-M1-20060518/java/samples/sca/calculator/pom.xml51
-rw-r--r--tags/java-M1-20060518/java/samples/sca/calculator/readme.htm53
-rw-r--r--tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/AddService.java23
-rw-r--r--tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/AddServiceImpl.java31
-rw-r--r--tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/CalculatorClient.java68
-rw-r--r--tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/CalculatorService.java33
-rw-r--r--tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/CalculatorServiceImpl.java70
-rw-r--r--tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/DivideService.java23
-rw-r--r--tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/DivideServiceImpl.java31
-rw-r--r--tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/MultiplyService.java23
-rw-r--r--tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/MultiplyServiceImpl.java31
-rw-r--r--tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/SubtractService.java23
-rw-r--r--tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/SubtractServiceImpl.java31
-rw-r--r--tags/java-M1-20060518/java/samples/sca/calculator/src/main/resources/logging.properties27
-rw-r--r--tags/java-M1-20060518/java/samples/sca/calculator/src/main/resources/sca.module46
-rw-r--r--tags/java-M1-20060518/java/samples/sca/calculator/src/test/java/calculator/CalculatorTestCase.java65
-rw-r--r--tags/java-M1-20060518/java/samples/sca/customerinfo/LICENSE.txt202
-rw-r--r--tags/java-M1-20060518/java/samples/sca/customerinfo/README.txt35
-rw-r--r--tags/java-M1-20060518/java/samples/sca/customerinfo/build.xml58
-rw-r--r--tags/java-M1-20060518/java/samples/sca/customerinfo/pom.xml52
-rw-r--r--tags/java-M1-20060518/java/samples/sca/customerinfo/readme.htm61
-rw-r--r--tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/java/customerinfo/CustomerInfoClient.java72
-rw-r--r--tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/java/customerinfo/CustomerInfoServiceImpl.java41
-rw-r--r--tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/resources/logging.properties27
-rw-r--r--tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/resources/sca.module27
-rw-r--r--tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/resources/wsdl/customer.xsd26
-rw-r--r--tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/resources/wsdl/customerinfo.wsdl76
-rw-r--r--tags/java-M1-20060518/java/samples/sca/customerinfo/src/test/java/customerinfo/CustomerInfoTestCase.java74
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/LICENSE.txt202
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/README.txt35
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/build.xml58
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/pom.xml58
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/readme.htm100
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/src/main/java/helloworld/HelloWorldClient.java67
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/src/main/java/helloworld/HelloWorldService.java26
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/src/main/resources/logging.properties27
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/src/main/resources/sca.module28
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/src/main/resources/wsdl/helloworld.wsdl83
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/pom.xml35
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/LICENSE.txt202
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/README.txt35
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/activemq.xml100
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/build.xml58
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/pom.xml52
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/readme.htm108
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/src/main/java/helloworld/HelloWorldImpl.java31
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/src/main/java/helloworld/HelloWorldServer.java49
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/src/main/java/helloworld/HelloWorldService.java26
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/src/main/resources/sca.module38
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/src/main/resources/wsdl/helloworld.wsdl99
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld/LICENSE.txt202
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld/README.txt35
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld/build.xml52
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld/pom.xml51
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld/readme.htm54
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld/src/main/java/helloworld/HelloWorldClient.java55
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld/src/main/java/helloworld/HelloWorldImpl.java31
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld/src/main/java/helloworld/HelloWorldService.java26
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld/src/main/resources/sca.module24
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworld/src/test/java/helloworld/HelloWorldTestCase.java67
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworlde4xws/LICENSE.txt202
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworlde4xws/README.txt35
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworlde4xws/build.xml49
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworlde4xws/pom.xml49
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworlde4xws/readme.htm110
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.componentType9
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.js28
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/sca.module34
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/wsdl/helloworld.wsdl75
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/webapp/WEB-INF/web.xml24
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldjsclient/LICENSE.txt202
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldjsclient/README.txt35
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldjsclient/build.xml49
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldjsclient/pom.xml56
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldjsclient/readme.htm110
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldjsclient/src/main/resources/sca.module49
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldjsclient/src/main/resources/wsdl/helloworld.wsdl75
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldjsclient/src/main/webapp/HelloWorldClient.html50
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldjsclient/src/main/webapp/WEB-INF/web.xml27
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/LICENSE.txt202
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/README.txt35
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/build.xml52
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/pom.xml57
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/readme.htm139
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/src/main/java/org/apache/tuscany/samples/helloworldjsonrpc/HelloWorldService.java26
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/src/main/java/org/apache/tuscany/samples/helloworldjsonrpc/HelloWorldServiceComponentImpl.java34
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/src/main/resources/sca.module32
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/src/main/webapp/HelloWorldJSONRPC.html48
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/src/main/webapp/WEB-INF/web.xml27
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldweb/LICENSE.txt202
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldweb/README.txt35
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldweb/build.xml52
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldweb/pom.xml51
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldweb/readme.htm248
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldweb/src/main/java/helloworld/HelloWorldImpl.java31
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldweb/src/main/java/helloworld/HelloWorldService.java26
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldweb/src/main/resources/sca.module24
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldweb/src/main/webapp/HelloWorldWeb.jsp79
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldweb/src/main/webapp/WEB-INF/web.xml27
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldweb/src/test/java/helloworld/HelloWorldTestCase.java64
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/LICENSE.txt202
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/README.txt35
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/build.xml58
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/pom.xml53
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/readme.htm92
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/src/main/java/helloworld/HelloWorldImpl.java31
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/src/main/java/helloworld/HelloWorldServer.java49
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/src/main/java/helloworld/HelloWorldService.java26
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/src/main/resources/sca.module33
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/src/main/resources/wsdl/helloworld.wsdl75
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldws/LICENSE.txt202
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldws/README.txt35
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldws/build.xml52
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldws/pom.xml57
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldws/readme.htm48
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldws/src/main/java/helloworld/HelloWorldImpl.java31
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldws/src/main/java/helloworld/HelloWorldService.java26
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldws/src/main/resources/sca.module33
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldws/src/main/resources/wsdl/helloworld.wsdl75
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldws/src/main/webapp/WEB-INF/web.xml23
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldwsclient/LICENSE.txt202
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldwsclient/README.txt35
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldwsclient/build.xml58
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldwsclient/pom.xml61
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldwsclient/readme.htm64
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldwsclient/src/main/java/helloworld/HelloWorldClient.java67
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldwsclient/src/main/java/helloworld/HelloWorldService.java26
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldwsclient/src/main/resources/logging.properties27
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldwsclient/src/main/resources/sca.module28
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworldwsclient/src/main/resources/wsdl/helloworld.wsdl75
-rw-r--r--tags/java-M1-20060518/java/samples/sca/pom.xml45
-rw-r--r--tags/java-M1-20060518/java/samples/sca/readme.htm95
-rw-r--r--tags/java-M1-20060518/java/samples/sca/supplychain/LICENSE.txt202
-rw-r--r--tags/java-M1-20060518/java/samples/sca/supplychain/README.txt35
-rw-r--r--tags/java-M1-20060518/java/samples/sca/supplychain/build.xml52
-rw-r--r--tags/java-M1-20060518/java/samples/sca/supplychain/pom.xml52
-rw-r--r--tags/java-M1-20060518/java/samples/sca/supplychain/readme.htm71
-rw-r--r--tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/Customer.java31
-rw-r--r--tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/CustomerComponentImpl.java44
-rw-r--r--tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/Retailer.java26
-rw-r--r--tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/RetailerComponentImpl.java39
-rw-r--r--tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/Shipper.java26
-rw-r--r--tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/ShipperComponentImpl.java39
-rw-r--r--tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/SupplyChainClient.java57
-rw-r--r--tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/Warehouse.java26
-rw-r--r--tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/WarehouseComponentImpl.java39
-rw-r--r--tags/java-M1-20060518/java/samples/sca/supplychain/src/main/resources/logging.properties27
-rw-r--r--tags/java-M1-20060518/java/samples/sca/supplychain/src/main/resources/sca.module48
-rw-r--r--tags/java-M1-20060518/java/samples/sca/supplychain/src/test/java/supplychain/SupplyChainClientTestCase.java51
246 files changed, 0 insertions, 11229 deletions
diff --git a/tags/java-M1-20060518/java/samples/build.xml b/tags/java-M1-20060518/java/samples/build.xml
deleted file mode 100644
index c650e16c64..0000000000
--- a/tags/java-M1-20060518/java/samples/build.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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">
-
- <target name="compile">
- <ant dir="sca"/>
- <ant dir="das"/>
- </target>
-
- <target name="clean">
- <ant dir="sca" target="clean"/>
- <ant dir="das" target="clean"/>
- </target>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/das/build.xml b/tags/java-M1-20060518/java/samples/das/build.xml
deleted file mode 100644
index 7f06f24c0c..0000000000
--- a/tags/java-M1-20060518/java/samples/das/build.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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">
-
- <target name="compile">
- <ant dir="companyweb"/>
- </target>
-
- <target name="clean">
- <ant dir="companyweb" target="clean"/>
- </target>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/LICENSE.txt b/tags/java-M1-20060518/java/samples/das/companyweb/LICENSE.txt
deleted file mode 100644
index d645695673..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed 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.
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/README.txt b/tags/java-M1-20060518/java/samples/das/companyweb/README.txt
deleted file mode 100644
index 9b26d1690a..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/README.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-Apache Tuscany M1 build (May, 2006)
-===================================
-
-http://incubator.apache.org/tuscany/
-
-Tuscany is an effort undergoing incubation at the Apache Software Foundation
-(ASF), sponsored by the Web Services PMC.
-
-Incubation is required of all newly accepted projects until a further review
-indicates that the infrastructure, communications, and decision making process
-have stabilized in a manner consistent with other successful ASF projects.
-
-While incubation status is not necessarily a reflection of the completeness or
-stability of the code, it does indicate that the project has yet to be fully
-endorsed by the ASF.
-
-
-Support
--------
-
-Any problem with this release can be reported to the Tuscany mailing list
-or in the JIRA issue tracker.
-
-Mailing list subscription:
- tuscany-dev-subscribe@ws.apache.org
-
-Jira:
- http://issues.apache.org/jira/browse/Tuscany
-
-
-Thank you for using Tuscany!
-
-
-The Tuscany Team.
-
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/build.xml b/tags/java-M1-20060518/java/samples/das/companyweb/build.xml
deleted file mode 100644
index afc88122f7..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/build.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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/tags/java-M1-20060518/java/samples/das/companyweb/dastest/db.lck b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/db.lck
deleted file mode 100644
index 9f6b4b3d4b..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/db.lck
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/log/log.ctrl b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/log/log.ctrl
deleted file mode 100644
index edbd775299..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/log/log.ctrl
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/log/log1.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/log/log1.dat
deleted file mode 100644
index 7e85ac8e8f..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/log/log1.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/log/logmirror.ctrl b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/log/logmirror.ctrl
deleted file mode 100644
index edbd775299..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/log/logmirror.ctrl
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c10.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c10.dat
deleted file mode 100644
index 5d8ecaa10f..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c10.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c101.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c101.dat
deleted file mode 100644
index 0f79fa7574..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c101.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c111.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c111.dat
deleted file mode 100644
index 39d49e3d19..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c111.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c121.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c121.dat
deleted file mode 100644
index 2a4311779b..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c121.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c130.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c130.dat
deleted file mode 100644
index 64e3c18d62..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c130.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c141.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c141.dat
deleted file mode 100644
index 0632d04164..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c141.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c150.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c150.dat
deleted file mode 100644
index d7541026f6..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c150.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c161.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c161.dat
deleted file mode 100644
index 6673bf1873..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c161.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c171.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c171.dat
deleted file mode 100644
index c2a753cc5d..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c171.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c180.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c180.dat
deleted file mode 100644
index cb9391aed1..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c180.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c191.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c191.dat
deleted file mode 100644
index d3cf1d6364..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c191.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1a1.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1a1.dat
deleted file mode 100644
index a7a2d536e9..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1a1.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1b1.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1b1.dat
deleted file mode 100644
index 19097e69e7..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1b1.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1c0.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1c0.dat
deleted file mode 100644
index 359525a31a..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1c0.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1d1.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1d1.dat
deleted file mode 100644
index 9f257df932..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1d1.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1e0.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1e0.dat
deleted file mode 100644
index e43e52fb7f..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1e0.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1f1.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1f1.dat
deleted file mode 100644
index 7e6ee3b1e0..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c1f1.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c20.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c20.dat
deleted file mode 100644
index 1be6390f06..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c20.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c200.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c200.dat
deleted file mode 100644
index b15d56855c..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c200.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c211.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c211.dat
deleted file mode 100644
index 84b0022312..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c211.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c221.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c221.dat
deleted file mode 100644
index 63106a9523..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c221.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c230.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c230.dat
deleted file mode 100644
index 9975f27c1f..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c230.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c241.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c241.dat
deleted file mode 100644
index 835c645a16..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c241.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c251.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c251.dat
deleted file mode 100644
index d3d6adf4fb..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c251.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c260.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c260.dat
deleted file mode 100644
index 8d7333df7d..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c260.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c271.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c271.dat
deleted file mode 100644
index af722f7d73..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c271.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c281.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c281.dat
deleted file mode 100644
index 3972983c2e..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c281.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c290.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c290.dat
deleted file mode 100644
index 31577b8124..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c290.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2a1.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2a1.dat
deleted file mode 100644
index 0f700d13a7..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2a1.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2b1.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2b1.dat
deleted file mode 100644
index 1d6382fb3d..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2b1.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2c1.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2c1.dat
deleted file mode 100644
index 3bc60d886b..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2c1.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2d0.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2d0.dat
deleted file mode 100644
index c542d3c91c..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2d0.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2e1.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2e1.dat
deleted file mode 100644
index 16abd20b5f..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2e1.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2f0.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2f0.dat
deleted file mode 100644
index eb26be5932..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c2f0.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c300.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c300.dat
deleted file mode 100644
index 1214f1df4b..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c300.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c31.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c31.dat
deleted file mode 100644
index 18c16f1123..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c31.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c311.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c311.dat
deleted file mode 100644
index 926cbf25b5..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c311.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c320.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c320.dat
deleted file mode 100644
index 07e7bc023c..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c320.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c331.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c331.dat
deleted file mode 100644
index fd827f9dc2..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c331.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c340.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c340.dat
deleted file mode 100644
index ca70319886..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c340.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c351.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c351.dat
deleted file mode 100644
index 8fbe2a527c..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c351.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c360.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c360.dat
deleted file mode 100644
index dcf9c746e1..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c360.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c371.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c371.dat
deleted file mode 100644
index 6f21a840ea..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c371.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c380.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c380.dat
deleted file mode 100644
index b512e8065f..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c380.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c391.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c391.dat
deleted file mode 100644
index 27006e95a1..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c391.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3a0.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3a0.dat
deleted file mode 100644
index 565dca97ac..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3a0.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3b1.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3b1.dat
deleted file mode 100644
index 36894c9818..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3b1.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3c0.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3c0.dat
deleted file mode 100644
index d0c538aede..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3c0.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3d1.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3d1.dat
deleted file mode 100644
index 65bcec5527..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3d1.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3e0.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3e0.dat
deleted file mode 100644
index bdab359420..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3e0.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3f1.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3f1.dat
deleted file mode 100644
index dc2d278b57..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c3f1.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c400.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c400.dat
deleted file mode 100644
index 3072709cec..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c400.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c41.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c41.dat
deleted file mode 100644
index 61086690f2..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c41.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c411.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c411.dat
deleted file mode 100644
index ca551d8249..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c411.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c420.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c420.dat
deleted file mode 100644
index f04de0840e..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c420.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c431.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c431.dat
deleted file mode 100644
index 398b1672cc..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c431.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c440.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c440.dat
deleted file mode 100644
index af259d0872..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c440.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c451.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c451.dat
deleted file mode 100644
index 772a18c658..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c451.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c460.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c460.dat
deleted file mode 100644
index 505428362d..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c460.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c471.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c471.dat
deleted file mode 100644
index 484d0df42d..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c471.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c481.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c481.dat
deleted file mode 100644
index faac073076..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c481.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c490.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c490.dat
deleted file mode 100644
index 7585319d21..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c490.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c4a1.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c4a1.dat
deleted file mode 100644
index 4fe8b786e3..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c4a1.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c51.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c51.dat
deleted file mode 100644
index 7fc7937b15..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c51.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c60.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c60.dat
deleted file mode 100644
index d1fb08c946..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c60.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c71.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c71.dat
deleted file mode 100644
index d4c2090a3b..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c71.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c81.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c81.dat
deleted file mode 100644
index 38b6ea6520..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c81.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c90.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c90.dat
deleted file mode 100644
index a607a5969c..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/c90.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/ca1.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/ca1.dat
deleted file mode 100644
index 19b4c9e340..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/ca1.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/cb1.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/cb1.dat
deleted file mode 100644
index 73dc986572..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/cb1.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/cc0.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/cc0.dat
deleted file mode 100644
index d1eef3bb56..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/cc0.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/cd1.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/cd1.dat
deleted file mode 100644
index c7e6db3ef7..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/cd1.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/ce1.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/ce1.dat
deleted file mode 100644
index 8fd3bf17a8..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/ce1.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/cf0.dat b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/cf0.dat
deleted file mode 100644
index 332b3d9a8a..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/seg0/cf0.dat
+++ /dev/null
Binary files differ
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/service.properties b/tags/java-M1-20060518/java/samples/das/companyweb/dastest/service.properties
deleted file mode 100644
index 8cfe3b09a5..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/dastest/service.properties
+++ /dev/null
@@ -1,22 +0,0 @@
-#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/tags/java-M1-20060518/java/samples/das/companyweb/pom.xml b/tags/java-M1-20060518/java/samples/das/companyweb/pom.xml
deleted file mode 100644
index 8dbf952e89..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/pom.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
-
- <parent>
- <groupId>org.apache.tuscany.samples.das</groupId>
- <artifactId>tuscany-samples-das</artifactId>
- <version>incubating-M1</version>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
- <artifactId>sample-companyweb</artifactId>
- <packaging>war</packaging>
- <name>Tuscany DAS Company Sample</name>
- <description>Sample use of RDB DAS in a Web application</description>
- <version>incubating-M1</version>
-
- <dependencies>
-
- <dependency>
- <groupId>org.apache.tuscany.das</groupId>
- <artifactId>tuscany-das-rdb</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
-
- </dependencies>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/readme.htm b/tags/java-M1-20060518/java/samples/das/companyweb/readme.htm
deleted file mode 100644
index 349fee547a..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/readme.htm
+++ /dev/null
@@ -1,810 +0,0 @@
-<html xmlns:v="urn:schemas-microsoft-com:vml"
-xmlns:o="urn:schemas-microsoft-com:office:office"
-xmlns:w="urn:schemas-microsoft-com:office:word"
-xmlns:st1="urn:schemas-microsoft-com:office:smarttags"
-xmlns="http://www.w3.org/TR/REC-html40">
-
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
-<meta name=ProgId content=Word.Document>
-<meta name=Generator content="Microsoft Word 10">
-<meta name=Originator content="Microsoft Word 10">
-<link rel=File-List href="readme_files/filelist.xml">
-<title>Tuscany RDB DAS Sample</title>
-<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
- name="place"/>
-<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
- name="State"/>
-<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
- name="City"/>
-<!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Author>IBM_USER</o:Author>
- <o:LastAuthor>IBM_USER</o:LastAuthor>
- <o:Revision>2</o:Revision>
- <o:TotalTime>487</o:TotalTime>
- <o:Created>2006-05-17T18:53:00Z</o:Created>
- <o:LastSaved>2006-05-17T18:53:00Z</o:LastSaved>
- <o:Pages>1</o:Pages>
- <o:Words>1174</o:Words>
- <o:Characters>6695</o:Characters>
- <o:Company>IBM</o:Company>
- <o:Lines>55</o:Lines>
- <o:Paragraphs>15</o:Paragraphs>
- <o:CharactersWithSpaces>7854</o:CharactersWithSpaces>
- <o:Version>10.6735</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:SpellingState>Clean</w:SpellingState>
- <w:GrammarState>Clean</w:GrammarState>
- <w:Compatibility>
- <w:BreakWrappedTables/>
- <w:SnapToGridInCell/>
- <w:WrapTextWithPunct/>
- <w:UseAsianBreakRules/>
- </w:Compatibility>
- <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
- </w:WordDocument>
-</xml><![endif]--><!--[if !mso]><object
- classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui></object>
-<style>
-st1\:*{behavior:url(#ieooui) }
-</style>
-<![endif]-->
-<style>
-<!--
- /* Font Definitions */
- @font-face
- {font-family:Helv;
- panose-1:2 11 6 4 2 2 2 3 2 4;
- mso-font-alt:Arial;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-format:other;
- mso-font-pitch:variable;
- mso-font-signature:3 0 0 0 1 0;}
-@font-face
- {font-family:Wingdings;
- panose-1:5 0 0 0 0 0 0 0 0 0;
- mso-font-charset:2;
- mso-generic-font-family:auto;
- mso-font-pitch:variable;
- mso-font-signature:0 268435456 0 0 -2147483648 0;}
- /* Style Definitions */
- p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-h1
- {mso-style-next:Normal;
- margin-top:12.0pt;
- margin-right:0in;
- margin-bottom:3.0pt;
- margin-left:0in;
- mso-pagination:widow-orphan;
- page-break-after:avoid;
- mso-outline-level:1;
- font-size:16.0pt;
- font-family:Arial;
- mso-font-kerning:16.0pt;}
-h3
- {mso-style-next:Normal;
- margin-top:12.0pt;
- margin-right:0in;
- margin-bottom:3.0pt;
- margin-left:0in;
- mso-pagination:widow-orphan;
- page-break-after:avoid;
- mso-outline-level:3;
- font-size:13.0pt;
- font-family:Arial;}
-p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText
- {mso-style-noshow:yes;
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:10.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-span.MsoFootnoteReference
- {mso-style-noshow:yes;
- vertical-align:super;}
-a:link, span.MsoHyperlink
- {color:blue;
- text-decoration:underline;
- text-underline:single;}
-a:visited, span.MsoHyperlinkFollowed
- {color:purple;
- text-decoration:underline;
- text-underline:single;}
-code
- {font-family:"Courier New";
- mso-ascii-font-family:"Courier New";
- mso-fareast-font-family:"Times New Roman";
- mso-hansi-font-family:"Courier New";
- mso-bidi-font-family:"Courier New";}
-pre
- {margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:10.0pt;
- font-family:"Courier New";
- mso-fareast-font-family:"Times New Roman";}
-span.codefrag
- {mso-style-name:codefrag;}
-span.SpellE
- {mso-style-name:"";
- mso-spl-e:yes;}
-span.GramE
- {mso-style-name:"";
- mso-gram-e:yes;}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
- /* List Definitions */
- @list l0
- {mso-list-id:280770398;
- mso-list-type:hybrid;
- mso-list-template-ids:-1591061486 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
-@list l0:level1
- {mso-level-number-format:bullet;
- mso-level-text:\F0B7;
- mso-level-tab-stop:.5in;
- mso-level-number-position:left;
- text-indent:-.25in;
- font-family:Symbol;}
-@list l1
- {mso-list-id:400835612;
- mso-list-type:hybrid;
- mso-list-template-ids:1528458504 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
-@list l1:level1
- {mso-level-number-format:bullet;
- mso-level-text:\F0B7;
- mso-level-tab-stop:.5in;
- mso-level-number-position:left;
- text-indent:-.25in;
- font-family:Symbol;}
-@list l1:level2
- {mso-level-number-format:bullet;
- mso-level-text:o;
- mso-level-tab-stop:1.0in;
- mso-level-number-position:left;
- text-indent:-.25in;
- font-family:"Courier New";}
-@list l2
- {mso-list-id:646667692;
- mso-list-type:hybrid;
- mso-list-template-ids:-728441462 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
-@list l2:level1
- {mso-level-number-format:bullet;
- mso-level-text:\F0B7;
- mso-level-tab-stop:.5in;
- mso-level-number-position:left;
- text-indent:-.25in;
- font-family:Symbol;}
-@list l3
- {mso-list-id:975526902;
- mso-list-type:hybrid;
- mso-list-template-ids:1435802096 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
-@list l3:level1
- {mso-level-tab-stop:.5in;
- mso-level-number-position:left;
- text-indent:-.25in;}
-@list l4
- {mso-list-id:1071007661;
- mso-list-type:simple;
- mso-list-template-ids:-338687628;}
-@list l4:level1
- {mso-level-tab-stop:none;
- mso-level-number-position:left;
- mso-level-legacy:yes;
- mso-level-legacy-indent:0in;
- mso-level-legacy-space:0in;
- margin-left:0in;
- text-indent:0in;
- font-family:Helv;
- mso-ansi-font-weight:normal;}
-@list l5
- {mso-list-id:1305811547;
- mso-list-type:hybrid;
- mso-list-template-ids:42887628 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
-@list l5:level1
- {mso-level-tab-stop:.5in;
- mso-level-number-position:left;
- text-indent:-.25in;}
-@list l5:level2
- {mso-level-number-format:alpha-lower;
- mso-level-tab-stop:1.0in;
- mso-level-number-position:left;
- text-indent:-.25in;}
-@list l5:level3
- {mso-level-number-format:roman-lower;
- mso-level-tab-stop:1.5in;
- mso-level-number-position:right;
- text-indent:-9.0pt;}
-@list l6
- {mso-list-id:1605966365;
- mso-list-type:hybrid;
- mso-list-template-ids:14685132 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
-@list l6:level1
- {mso-level-tab-stop:.5in;
- mso-level-number-position:left;
- text-indent:-.25in;}
-@list l7
- {mso-list-id:1727725721;
- mso-list-type:hybrid;
- mso-list-template-ids:1480507190 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
-@list l7:level1
- {mso-level-number-format:bullet;
- mso-level-text:\F0B7;
- mso-level-tab-stop:.5in;
- mso-level-number-position:left;
- text-indent:-.25in;
- font-family:Symbol;}
-@list l8
- {mso-list-id:1766462262;
- mso-list-type:hybrid;
- mso-list-template-ids:2029450580 67698689 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
-@list l8:level1
- {mso-level-number-format:bullet;
- mso-level-text:\F0B7;
- mso-level-tab-stop:.5in;
- mso-level-number-position:left;
- text-indent:-.25in;
- font-family:Symbol;}
-@list l8:level2
- {mso-level-number-format:alpha-lower;
- mso-level-tab-stop:1.0in;
- mso-level-number-position:left;
- text-indent:-.25in;}
-@list l9
- {mso-list-id:1923829381;
- mso-list-template-ids:559690966;}
-@list l9:level1
- {mso-level-number-format:bullet;
- mso-level-text:\F0B7;
- mso-level-tab-stop:.5in;
- mso-level-number-position:left;
- text-indent:-.25in;
- mso-ansi-font-size:10.0pt;
- font-family:Symbol;}
-@list l9:level2
- {mso-level-number-format:bullet;
- mso-level-text:o;
- mso-level-tab-stop:1.0in;
- mso-level-number-position:left;
- text-indent:-.25in;
- mso-ansi-font-size:10.0pt;
- font-family:"Courier New";
- mso-bidi-font-family:"Times New Roman";}
-@list l10
- {mso-list-id:2004123601;
- mso-list-type:hybrid;
- mso-list-template-ids:2035459332 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
-@list l10:level1
- {mso-level-number-format:bullet;
- mso-level-text:\F0B7;
- mso-level-tab-stop:.5in;
- mso-level-number-position:left;
- text-indent:-.25in;
- font-family:Symbol;}
-@list l11
- {mso-list-id:2114665119;
- mso-list-type:hybrid;
- mso-list-template-ids:1704226536 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
-@list l11:level1
- {mso-level-number-format:bullet;
- mso-level-text:\F0B7;
- mso-level-tab-stop:.5in;
- mso-level-number-position:left;
- text-indent:-.25in;
- font-family:Symbol;}
-ol
- {margin-bottom:0in;}
-ul
- {margin-bottom:0in;}
--->
-</style>
-<!--[if gte mso 10]>
-<style>
- /* Style Definitions */
- table.MsoNormalTable
- {mso-style-name:"Table Normal";
- mso-tstyle-rowband-size:0;
- mso-tstyle-colband-size:0;
- mso-style-noshow:yes;
- mso-style-parent:"";
- mso-padding-alt:0in 5.4pt 0in 5.4pt;
- mso-para-margin:0in;
- mso-para-margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:10.0pt;
- font-family:"Times New Roman";}
-</style>
-<![endif]--><!--[if gte mso 9]><xml>
- <o:shapedefaults v:ext="edit" spidmax="2050"/>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <o:shapelayout v:ext="edit">
- <o:idmap v:ext="edit" data="1"/>
- </o:shapelayout></xml><![endif]-->
-</head>
-
-<body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>
-
-<div class=Section1>
-
-<p class=MsoNormal><span class=GramE><span style='font-size:9.0pt'>Copyright<span
-style='color:black'> </span>(c)<span style='color:black'> </span>2005<span
-style='color:black'> </span>The<span style='color:black'> </span>Apache<span
-style='color:black'> </span>Software<span style='color:black'> </span>Foundation<span
-style='color:black'> </span>or<span style='color:black'> </span>its<span
-style='color:black'> </span>licensors,<span style='color:black'> </span>as<span
-style='color:black'> </span>applicable.</span></span><span style='font-size:
-9.0pt'><o:p></o:p></span></p>
-
-<p class=MsoNormal><span style='font-size:9.0pt'>Licensed<span
-style='color:black'> </span>under<span style='color:black'> </span>the<span
-style='color:black'> </span>Apache<span style='color:black'> </span>License,<span
-style='color:black'> </span>Version<span style='color:black'> </span>2.0<span
-style='color:black'> </span>(the<span style='color:black'> </span>&quot;License&quot;);
-you<span style='color:black'> </span>may<span style='color:black'> </span>not<span
-style='color:black'> </span>use<span style='color:black'> </span>this<span
-style='color:black'> </span>file<span style='color:black'> </span>except<span
-style='color:black'> </span>in<span style='color:black'> </span>compliance<span
-style='color:black'> </span>with<span style='color:black'> </span>the<span
-style='color:black'> </span>License. You<span style='color:black'> </span>may<span
-style='color:black'> </span>obtain<span style='color:black'> </span>a<span
-style='color:black'> </span>copy<span style='color:black'> </span>of<span
-style='color:black'> </span>the<span style='color:black'> </span>License<span
-style='color:black'> </span>at<o:p></o:p></span></p>
-
-<p class=MsoNormal><span style='font-size:9.0pt'><o:p>&nbsp;</o:p></span></p>
-
-<p class=MsoNormal><span style='font-size:9.0pt;color:black'><span
-style='mso-spacerun:yes'>   </span><span style='mso-spacerun:yes'>  </span></span><span
-style='font-size:9.0pt'>http://www.apache.org/licenses/LICENSE-2.0<o:p></o:p></span></p>
-
-<p class=MsoNormal><span style='font-size:9.0pt'><o:p>&nbsp;</o:p></span></p>
-
-<p class=MsoNormal><span style='font-size:9.0pt'>Unless<span style='color:black'>
-</span>required<span style='color:black'> </span>by<span style='color:black'> </span>applicable<span
-style='color:black'> </span>law<span style='color:black'> </span>or<span
-style='color:black'> </span>agreed<span style='color:black'> </span>to<span
-style='color:black'> </span>in<span style='color:black'> </span>writing,<span
-style='color:black'> </span>software distributed<span style='color:black'> </span>under<span
-style='color:black'> </span>the<span style='color:black'> </span>License<span
-style='color:black'> </span>is<span style='color:black'> </span>distributed<span
-style='color:black'> </span>on<span style='color:black'> </span>an<span
-style='color:black'> </span>&quot;AS<span style='color:black'> </span>IS&quot;<span
-style='color:black'> </span>BASIS, WITHOUT<span style='color:black'> </span>WARRANTIES<span
-style='color:black'> </span>OR<span style='color:black'> </span>CONDITIONS<span
-style='color:black'> </span>OF<span style='color:black'> </span>ANY<span
-style='color:black'> </span>KIND,<span style='color:black'> </span>either<span
-style='color:black'> </span>express<span style='color:black'> </span>or<span
-style='color:black'> </span>implied. See<span style='color:black'> </span>the<span
-style='color:black'> </span>License<span style='color:black'> </span>for<span
-style='color:black'> </span>the<span style='color:black'> </span>specific<span
-style='color:black'> </span>language<span style='color:black'> </span>governing<span
-style='color:black'> </span>permissions<span style='color:black'> </span>and
-limitations<span style='color:black'> </span>under<span style='color:black'> </span>the<span
-style='color:black'> </span>License.<o:p></o:p></span></p>
-
-<p class=MsoNormal><span style='font-size:9.0pt'><o:p>&nbsp;</o:p></span></p>
-
-<p class=MsoNormal align=right style='text-align:right'><span style='font-size:
-9.0pt'>Kevin Williams<o:p></o:p></span></p>
-
-<p class=MsoNormal align=right style='text-align:right'><span style='font-size:
-9.0pt'>V-0.4<o:p></o:p></span></p>
-
-<h1><st1:State><st1:place>Tuscany</st1:place></st1:State> RDB DAS Sample (<span
-class=SpellE>companyweb</span>)</h1>
-
-<p class=MsoNormal><o:p>&nbsp;</o:p></p>
-
-<p class=MsoNormal><o:p>&nbsp;</o:p></p>
-
-<p class=MsoNormal>This stand-alone sample demonstrates the SDO RDB Data Access
-Service in the context of a simple web application.</p>
-
-<p class=MsoNormal><o:p>&nbsp;</o:p></p>
-
-<p class=MsoNormal>The application starts with a canned database of Companies
-and their related Departments.<span style='mso-spacerun:yes'>  </span>Through
-the web page interface, a user can:</p>
-
-<p class=MsoNormal><o:p>&nbsp;</o:p></p>
-
-<ol style='margin-top:0in' start=1 type=1>
- <li class=MsoNormal style='mso-list:l3 level1 lfo1;tab-stops:list .5in'>Display
- all Companies in the database</li>
- <li class=MsoNormal style='mso-list:l3 level1 lfo1;tab-stops:list .5in'>Display
- all Companies and related Departments</li>
- <li class=MsoNormal style='mso-list:l3 level1 lfo1;tab-stops:list .5in'>Add a
- new Department to a Company</li>
- <li class=MsoNormal style='mso-list:l3 level1 lfo1;tab-stops:list .5in'>Delete
- all Departments from a Company</li>
- <li class=MsoNormal style='mso-list:l3 level1 lfo1;tab-stops:list .5in'>Change
- the names of Departments in a Company</li>
-</ol>
-
-<p class=MsoNormal><o:p>&nbsp;</o:p></p>
-
-<p class=MsoNormal>So, this simple application covers all CRUD operations as
-well as the some relationship manipulation (adding a Department associates that
-Department with the Company).<span style='mso-spacerun:yes'>  </span>The sample
-runs on Tomcat 5.5 and employs a <st1:City><st1:place>Derby</st1:place></st1:City>
-database accessed via a DataSource.</p>
-
-<p class=MsoNormal><o:p>&nbsp;</o:p></p>
-
-<h1>Running the sample</h1>
-
-<p class=MsoNormal>There are three options for running this sample:</p>
-
-<p class=MsoNormal><o:p>&nbsp;</o:p></p>
-
-<ol style='margin-top:0in' start=1 type=1>
- <li class=MsoNormal style='mso-list:l6 level1 lfo12;tab-stops:list .5in'>Run
- from Tomcat in the binary distribution</li>
- <li class=MsoNormal style='mso-list:l6 level1 lfo12;tab-stops:list .5in'>Run
- from Tomcat configured by the build</li>
- <li class=MsoNormal style='mso-list:l6 level1 lfo12;tab-stops:list .5in'>Run
- from Tomcat you configure yourself</li>
-</ol>
-
-<h3>Running from binary distribution</h3>
-
-<p class=MsoNormal>This sample is also pre-deployed in a Tomcat instance as
-part of the <st1:State><st1:place>Tuscany</st1:place></st1:State> binary
-distribution.<span style='mso-spacerun:yes'>  </span>When running the sample
-this way, you just:</p>
-
-<ul type=disc>
- <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
- mso-list:l9 level1 lfo11;tab-stops:list .5in'>Unzip the distribution
- archive</li>
- <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
- mso-list:l9 level1 lfo11;tab-stops:list .5in'>Change the directory to
- &nbsp;<b>apache-tomcat-5.5.17\bin</b><o:p></o:p></li>
- <ul type=circle>
- <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
- auto;mso-list:l9 level2 lfo11;tab-stops:list 1.0in'><span
- style='mso-bidi-font-weight:bold'>If you start Tomcat from some other
- location then it will not find the canned database</span></li>
- </ul>
- <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
- mso-list:l9 level1 lfo11;tab-stops:list .5in'>Execute: <code><span
- style='font-size:10.0pt'>startup</span></code><code><span
- style='mso-ansi-font-size:12.0pt;mso-bidi-font-size:12.0pt;font-family:
- "Times New Roman"'><o:p></o:p></span></code></li>
- <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
- mso-list:l9 level1 lfo11;tab-stops:list .5in'>Point your browser to http://localhost:8080/sample-companyweb/</li>
-</ul>
-
-<h3>Running from Tomcat configured by the build<o:p></o:p></h3>
-
-<p class=MsoNormal>This sample application is deployed (along with the canned
-test database) to an instance of Tomcat as part of our automated sample
-testing.<span style='mso-spacerun:yes'>  </span>This means you can run the
-java/testing/tomcat build (see java/testing/tomcat/<span class=GramE>readme.htm
-)</span><span style='mso-spacerun:yes'>  </span>and then access the application
-by pointing your browser to http://localhost:8080/sample-companyweb/.<span
-style='mso-spacerun:yes'>  </span></p>
-
-<h3>Running from Tomcat you configure yourself</h3>
-
-<p class=MsoNormal>Alternatively, you can deploy the sample to your own configured
-Tomcat installation by following the instructions below.<span
-style='mso-spacerun:yes'>  </span>These instructions assume that you have
-downloaded the <st1:State><st1:place>Tuscany</st1:place></st1:State> source and
-run our maven build.<span style='mso-spacerun:yes'>  </span><a
-href="https://svn.apache.org/repos/asf/incubator/tuscany/java/BUILDING.txt">https://svn.apache.org/repos/asf/incubator/tuscany/java/BUILDING.txt</a></p>
-
-<h1><span style='font-size:12.0pt;mso-bidi-font-size:16.0pt;font-family:"Times New Roman";
-mso-bidi-font-family:Arial;mso-font-kerning:0pt'>Set Up<o:p></o:p></span></h1>
-
-<ol style='margin-top:0in' start=1 type=1>
- <li class=MsoNormal style='mso-list:l5 level1 lfo2;tab-stops:list .5in'>Download
- and install the most recent stable version of Tomcat 5.5.<span
- style='mso-spacerun:yes'>  </span>You can find it here: <a
- href="http://tomcat.apache.org/download-55.cgi">http://tomcat.apache.org/download-55.cgi</a></li>
- <li class=MsoNormal style='mso-list:l5 level1 lfo2;tab-stops:list .5in'>Download
- the most recent official release of <st1:City><st1:place>Derby</st1:place></st1:City>
- from here: <a href="http://db.apache.org/derby/index.html">http://db.apache.org/derby/index.html</a>.<span
- style='mso-spacerun:yes'>  </span>The only file you’ll need from this
- download is <span class=SpellE>derby.jar</span></li>
- <li class=MsoNormal style='mso-list:l5 level1 lfo2;tab-stops:list .5in'>Stop
- Tomcat</li>
- <li class=MsoNormal style='mso-list:l5 level1 lfo2;tab-stops:list .5in'>Move
- the following files (details in appendix) to {<span class=SpellE>Tomcat_Home</span>}/common/lib:</li>
- <ol style='margin-top:0in' start=1 type=a>
- <li class=MsoNormal style='mso-list:l5 level2 lfo2;tab-stops:list 1.0in'><span
- class=SpellE>tuscany-das-rdb-xxx.jar</span></li>
- <li class=MsoNormal style='mso-list:l5 level2 lfo2;tab-stops:list 1.0in'><span
- class=SpellE>sdo-api-xxx.jar</span></li>
- <li class=MsoNormal style='mso-list:l5 level2 lfo2;tab-stops:list 1.0in'><span
- class=SpellE>tuscany-sdo-impl-xxx.jar</span></li>
- <li class=MsoNormal style='mso-list:l5 level2 lfo2;tab-stops:list 1.0in'><span
- class=SpellE>xsd</span>{latest version}.jar</li>
- <li class=MsoNormal style='mso-list:l5 level2 lfo2;tab-stops:list 1.0in'><span
- class=SpellE>ecore</span>-{latest version}.jar</li>
- <li class=MsoNormal style='mso-list:l5 level2 lfo2;tab-stops:list 1.0in'><span
- class=SpellE>ecore</span>-change-{latest version}.jar</li>
- <li class=MsoNormal style='mso-list:l5 level2 lfo2;tab-stops:list 1.0in'><span
- class=SpellE>ecore-xmi</span>-{latest version}.jar</li>
- <li class=MsoNormal style='mso-list:l5 level2 lfo2;tab-stops:list 1.0in'>common-{latest
- version}.jar</li>
- <li class=MsoNormal style='mso-list:l5 level2 lfo2;tab-stops:list 1.0in'><span
- class=SpellE>derby.jar</span></li>
- </ol>
- <li class=MsoNormal style='mso-list:l5 level1 lfo2;tab-stops:list .5in'>Add
- the sample war file (details in appendix) to {<span class=SpellE>Tomcat_Home</span>}/<span
- class=SpellE>webapps</span></li>
- <ol style='margin-top:0in' start=1 type=a>
- <li class=MsoNormal style='mso-list:l5 level2 lfo2;tab-stops:list 1.0in'>sample-<span
- class=SpellE>companyweb-xxx.war</span></li>
- </ol>
- <li class=MsoNormal style='mso-list:l5 level1 lfo2;tab-stops:list .5in'>Install
- the canned <st1:City><st1:place>Derby</st1:place></st1:City> database to
- Tomcat: </li>
- <ol style='margin-top:0in' start=1 type=a>
- <li class=MsoNormal style='mso-list:l5 level2 lfo2;tab-stops:list 1.0in'>Create
- {<span class=SpellE>Tomcat_Home</span>}/Databases</li>
- <li class=MsoNormal style='mso-list:l5 level2 lfo2;tab-stops:list 1.0in'>Copy
- the <span class=SpellE>dastest</span> folder (and all its contents) from {build
- directory root}/java/samples/<span class=SpellE>das/companyweb</span> to
- {<span class=SpellE>Tomcat_Home</span>}/Databases.<span
- style='mso-spacerun:yes'>   </span></li>
- </ol>
- <li class=MsoNormal style='mso-list:l5 level1 lfo2;tab-stops:list .5in'>Define
- a DataSource by adding a <span class=SpellE>datasource</span> definition
- to {<span class=SpellE><span class=codefrag>Tomcat_Home</span></span><span
- class=codefrag>}/conf/<span class=SpellE>server.xml</span></span>.</li>
- <ol style='margin-top:0in' start=1 type=a>
- <li class=MsoNormal style='mso-list:l5 level2 lfo2;tab-stops:list 1.0in'>Find
- the end-of-section marker <span class=codefrag>&lt;/<span class=SpellE>GlobalNamingResources</span>&gt;</span>
- and add the following lines just above it: </li>
- </ol>
-</ol>
-
-<p class=MsoNormal style='margin-left:.5in'><o:p>&nbsp;</o:p></p>
-
-<pre><span style='mso-spacerun:yes'>        </span><span class=GramE><span
-style='font-size:9.0pt'>&lt;!--</span></span><span style='font-size:9.0pt'> Global <span
-class=SpellE>Datasource</span> for </span><st1:City><st1:place><span
- style='font-size:9.0pt'>Derby</span></st1:place></st1:City><span
-style='font-size:9.0pt'> <span class=SpellE>dastest</span> database --&gt;<o:p></o:p></span></pre><pre><span
-style='font-size:9.0pt'><span style='mso-spacerun:yes'>         </span>&lt;Resource name=&quot;<span
-class=SpellE>jdbc/dastest</span>&quot;<o:p></o:p></span></pre><pre><span
-style='font-size:9.0pt'><span style='mso-spacerun:yes'>              </span><span
-class=GramE>type</span>=&quot;<span class=SpellE>javax.sql.DataSource</span>&quot;<span style='mso-spacerun:yes'>  </span>auth=&quot;Container&quot;<o:p></o:p></span></pre><pre><span
-style='font-size:9.0pt'><span style='mso-spacerun:yes'>              </span><span
-class=GramE>description</span>=&quot;</span><st1:City><st1:place><span
- style='font-size:9.0pt'>Derby</span></st1:place></st1:City><span
-style='font-size:9.0pt'> database for DAS Company sample&quot;<o:p></o:p></span></pre><pre><span
-style='font-size:9.0pt'><span style='mso-spacerun:yes'>              </span><span
-class=SpellE><span class=GramE>maxActive</span></span>=&quot;100&quot; <span
-class=SpellE>maxIdle</span>=&quot;30&quot; <span class=SpellE>maxWait</span>=&quot;10000&quot;<o:p></o:p></span></pre><pre><span
-style='font-size:9.0pt'><span style='mso-spacerun:yes'>              </span>username=&quot;&quot; password=&quot;&quot; <o:p></o:p></span></pre><pre><span
-style='font-size:9.0pt'><span style='mso-spacerun:yes'>              </span><span
-class=SpellE><span class=GramE>driverClassName</span></span>=&quot;<span
-class=SpellE>org.apache.derby.jdbc.EmbeddedDriver</span>&quot;<o:p></o:p></span></pre><pre><span
-style='font-size:9.0pt'><span style='mso-spacerun:yes'>              </span><span
-class=SpellE><span class=GramE>url</span></span>=&quot;<span class=SpellE>jdbc:derby:Databases/dastest</span>&quot;/&gt;<o:p></o:p></span></pre>
-
-<p class=MsoNormal style='margin-left:.5in'><span
-style='mso-spacerun:yes'> </span>NOTE: If you are NOT starting Tomcat as a
-service then you will need to provide the absolute path in the above <span
-class=SpellE><span class=GramE>url</span></span>.<span
-style='mso-spacerun:yes'>  </span>Fore example:</p>
-
-<p class=MsoNormal style='margin-left:.5in'><o:p>&nbsp;</o:p></p>
-
-<pre><span style='mso-spacerun:yes'>         </span><span class=SpellE>url</span>=&quot;jdbc:derby:c:\apache-tomcat-5.5.17\Databases/dastest&quot;/&gt;<span
-style='font-size:9.0pt'><o:p></o:p></span></pre>
-
-<p class=MsoNormal style='margin-left:.5in'><span
-style='mso-spacerun:yes'> </span></p>
-
-<ol style='margin-top:0in' start=8 type=1>
- <li class=MsoNormal style='mso-list:l5 level1 lfo2;tab-stops:list .5in'>Start
- tomcat and either:</li>
-</ol>
-
-<p class=MsoNormal style='margin-left:1.0in'><span class=GramE>go</span> to the
-manager console <a href="http://localhost:8080/manager/html">http://localhost:8080/manager/html</a>
-and select the application named “<span style='font-size:10.0pt'>Tuscany DAS
-sample Company WEB”</span><o:p></o:p></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span class=GramE>or</span>:</p>
-
-<p class=MsoNormal style='margin-left:1.0in'><span class=GramE>point</span>
-your browser to :</p>
-
-<p class=MsoNormal style='margin-left:1.5in'><a
-href="http://localhost:8080/sample-companyweb-%7bversion%20name%7d/">http://localhost:8080/sample-companyweb-{version
-name}/</a></p>
-
-<p class=MsoNormal style='margin-left:1.0in'><o:p>&nbsp;</o:p></p>
-
-<p class=MsoNormal style='margin-left:1.0in'>NOTE: for the M1 version of <st1:State><st1:place>Tuscany</st1:place></st1:State>
-sample the <span class=SpellE><span class=GramE>url</span></span> is:</p>
-
-<p class=MsoNormal style='margin-left:1.5in'>http://localhost:8080/sample-companyweb-incubating-M1/<o:p></o:p></p>
-
-<p class=MsoNormal><sub><o:p>&nbsp;</o:p></sub></p>
-
-<h1>Sample Architecture</h1>
-
-<p class=MsoNormal>This is a simple, single-page, web application.<span
-style='mso-spacerun:yes'>  </span>The main components of this application are:</p>
-
-<ul style='margin-top:0in' type=disc>
- <li class=MsoNormal style='mso-list:l2 level1 lfo3;tab-stops:list .5in'>The
- RDB Data Access Service (DAS)</li>
- <li class=MsoNormal style='mso-list:l2 level1 lfo3;tab-stops:list .5in'>SDO</li>
- <li class=MsoNormal style='mso-list:l2 level1 lfo3;tab-stops:list .5in'><span
- class=SpellE>CompanyClient.java</span></li>
- <li class=MsoNormal style='mso-list:l2 level1 lfo3;tab-stops:list .5in'><span
- class=SpellE>Company.jsp</span></li>
- <li class=MsoNormal style='mso-list:l2 level1 lfo3;tab-stops:list .5in'>The
- canned <st1:City><st1:place>Derby</st1:place></st1:City> database</li>
-</ul>
-
-<p class=MsoNormal><o:p>&nbsp;</o:p></p>
-
-<p class=MsoNormal><o:p>&nbsp;</o:p></p>
-
-<p class=MsoNormal>The <span class=SpellE><b style='mso-bidi-font-weight:normal'>CompanyClient</b></span>
-uses the <b style='mso-bidi-font-weight:normal'>DAS</b> directly and provides
-high-level services to the <span class=SpellE>jsp</span> such as:</p>
-
-<p class=MsoNormal style='margin-left:.5in'><span class=GramE>public</span>
-final List <span class=SpellE>getCompanies</span>()</p>
-
-<p class=MsoNormal>This is a good place to look for how you might use the DAS
-in your own application.</p>
-
-<p class=MsoNormal style='margin-left:.5in'><o:p>&nbsp;</o:p></p>
-
-<p class=MsoNormal>The <span class=SpellE><b style='mso-bidi-font-weight:normal'>Company.jsp</b></span>
-responds to client interaction by invoking services of the <span class=SpellE>CompanyClient</span>.<span
-style='mso-spacerun:yes'>  </span>It receives data from the <span class=SpellE>CompanyClient</span>
-as SDO data graphs and manipulates SDOs directly to display data.</p>
-
-<p class=MsoNormal><o:p>&nbsp;</o:p></p>
-
-<p class=MsoNormal>The canned <st1:City><st1:place><b style='mso-bidi-font-weight:
- normal'>Derby</b></st1:place></st1:City><b style='mso-bidi-font-weight:normal'>
-database</b> comes preloaded with Companies and related Departments.<span
-style='mso-spacerun:yes'>  </span>The <st1:City><st1:place>Derby</st1:place></st1:City>
-database instance is a simple file folder.</p>
-
-<p class=MsoNormal><o:p>&nbsp;</o:p></p>
-
-<p class=MsoNormal>The <b style='mso-bidi-font-weight:normal'>DAS</b> accepts
-directives (commands) from the <span class=SpellE><b style='mso-bidi-font-weight:
-normal'>CompanyClient</b></span><b style='mso-bidi-font-weight:normal'> </b>and
-reads and writes to the derby database instance appropriately.<b
-style='mso-bidi-font-weight:normal'> <o:p></o:p></b></p>
-
-<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><o:p>&nbsp;</o:p></b></p>
-
-<h1>Appendix</h1>
-
-<p class=MsoNormal><o:p>&nbsp;</o:p></p>
-
-<p class=MsoNormal>The following specifies the location of all dependency jars needed
-to run this sample.<span style='mso-spacerun:yes'>  </span>These jars are
-available <b style='mso-bidi-font-weight:normal'>only</b> after you have
-successfully downloaded and built Tuscany/java.<span style='mso-spacerun:yes'> 
-</span>Instructions for building can be found here: </p>
-
-<p class=MsoNormal style='margin-left:.5in'><a
-href="https://svn.apache.org/repos/asf/incubator/tuscany/java/BUILDING.txt">https://svn.apache.org/repos/asf/incubator/tuscany/java/BUILDING.txt</a></p>
-
-<p class=MsoNormal style='margin-left:.5in'><o:p>&nbsp;</o:p></p>
-
-<p class=MsoNormal><span class=GramE>Dependency jar</span> locations:</p>
-
-<p class=MsoNormal><o:p>&nbsp;</o:p></p>
-
-<p class=MsoNormal style='margin-left:.25in'><span style='font-size:10.0pt'>For
-Step #4<o:p></o:p></span></p>
-
-<ul style='margin-top:0in' type=disc>
- <li class=MsoNormal style='mso-list:l8 level1 lfo4;tab-stops:list .5in'><span
- class=SpellE><span style='font-size:10.0pt'>tuscany-das-rdb-xxx.jar</span></span><span
- style='font-size:10.0pt'> – {build directory root}/java/<span
- class=SpellE>das/rdb/target</span><o:p></o:p></span></li>
- <li class=MsoNormal style='mso-list:l8 level1 lfo4;tab-stops:list .5in'><span
- class=SpellE><span style='font-size:10.0pt'>sdo-api-xxx.jar</span></span><span
- style='font-size:10.0pt'> – {build directory root}/java/spec/<span
- class=SpellE>sdo</span>/target<o:p></o:p></span></li>
- <li class=MsoNormal style='mso-list:l8 level1 lfo4;tab-stops:list .5in'><span
- class=SpellE><span style='font-size:10.0pt'>tuscany-sdo-impl-xxx.jar</span></span><span
- style='font-size:10.0pt'> – {build directory root}//java/<span
- class=SpellE>sdo/impl/target</span><o:p></o:p></span></li>
- <li class=MsoNormal style='mso-list:l8 level1 lfo4;tab-stops:list .5in'><span
- class=SpellE><span style='font-size:10.0pt'>xsd</span></span><span
- style='font-size:10.0pt'>{latest version}.jar –
- {user}/.m2/repository/org/eclipse/xsd<o:p></o:p></span></li>
- <li class=MsoNormal style='mso-list:l8 level1 lfo4;tab-stops:list .5in'><span
- class=SpellE><span style='font-size:10.0pt'>ecore</span></span><span
- style='font-size:10.0pt'>-{latest version}.jar –
- {user}/.m2/repository/org/eclipse/emf/ecore<o:p></o:p></span></li>
- <li class=MsoNormal style='mso-list:l8 level1 lfo4;tab-stops:list .5in'><span
- class=SpellE><span style='font-size:10.0pt'>ecore</span></span><span
- style='font-size:10.0pt'>-change-{latest version}.jar –
- {user}/.m2/repository/org/eclipse/emf/ecore-change<o:p></o:p></span></li>
- <li class=MsoNormal style='mso-list:l8 level1 lfo4;tab-stops:list .5in'><span
- class=SpellE><span style='font-size:10.0pt'>ecore-xmi</span></span><span
- style='font-size:10.0pt'>-{latest version}.jar <span
- style='mso-spacerun:yes'> </span>– {user}/.m2/repository/org/eclipse/emf/ecore-xmi<o:p></o:p></span></li>
- <li class=MsoNormal style='mso-list:l8 level1 lfo4;tab-stops:list .5in'><span
- style='font-size:10.0pt'>common-{latest version}.jar<span
- style='mso-spacerun:yes'>  </span>– {user}/.m2/repository/org/eclipse/emf/common<o:p></o:p></span></li>
- <li class=MsoNormal style='mso-list:l8 level1 lfo4;tab-stops:list .5in'><span
- class=SpellE><span style='font-size:10.0pt'>derby.jar</span></span><span
- style='font-size:10.0pt'> – Extract from the archive file you downloaded
- in step #2<o:p></o:p></span></li>
-</ul>
-
-<p class=MsoNormal><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></p>
-
-<p class=MsoNormal>Application artifact locations:</p>
-
-<p class=MsoNormal style='margin-left:.25in'><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></p>
-
-<p class=MsoNormal style='margin-left:.25in'><span style='font-size:10.0pt'>For
-Step #5<o:p></o:p></span></p>
-
-<ul style='margin-top:0in' type=disc>
- <li class=MsoNormal style='mso-list:l11 level1 lfo10;tab-stops:list .5in'><span
- style='font-size:10.0pt'>sample-<span class=SpellE>companyweb-xxx.war</span>
- - {build directory root}/java/samples/<span class=SpellE>das/companyweb/target</span><o:p></o:p></span></li>
-</ul>
-
-<p class=MsoNormal><o:p>&nbsp;</o:p></p>
-
-<p class=MsoNormal>Conventions:</p>
-
-<ul style='margin-top:0in' type=disc>
- <li class=MsoNormal style='mso-list:l0 level1 lfo5;tab-stops:list .5in'><span
- style='font-size:10.0pt'>{<span class=GramE>user</span>} refers the
- directory where Maven2 is installed on your machine.<span
- style='mso-spacerun:yes'>  </span>On my machine, “{user}” is “C:\Documents
- and Settings\Administrator”<o:p></o:p></span></li>
- <li class=MsoNormal style='mso-list:l0 level1 lfo5;tab-stops:list .5in'><span
- style='font-size:10.0pt'>{<span class=SpellE>Tomcat_Home</span>} refers to
- the directory that Tomcat is installed on your machine.<span
- style='mso-spacerun:yes'>  </span>On my machine, this is “C:\Program
- Files\Apache Software Foundation\Tomcat 5.5”<o:p></o:p></span></li>
- <li class=MsoNormal style='mso-list:l0 level1 lfo5;tab-stops:list .5in'><span
- style='font-size:10.0pt'>{<span class=GramE>latest</span> version} means
- the tag associated with the latest version available in the maven2
- repository.<span style='mso-spacerun:yes'>  </span>For example the version
- of <span class=SpellE>ecore</span>-{latest version}.jar that I used for
- testing this sample is “ecore-2.2.0-RC4.jar”<o:p></o:p></span></li>
- <li class=MsoNormal style='mso-list:l0 level1 lfo5;tab-stops:list .5in'><span
- style='font-size:10.0pt'>{build directory root} refers to the target
- directory for the <span class=SpellE>tuscany</span>/java source you are
- building from<o:p></o:p></span></li>
-</ul>
-
-</div>
-
-</body>
-
-</html>
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/src/main/java/org/apache/tuscany/samples/das/companyweb/CompanyClient.java b/tags/java-M1-20060518/java/samples/das/companyweb/src/main/java/org/apache/tuscany/samples/das/companyweb/CompanyClient.java
deleted file mode 100644
index 63affa0649..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/src/main/java/org/apache/tuscany/samples/das/companyweb/CompanyClient.java
+++ /dev/null
@@ -1,154 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 org.apache.tuscany.samples.das.companyweb;
-
-import java.io.InputStream;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Random;
-
-import org.apache.tuscany.das.rdb.ApplyChangesCommand;
-import org.apache.tuscany.das.rdb.Command;
-import org.apache.tuscany.das.rdb.CommandGroup;
-
-import commonj.sdo.DataObject;
-
-public class CompanyClient {
-
- private Random generator = new Random();
-
- private CommandGroup commandGroup = CommandGroup.FACTORY.createCommandGroup(getConfig("CompanyConfig.xml"));
-
- public final List getCompanies() {
-
- Command read = commandGroup.getCommand("all companies");
- DataObject root = read.executeQuery();
- return root.getList("COMPANY");
-
- }
-
- public final List getCompaniesWithDepartments() {
-
- Command read = commandGroup.getCommand("all companies and departments");
- DataObject root = read.executeQuery();
- return root.getList("COMPANY");
- }
-
- public final List getDepartmentsForCompany(int id) {
- Command read = commandGroup.getCommand("all departments for company");
- read.setParameterValue("ID", new Integer(id));
- DataObject root = read.executeQuery();
- return root.getList("COMPANY");
- }
-
- public final void addDepartmentToFirstCompany() {
- Command read = commandGroup.getCommand("all companies and departments");
- DataObject root = read.executeQuery();
- DataObject firstCustomer = root.getDataObject("COMPANY[1]");
-
- DataObject newDepartment = root.createDataObject("DEPARTMENT");
- newDepartment.setString("NAME", "Default Name");
- firstCustomer.getList("departments").add(newDepartment);
-
- ApplyChangesCommand apply = commandGroup.getApplyChangesCommand();
- apply.execute(root);
-
- }
-
- public final void deleteDepartmentsFromFirstCompany() {
-
- // This section gets the ID of the first Company just so I can
- // demonstrate a parameterized command next
- Command readAll = commandGroup.getCommand("all companies and departments");
- DataObject root = readAll.executeQuery();
- int idOfFirstCustomer = root.getInt("COMPANY[1]/ID");
- System.out.println("ID of first company is: " + idOfFirstCustomer);
-
- // Read a specific company based on the known ID
- Command readCust = commandGroup.getCommand("company by id with departments");
- readCust.setParameterValue("ID", new Integer(idOfFirstCustomer));
- root = readCust.executeQuery();
-
- // Delete all the comany's departments from the graph
- DataObject firstCustomer = root.getDataObject("COMPANY[1]");
-
- // Shallow copy of list for deleting. This is required to avoid the
- // dreaded
- // ConcurrentModificationException since #delete operation also removes
- // from the original list
- List allDepartments = new ArrayList(firstCustomer.getList("departments"));
-
- Iterator i = allDepartments.iterator();
- DataObject department;
- while (i.hasNext()) {
- department = (DataObject) i.next();
- System.out.println("Deleting department named: " + department.getString("NAME"));
- department.delete();
- }
-
- ApplyChangesCommand apply = commandGroup.getApplyChangesCommand();
- apply.execute(root);
-
- }
-
- public final void changeFirstCompanysDepartmentNames() {
-
- // This section gets the ID of the first Company just so I can
- // demonstrate a parameterized command next
- Command readAll = commandGroup.getCommand("all companies and departments");
- DataObject root = readAll.executeQuery();
- int idOfFirstCustomer = root.getInt("COMPANY[1]/ID");
- System.out.println("ID of first company is: " + idOfFirstCustomer);
-
- // Read a specific company based on the known ID
- Command readCust = commandGroup.getCommand("company by id with departments");
- readCust.setParameterValue("ID", new Integer(idOfFirstCustomer));
- root = readCust.executeQuery();
-
- // Modify all the comany's department names
- DataObject firstCustomer = root.getDataObject("COMPANY[1]");
- Iterator i = firstCustomer.getList("departments").iterator();
- DataObject department;
- while (i.hasNext()) {
- department = (DataObject) i.next();
- System.out.println("Modifying department: " + department.getString("NAME"));
- department.setString("NAME", getRandomDepartmentName());
- }
-
- ApplyChangesCommand apply = commandGroup.getApplyChangesCommand();
- apply.execute(root);
-
- }
-
-
- public void releaseResources() {
- commandGroup.releaseResources();
- }
-
- // Utilities
-
- private String getRandomDepartmentName() {
- int number = generator.nextInt(1000) + 1;
- return "Dept-" + number;
- }
-
- private InputStream getConfig(String fileName) {
- return getClass().getClassLoader().getResourceAsStream(fileName);
- }
-
-}
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/src/main/resources/CompanyConfig.xml b/tags/java-M1-20060518/java/samples/das/companyweb/src/main/resources/CompanyConfig.xml
deleted file mode 100644
index fe1202ff69..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/src/main/resources/CompanyConfig.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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">
-
- <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 = :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 = :ID" kind="Select"/>
-
-
- <ConnectionProperties dataSource="java:comp/env/jdbc/dastest"/>
-
-
-<!--
- <ConnectionProperties driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
- driverURL="jdbc:derby:dastest"/>
--->
- <Table name="COMPANY">
- <Column name="ID" primaryKey="true" generated="true"/>
- </Table>
-
- <Table name="DEPARTMENT">
- <Column name="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/tags/java-M1-20060518/java/samples/das/companyweb/src/main/webapp/Company.jsp b/tags/java-M1-20060518/java/samples/das/companyweb/src/main/webapp/Company.jsp
deleted file mode 100644
index 12b9bd736e..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/src/main/webapp/Company.jsp
+++ /dev/null
@@ -1,157 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-
-<%--
- * Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
-<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
-
- pageEncoding="ISO-8859-1"
-
- import="org.apache.tuscany.samples.das.companyweb.CompanyClient"
- import="commonj.sdo.*"
-%>
-
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<title>Company Test</title>
-</head>
-<body>
-
-<H2>Tuscany DAS Companies WEB Example</H2>
-
-
-<form>
-<input type="submit" id="doFill" name="doFill" value="All Companies">
-<input type="submit" id="doFillAll" name="doFillAll" value="All Companies/Departments">
-<input type="submit" id="doAddDepartment" name="doAddDepartment" value="Add department to first company">
-<input type="submit" id="doChangeDepartmentNames" name="doChangeDepartmentNames" value="Change Company(1) Dept names">
-<input type="submit" id="doDeleteDepartments" name="doDeleteDepartments" value="Delete Company(1) Depts">
-<hr>
-
-<!-- Do Fill -->
-<%if(request.getParameter("doFill") != null){%>
-
-<table border>
- <thead>
- <tr>
- <th>ID</th>
- <th>Name</th>
- </tr>
- </thead>
- <tbody>
-
- <%
- CompanyClient companyClient = new CompanyClient();
- java.util.Iterator i = companyClient.getCompaniesWithDepartments().iterator();
- while (i.hasNext()) {
- DataObject company = (DataObject)i.next();
- %>
- <tr>
- <td><%=company.getInt("ID")%></td>
- <td><%=company.getString("NAME")%></td>
- <tr>
- <%
- }
- companyClient.releaseResources();
- %>
-
- </tbody>
-</table>
-<%}%>
-
-
-<!-- Do Add Department -->
-<%
-if(request.getParameter("doAddDepartment") != null){
- CompanyClient companyClient = new CompanyClient();
- companyClient.addDepartmentToFirstCompany();
- companyClient.releaseResources();
-}
-%>
-
-<!-- Do Delete Departments from first company -->
-<%
-if(request.getParameter("doDeleteDepartments") != null){
- CompanyClient companyClient = new CompanyClient();
- companyClient.deleteDepartmentsFromFirstCompany();
- companyClient.releaseResources();
-}
-%>
-
-<!-- Do Change First Company's Department Names -->
-<%
-if(request.getParameter("doChangeDepartmentNames") != null){
- CompanyClient companyClient = new CompanyClient();
- companyClient.changeFirstCompanysDepartmentNames();
- companyClient.releaseResources();
-}
-%>
-
-
-<!-- Do FillAll -->
-<%if(request.getParameter("doFill") == null) {%>
-
-<table border>
- <thead>
- <tr>
- <th>ID</th>
- <th>Name</th>
- <th>Department_ID</th>
- <th>Department_Name</th>
- </tr>
- </thead>
- <tbody>
-
- <%
- CompanyClient companyClient = new CompanyClient();
- java.util.Iterator i = companyClient.getCompaniesWithDepartments().iterator();
- while (i.hasNext()) {
- DataObject company = (DataObject)i.next();
- %>
- <tr>
- <td><%=company.getInt("ID")%></td>
- <td><%=company.getString("NAME")%></td>
- <tr>
-
-
-
- <%
- java.util.Iterator j = company.getList("departments").iterator();
- while (j.hasNext()) {
- DataObject department = (DataObject)j.next();
- %>
- <tr>
- <td></td><td></td><td><%=department.getInt("ID")%></td>
- <td><%=department.getString("NAME")%></td>
- <tr>
- <%
- }
- %>
- <%
- }
- companyClient.releaseResources();
- %>
-
- </tbody>
-</table>
-<%}%>
-
-
-
-</form>
-</body>
-</html>
diff --git a/tags/java-M1-20060518/java/samples/das/companyweb/src/main/webapp/META-INF/context.xml b/tags/java-M1-20060518/java/samples/das/companyweb/src/main/webapp/META-INF/context.xml
deleted file mode 100644
index fa95e589d3..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/src/main/webapp/META-INF/context.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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/tags/java-M1-20060518/java/samples/das/companyweb/src/main/webapp/WEB-INF/web.xml b/tags/java-M1-20060518/java/samples/das/companyweb/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index 2908daece9..0000000000
--- a/tags/java-M1-20060518/java/samples/das/companyweb/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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 sample Company WEB</display-name>
-
- <welcome-file-list id="WelcomeFileList">
- <welcome-file>Company.jsp</welcome-file>
- </welcome-file-list>
-
-</web-app>
diff --git a/tags/java-M1-20060518/java/samples/das/pom.xml b/tags/java-M1-20060518/java/samples/das/pom.xml
deleted file mode 100644
index fb59eef88e..0000000000
--- a/tags/java-M1-20060518/java/samples/das/pom.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
- <parent>
- <groupId>org.apache.tuscany.samples</groupId>
- <artifactId>tuscany-samples</artifactId>
- <version>incubating-M1</version>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.tuscany.samples.das</groupId>
- <artifactId>tuscany-samples-das</artifactId>
- <packaging>pom</packaging>
- <name>Tuscany DAS Samples</name>
- <version>incubating-M1</version>
-
- <modules>
- <module>companyweb</module>
- </modules>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/pom.xml b/tags/java-M1-20060518/java/samples/pom.xml
deleted file mode 100644
index 00ed085135..0000000000
--- a/tags/java-M1-20060518/java/samples/pom.xml
+++ /dev/null
@@ -1,94 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
- <groupId>org.apache.tuscany.samples</groupId>
- <artifactId>tuscany-samples</artifactId>
- <packaging>pom</packaging>
- <name>Tuscany Samples</name>
- <version>incubating-M1</version>
-
- <prerequisites>
- <maven>2.0</maven>
- </prerequisites>
-
- <licenses>
- <license>
- <name>The Apache Software License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
-
- <repositories>
- <repository>
- <id>ibiblio</id>
- <name>ibiblio</name>
- <url>http://www.ibiblio.org/maven2</url>
- </repository>
- <repository>
- <id>incubating-M1</id>
- <name>incubating-M1</name>
- <url>http://people.apache.org/~jsdelfino/maven2</url>
- </repository>
- </repositories>
-
- <modules>
- <module>das</module>
- <module>sca</module>
- </modules>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- </plugins>
-
- <resources>
- <resource>
- <directory>src/main/java</directory>
- <includes>
- <include>**/*.componentType</include>
- </includes>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- </resource>
- </resources>
-
- <testResources>
- <testResource>
- <directory>src/test/java</directory>
- <includes>
- <include>**/*.componentType</include>
- </includes>
- </testResource>
- <testResource>
- <directory>src/test/resources</directory>
- </testResource>
- </testResources>
- <defaultGoal>install</defaultGoal>
-
- </build>
-
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/build.xml b/tags/java-M1-20060518/java/samples/sca/build.xml
deleted file mode 100644
index 3df88aeeeb..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/build.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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">
-
- <target name="compile">
- <ant dir="calculator"/>
- <ant dir="customerinfo"/>
- <ant dir="helloworld"/>
- <ant dir="helloworlde4xws"/>
- <ant dir="helloworld-jms/client"/>
- <ant dir="helloworld-jms/server"/>
- <ant dir="helloworldjsclient"/>
- <ant dir="helloworldjsonrpc"/>
- <ant dir="helloworldweb"/>
- <ant dir="helloworldws"/>
- <ant dir="helloworldws-celtix"/>
- <ant dir="helloworldwsclient"/>
- <ant dir="supplychain"/>
- </target>
-
- <target name="clean">
- <ant dir="calculator" target="clean"/>
- <ant dir="customerinfo" target="clean"/>
- <ant dir="helloworld" target="clean"/>
- <ant dir="helloworlde4xws" target="clean"/>
- <ant dir="helloworld-jms/client" target="clean"/>
- <ant dir="helloworld-jms/server" target="clean"/>
- <ant dir="helloworldjsclient" target="clean"/>
- <ant dir="helloworldjsonrpc" target="clean"/>
- <ant dir="helloworldweb" target="clean"/>
- <ant dir="helloworldws" target="clean"/>
- <ant dir="helloworldws-celtix" target="clean"/>
- <ant dir="helloworldwsclient" target="clean"/>
- <ant dir="supplychain" target="clean"/>
- </target>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/calculator/LICENSE.txt b/tags/java-M1-20060518/java/samples/sca/calculator/LICENSE.txt
deleted file mode 100644
index d645695673..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/calculator/LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed 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.
diff --git a/tags/java-M1-20060518/java/samples/sca/calculator/README.txt b/tags/java-M1-20060518/java/samples/sca/calculator/README.txt
deleted file mode 100644
index 9b26d1690a..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/calculator/README.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-Apache Tuscany M1 build (May, 2006)
-===================================
-
-http://incubator.apache.org/tuscany/
-
-Tuscany is an effort undergoing incubation at the Apache Software Foundation
-(ASF), sponsored by the Web Services PMC.
-
-Incubation is required of all newly accepted projects until a further review
-indicates that the infrastructure, communications, and decision making process
-have stabilized in a manner consistent with other successful ASF projects.
-
-While incubation status is not necessarily a reflection of the completeness or
-stability of the code, it does indicate that the project has yet to be fully
-endorsed by the ASF.
-
-
-Support
--------
-
-Any problem with this release can be reported to the Tuscany mailing list
-or in the JIRA issue tracker.
-
-Mailing list subscription:
- tuscany-dev-subscribe@ws.apache.org
-
-Jira:
- http://issues.apache.org/jira/browse/Tuscany
-
-
-Thank you for using Tuscany!
-
-
-The Tuscany Team.
-
diff --git a/tags/java-M1-20060518/java/samples/sca/calculator/build.xml b/tags/java-M1-20060518/java/samples/sca/calculator/build.xml
deleted file mode 100644
index 91e143311b..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/calculator/build.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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-calculator.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>
- <jar destfile="target/sample-calculator.jar">
- <fileset dir="target/classes"/>
- </jar>
- </target>
-
- <target name="clean">
- <delete quiet="true" includeemptydirs="true">
- <fileset dir="target" excludes="sample-calculator-incubating-M1.jar"/>
- </delete>
- </target>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/calculator/pom.xml b/tags/java-M1-20060518/java/samples/sca/calculator/pom.xml
deleted file mode 100644
index 2a6e6864d8..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/calculator/pom.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
- <parent>
- <groupId>org.apache.tuscany.samples.sca</groupId>
- <artifactId>tuscany-samples-sca</artifactId>
- <version>incubating-M1</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>sample-calculator</artifactId>
- <packaging>jar</packaging>
- <name>Tuscany Calculator Sample</name>
- <description>A sample Calculator made of several SCA components wired together.</description>
- <version>incubating-M1</version>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany</groupId>
- <artifactId>tuscany-core</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca.containers</groupId>
- <artifactId>tuscany-container-java</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/calculator/readme.htm b/tags/java-M1-20060518/java/samples/sca/calculator/readme.htm
deleted file mode 100644
index 8ae5ca6488..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/calculator/readme.htm
+++ /dev/null
@@ -1,53 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head><!-- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable. Licensed 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. -->
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Style-Type" content="text/css"><title>Tuscany
-Calculator</title><!-- LINK rel="stylesheet" href="ait.css" type="text/css" -->
-<style type="text/css" media="all">
-@import url("../../../../css/maven-base.css");
-@import url("../../../../css/maven-theme.css");
-@import url("../../../../css/site.css");
-</style><link rel="stylesheet" href="./css/print.css" type="text/css" media="print"></head>
-<body><h2>Tuscany
-Calculator Sample</h2>
-<h3>Overview</h3>
-<p>The Tuscany calculator sample shows using the Tuscany SCA
-runtime in a J2SE environment &nbsp;loading several components.
-Each component provides a basic operation (add, subtract, etc).<br>The
-main component uses each of these to perrform a simple calculation.</p><h3>Location</h3>This
-sample is located &nbsp;in the samples\sca\calculator directory.<br><br>
-
-<h3>Setup</h3>This sample depends on the Tuscany runtime and the sample jar,
-
- <span style="font-weight: bold;">
- sample-calculator-incubating-M1.jar
- </span>
-
-, both of these must be available on the classpath to run the sample.
-<ol>
-</ol>
-<h3>Running</h3>
-
- In the directory samples/sca/calculator use the JDK 1.5 java command to run the class calculator.CalculatorClient
-
- <pre>Linux: java -cp ../../../lib/tuscany-runtime-incubating-M1.jar:target/sample-calculator-incubating-M1.jar calculator.CalculatorClient</pre>
- <pre>Windows: java -cp ../../../lib/tuscany-runtime-incubating-M1.jar;target/sample-calculator-incubating-M1.jar calculator.CalculatorClient</pre>
-
-<br><h3>Results</h3>
-<p>The sample when run should simply display to the standard
-output:<br> <code>Hello World</code></p>
-<h3>Code Overview</h3>
-The source files are physically organized as shown below:
-<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> <tbody> <tr><td>src<br>+---main<br>&nbsp;&nbsp;&nbsp; +---java<br>&nbsp;&nbsp;&nbsp; &brvbar;&nbsp;&nbsp; +---calculator<br>&nbsp;&nbsp;&nbsp; &brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddService.java<br>&nbsp;&nbsp;&nbsp; &brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddServiceImpl.java<br>&nbsp;&nbsp;&nbsp; &brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CalculatorClient.java<br>&nbsp;&nbsp;&nbsp; &brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CalculatorService.java<br>&nbsp;&nbsp;&nbsp; &brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CalculatorServiceImpl.java<br>&nbsp;&nbsp;&nbsp; &brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DivideService.java<br>&nbsp;&nbsp;&nbsp; &brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DivideServiceImpl.java<br>&nbsp;&nbsp;&nbsp; &brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MultiplyService.java<br>&nbsp;&nbsp;&nbsp; &brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MultiplyServiceImpl.java<br>&nbsp;&nbsp;&nbsp; &brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SubtractService.java<br>&nbsp;&nbsp;&nbsp; &brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SubtractServiceImpl.java<br>&nbsp;&nbsp;&nbsp; &brvbar;<br>&nbsp;&nbsp;&nbsp; +---resources<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; logging.properties<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sca.module<br></td></tr></tbody></table>
-<br><table style="text-align: left; width: 879px; height: 154px;" border="0" cellpadding="2" cellspacing="2"> <tbody><tr><td style="vertical-align: top;">sca.module</td>
-<td>Defines the SCA module and component. Defines for the CalculatorServiceComponent component&nbsp; the Java class that
-implements that component. &nbsp;Wires each of the operation components to the&nbsp;CalculatorServiceComponent</td> </tr> <tr> <td style="vertical-align: top;">CalculatorService.java</td>
-<td>Defines the Java interface implemented by the cacomponent.</td>
-</tr> <tr> <td style="vertical-align: top;">CalculatorServiceImpl.java</td>
-<td>Implements the SCA component. Uses the SCA service annotation
-tag on the class to show what SCA interface is being implemented.</td>
-</tr> <tr> <td style="vertical-align: top;">CalculatorClient.java</td>
-<td>Creates a Tuscany runtime and starts it. &nbsp;Obtains
-the module context which was defined by the sca.module file. From the
-module context locates the CalculatorServiceComponent and then
-calls operations on that component to demonstrating it using the multiple components implementing the operations..</td>
-</tr> </tbody></table><br></body></html> \ No newline at end of file
diff --git a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/AddService.java b/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/AddService.java
deleted file mode 100644
index 34a3edeb0e..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/AddService.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 calculator;
-
-public interface AddService {
-
- double add(double n1, double n2);
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/AddServiceImpl.java b/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/AddServiceImpl.java
deleted file mode 100644
index 02cddd08db..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/AddServiceImpl.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 calculator;
-
-import org.osoa.sca.annotations.Service;
-
-/**
- * An implementation of the Add service
- */
-@Service(AddService.class)
-public class AddServiceImpl implements AddService {
-
- public double add(double n1, double n2) {
- return n1 + n2;
- }
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/CalculatorClient.java b/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/CalculatorClient.java
deleted file mode 100644
index ee1c138940..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/CalculatorClient.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 calculator;
-
-import java.util.Properties;
-import java.util.logging.Level;
-import java.util.logging.LogManager;
-
-import org.apache.tuscany.common.monitor.MonitorFactory;
-import org.apache.tuscany.common.monitor.impl.JavaLoggingMonitorFactory;
-import org.apache.tuscany.core.client.TuscanyRuntime;
-import org.osoa.sca.CurrentModuleContext;
-import org.osoa.sca.ModuleContext;
-
-/**
- * This client program shows how to create an SCA runtime, start it,
- * locate the Calculator service and invoke it.
- */
-public class CalculatorClient {
-
- public static final void main(String[] args) throws Exception {
-
- // Setup Tuscany monitoring to use java.util.logging
- LogManager.getLogManager().readConfiguration(CalculatorClient.class.getResourceAsStream("/logging.properties"));
- Properties levels = new Properties();
- MonitorFactory monitorFactory = new JavaLoggingMonitorFactory(levels, Level.FINEST, "MonitorMessages");
-
- // Create a Tuscany runtime for the sample module component
- TuscanyRuntime tuscany = new TuscanyRuntime("CalculatorModuleComponent", "http://calculator", monitorFactory);
-
- // Start the Tuscany runtime and associate it with this thread
- tuscany.start();
-
- // Get the SCA module context.
- ModuleContext moduleContext = CurrentModuleContext.getContext();
-
- // Locate the Calculator service
- CalculatorService calculatorService = (CalculatorService) moduleContext.locateService("CalculatorServiceComponent");
-
- // Calculate
- System.out.println("3 + 2="+calculatorService.add(3, 2));
- System.out.println("3 - 2="+calculatorService.subtract(3, 2));
- System.out.println("3 * 2="+calculatorService.multiply(3, 2));
- System.out.println("3 / 2="+calculatorService.divide(3, 2));
-
- System.out.flush();
-
- // Disassociate the runtime from this thread
- tuscany.stop();
-
- // Shut down the runtime
- tuscany.shutdown();
- }
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/CalculatorService.java b/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/CalculatorService.java
deleted file mode 100644
index ff39e0b57a..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/CalculatorService.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 calculator;
-
-
-/**
- * The Calculator service interface.
- */
-public interface CalculatorService {
-
- double add(double n1, double n2);
-
- double subtract(double n1, double n2);
-
- double multiply(double n1, double n2);
-
- double divide(double n1, double n2);
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/CalculatorServiceImpl.java b/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/CalculatorServiceImpl.java
deleted file mode 100644
index b81a6f00fd..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/CalculatorServiceImpl.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 calculator;
-
-import org.osoa.sca.annotations.Reference;
-import org.osoa.sca.annotations.Service;
-
-
-/**
- * An implementation of the Calculator service.
- */
-@Service(CalculatorService.class)
-public class CalculatorServiceImpl implements CalculatorService {
-
- private AddService addService;
- private SubtractService subtractService;
- private MultiplyService multiplyService;
- private DivideService divideService;
-
- @Reference
- public void setAddService(AddService addService) {
- this.addService = addService;
- }
-
- @Reference
- public void setSubtractService(SubtractService subtractService) {
- this.subtractService = subtractService;
- }
-
- @Reference
- public void setDivideService(DivideService divideService) {
- this.divideService = divideService;
- }
-
- @Reference
- public void setMultiplyService(MultiplyService multiplyService) {
- this.multiplyService = multiplyService;
- }
-
- public double add(double n1, double n2) {
- return addService.add(n1, n2);
- }
-
- public double subtract(double n1, double n2) {
- return subtractService.subtract(n1, n2);
- }
-
- public double multiply(double n1, double n2) {
- return multiplyService.multiply(n1, n2);
- }
-
- public double divide(double n1, double n2) {
- return divideService.divide(n1, n2);
- }
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/DivideService.java b/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/DivideService.java
deleted file mode 100644
index 664ba2ba61..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/DivideService.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 calculator;
-
-public interface DivideService {
-
- double divide(double n1, double n2);
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/DivideServiceImpl.java b/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/DivideServiceImpl.java
deleted file mode 100644
index 12d0c65ed2..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/DivideServiceImpl.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 calculator;
-
-import org.osoa.sca.annotations.Service;
-
-/**
- * An implementation of the Divide service.
- */
-@Service(DivideService.class)
-public class DivideServiceImpl implements DivideService {
-
- public double divide(double n1, double n2) {
- return n1 / n2;
- }
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/MultiplyService.java b/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/MultiplyService.java
deleted file mode 100644
index fcb274dc8a..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/MultiplyService.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 calculator;
-
-public interface MultiplyService {
-
- double multiply(double n1, double n2);
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/MultiplyServiceImpl.java b/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/MultiplyServiceImpl.java
deleted file mode 100644
index c274d1a6d1..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/MultiplyServiceImpl.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 calculator;
-
-import org.osoa.sca.annotations.Service;
-
-/**
- * An implementation of the Multiply service.
- */
-@Service(MultiplyService.class)
-public class MultiplyServiceImpl implements MultiplyService {
-
- public double multiply(double n1, double n2) {
- return n1 * n2;
- }
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/SubtractService.java b/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/SubtractService.java
deleted file mode 100644
index 2e0fcb2b36..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/SubtractService.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 calculator;
-
-public interface SubtractService {
-
- double subtract(double n1, double n2);
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/SubtractServiceImpl.java b/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/SubtractServiceImpl.java
deleted file mode 100644
index 62103906fa..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/java/calculator/SubtractServiceImpl.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 calculator;
-
-import org.osoa.sca.annotations.Service;
-
-/**
- * An implementation of the subtract service.
- */
-@Service(SubtractService.class)
-public class SubtractServiceImpl implements SubtractService {
-
- public double subtract(double n1, double n2) {
- return n1 - n2;
- }
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/resources/logging.properties b/tags/java-M1-20060518/java/samples/sca/calculator/src/main/resources/logging.properties
deleted file mode 100644
index 58407bd5a9..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/resources/logging.properties
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright (c) 2006 The Apache Software Foundation or its licensors, as applicable.
-#
-# Licensed 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.
-#
-# $Rev$ $Date$
-#
-
-# Custom logging configuration for Tuscany samples
-# By default, only INFO level logging is enabled and ALL messages get sent to the console
-# For more messages from the runtime, uncomment specific settings at the end of this file
-handlers = java.util.logging.ConsoleHandler
-java.util.logging.ConsoleHandler.level = ALL
-java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
-.level=INFO
-
-# Uncomment the next setting to get all Tuscany messages (this will be a lot)
-#org.apache.tuscany.level=FINEST \ No newline at end of file
diff --git a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/resources/sca.module b/tags/java-M1-20060518/java/samples/sca/calculator/src/main/resources/sca.module
deleted file mode 100644
index d37fc3f659..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/calculator/src/main/resources/sca.module
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-<module xmlns="http://www.osoa.org/xmlns/sca/0.9" xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9"
- name="calculator">
-
- <component name="CalculatorServiceComponent">
- <implementation.java class="calculator.CalculatorServiceImpl"/>
- <references>
- <v:addService>AddServiceComponent</v:addService>
- <v:subtractService>SubtractServiceComponent</v:subtractService>
- <v:multiplyService>MultiplyServiceComponent</v:multiplyService>
- <v:divideService>DivideServiceComponent</v:divideService>
- </references>
- </component>
-
- <component name="AddServiceComponent">
- <implementation.java class="calculator.AddServiceImpl"/>
- </component>
-
- <component name="SubtractServiceComponent">
- <implementation.java class="calculator.SubtractServiceImpl"/>
- </component>
-
- <component name="MultiplyServiceComponent">
- <implementation.java class="calculator.MultiplyServiceImpl"/>
- </component>
-
- <component name="DivideServiceComponent">
- <implementation.java class="calculator.DivideServiceImpl"/>
- </component>
-
-</module>
diff --git a/tags/java-M1-20060518/java/samples/sca/calculator/src/test/java/calculator/CalculatorTestCase.java b/tags/java-M1-20060518/java/samples/sca/calculator/src/test/java/calculator/CalculatorTestCase.java
deleted file mode 100644
index f6b5d5f24d..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/calculator/src/test/java/calculator/CalculatorTestCase.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 calculator;
-
-import junit.framework.TestCase;
-
-import org.apache.tuscany.core.client.TuscanyRuntime;
-import org.osoa.sca.CurrentModuleContext;
-import org.osoa.sca.ModuleContext;
-
-/**
- * This shows how to test the HelloWorld service component.
- */
-public class CalculatorTestCase extends TestCase {
-
- private TuscanyRuntime tuscany;
-
- protected void setUp() throws Exception {
- super.setUp();
-
- // Create a Tuscany runtime for the sample module component
- tuscany = new TuscanyRuntime("CalculatorModuleComponent", "http://calculator");
-
- // Start the Tuscany runtime and associate it with this thread
- tuscany.start();
- }
-
- public void testCalculator() throws Exception {
-
- // Get the SCA module context.
- ModuleContext moduleContext = CurrentModuleContext.getContext();
-
- // Locate the Calculator service
- CalculatorService calculatorService = (CalculatorService) moduleContext.locateService("CalculatorServiceComponent");
-
- // Calculate
- assertEquals(calculatorService.add(3, 2), 5.0);
- assertEquals(calculatorService.subtract(3, 2), 1.0);
- assertEquals(calculatorService.multiply(3, 2), 6.0);
- assertEquals(calculatorService.divide(3, 2), 1.5);
-
- }
-
- protected void tearDown() throws Exception {
-
- // Stop the Tuscany runtime
- tuscany.stop();
-
- super.tearDown();
- }
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/customerinfo/LICENSE.txt b/tags/java-M1-20060518/java/samples/sca/customerinfo/LICENSE.txt
deleted file mode 100644
index d645695673..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/customerinfo/LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed 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.
diff --git a/tags/java-M1-20060518/java/samples/sca/customerinfo/README.txt b/tags/java-M1-20060518/java/samples/sca/customerinfo/README.txt
deleted file mode 100644
index 9b26d1690a..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/customerinfo/README.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-Apache Tuscany M1 build (May, 2006)
-===================================
-
-http://incubator.apache.org/tuscany/
-
-Tuscany is an effort undergoing incubation at the Apache Software Foundation
-(ASF), sponsored by the Web Services PMC.
-
-Incubation is required of all newly accepted projects until a further review
-indicates that the infrastructure, communications, and decision making process
-have stabilized in a manner consistent with other successful ASF projects.
-
-While incubation status is not necessarily a reflection of the completeness or
-stability of the code, it does indicate that the project has yet to be fully
-endorsed by the ASF.
-
-
-Support
--------
-
-Any problem with this release can be reported to the Tuscany mailing list
-or in the JIRA issue tracker.
-
-Mailing list subscription:
- tuscany-dev-subscribe@ws.apache.org
-
-Jira:
- http://issues.apache.org/jira/browse/Tuscany
-
-
-Thank you for using Tuscany!
-
-
-The Tuscany Team.
-
diff --git a/tags/java-M1-20060518/java/samples/sca/customerinfo/build.xml b/tags/java-M1-20060518/java/samples/sca/customerinfo/build.xml
deleted file mode 100644
index c35e86f885..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/customerinfo/build.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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-customerinfo.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>
- <jar destfile="target/sample-customerinfo.jar">
- <fileset dir="target/classes"/>
- </jar>
- </target>
-
- <target name="run" depends="compile">
- <java classname="customerinfo.CustomerInfoClient"
- classpathref="java.classpath" fork="true">
- </java>
- </target>
-
- <target name="clean">
- <delete quiet="true" includeemptydirs="true">
- <fileset dir="target" excludes="sample-customerinfo-incubating-M1.jar"/>
- </delete>
- </target>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/customerinfo/pom.xml b/tags/java-M1-20060518/java/samples/sca/customerinfo/pom.xml
deleted file mode 100644
index b299059dfe..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/customerinfo/pom.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
- <parent>
- <groupId>org.apache.tuscany.samples.sca</groupId>
- <artifactId>tuscany-samples-sca</artifactId>
- <version>incubating-M1</version>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
- <artifactId>sample-customerinfo</artifactId>
- <packaging>jar</packaging>
- <name>Tuscany Customer Info Sample</name>
- <description>A component that exposes a WSDL portType interface and uses the dynamic SDO API.</description>
- <version>incubating-M1</version>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany</groupId>
- <artifactId>tuscany-core</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca.containers</groupId>
- <artifactId>tuscany-container-java</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/customerinfo/readme.htm b/tags/java-M1-20060518/java/samples/sca/customerinfo/readme.htm
deleted file mode 100644
index 5619733093..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/customerinfo/readme.htm
+++ /dev/null
@@ -1,61 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head><!-- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable. Licensed 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. -->
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Style-Type" content="text/css"><title>Tuscany
-CustomerInfo </title><!-- LINK rel="stylesheet" href="ait.css" type="text/css" -->
-<style type="text/css" media="all">
-@import url("../../../../css/maven-base.css");
-@import url("../../../../css/maven-theme.css");
-@import url("../../../../css/site.css");
-</style><link rel="stylesheet" href="./css/print.css" type="text/css" media="print"></head>
-
-<body>
-<h2>Tuscany CustomerInfo Sample</h2>
-
-<h3>Overview</h3>
-
-<p>The CustomerInfo sample shows a component exposing a WSDL portType interface
- and a J2SE client using the dynamic SDO API to use the component.</p>
-
-<h3>Location</h3>This
-sample is located &nbsp;in the samples\sca\customerinfo directory.<br><br>
-
-<h3>Setup</h3>This sample depends on the Tuscany runtime and the sample jar,
-
- <span style="font-weight: bold;">
- sample-customerinfo-incubating-M1.jar
- </span>
-
-, both of these must be available on the classpath to run the sample.
-<ol>
-</ol>
-<h3>Running</h3>
-
- In the directory samples/sca/customerinfo use the JDK 1.5 java command to run the class customerinfo.CustomerInfoClient
-
- <pre>Linux: java -cp ../../../lib/tuscany-runtime-incubating-M1.jar:target/sample-customerinfo-incubating-M1.jar customerinfo.CustomerInfoClient</pre>
- <pre>Windows: java -cp ../../../lib/tuscany-runtime-incubating-M1.jar;target/sample-customerinfo-incubating-M1.jar customerinfo.CustomerInfoClient</pre>
-
-<h3>Results</h3>
-<p>The sample when run should simply display to the standard
-output:<br>
-<code>
-customerID = 12345<br>
-firstName = Jane<br>
-lastName = Doe<br>
-</code></p>
-<h3>Code Overview</h3>
-The source files are physically organized as shown below:
-<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> <tbody> <tr><td>src<br>+---main<br>&nbsp;&nbsp;&nbsp; +---java<br>&nbsp;&nbsp;&nbsp; &brvbar;&nbsp;&nbsp; +---customerinfo<br>&nbsp;&nbsp;&nbsp; &brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CustomerInfoClient.java<br>&nbsp;&nbsp;&nbsp; &brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CustomerInfoServiceImpl.java<br>&nbsp;&nbsp;&nbsp; &brvbar;<br>&nbsp;&nbsp;&nbsp; +---resources<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sca.module<br>&nbsp;&nbsp;&nbsp; +---wsdl<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; customer.xsd<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; customerinfo.wsdl</td></tr></tbody></table>
-<br>
-<table style="text-align: left; width: 879px; height: 154px;" border="0" cellpadding="2" cellspacing="2"> <tbody><tr><td style="vertical-align: top;">sca.module</td>
-<td>Defines the SCA module and component. Defines for the
-CustomerInfoServiceComponent component with the Java class that
-implements that component</td> </tr>
-<tr> <td style="vertical-align: top;">CustomerInfoServiceImpl.java</td>
-<td>Implements the SCA component. Uses an @SDOHelper anotation to have the SDO DataFactory automatically injected into the dataFacory field, and uses the DataFactory to create a cutomer DataObject which it initialises and returns to the caller.</td>
-</tr> <tr> <td style="vertical-align: top;">CustomerInfoClient .java</td>
-<td>Creates a Tuscany runtime and starts it. &nbsp;Obtains
-the module context which was defined by the sca.module file. From the
-module context locates the CustomerInfoServiceComponent, and then
-calls&nbsp; the getCustomerInfo method to invoke the component. It uses the SDO dynamic APIs to extract the information from the returned DataObject.</td>
-</tr> </tbody></table><br></body></html> \ No newline at end of file
diff --git a/tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/java/customerinfo/CustomerInfoClient.java b/tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/java/customerinfo/CustomerInfoClient.java
deleted file mode 100644
index 7f97c36625..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/java/customerinfo/CustomerInfoClient.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 customerinfo;
-
-import java.lang.reflect.Method;
-import java.util.Properties;
-import java.util.logging.Level;
-import java.util.logging.LogManager;
-
-import org.apache.tuscany.common.monitor.MonitorFactory;
-import org.apache.tuscany.common.monitor.impl.JavaLoggingMonitorFactory;
-import org.apache.tuscany.core.client.TuscanyRuntime;
-import org.osoa.sca.CurrentModuleContext;
-import org.osoa.sca.ModuleContext;
-
-import commonj.sdo.DataObject;
-
-/**
- * This client program shows how to create an SCA runtime, start it,
- * locate the CustomerInfo service and invoke it.
- */
-public class CustomerInfoClient {
-
- public static final void main(String[] args) throws Exception {
-
- // Setup Tuscany monitoring to use java.util.logging
- LogManager.getLogManager().readConfiguration(CustomerInfoClient.class.getResourceAsStream("/logging.properties"));
- Properties levels = new Properties();
- MonitorFactory monitorFactory = new JavaLoggingMonitorFactory(levels, Level.FINEST, "MonitorMessages");
-
- // Create a Tuscany runtime for the sample module component
- TuscanyRuntime tuscany = new TuscanyRuntime("CustomerInfoModuleComponent", "http://customerinfo", monitorFactory);
-
- // Start the Tuscany runtime and associate it with this thread
- tuscany.start();
-
- // Get the SCA module context.
- ModuleContext moduleContext = CurrentModuleContext.getContext();
-
- // Locate the CustomerInfo service
- Object customerInfoService = moduleContext.locateService("CustomerInfoServiceComponent");
-
- // Invoke the CustomerInfo service
- Method getCustomerInfo = customerInfoService.getClass().getMethod("getCustomerInfo", new Class[] {String.class});
- DataObject customer = (DataObject)getCustomerInfo.invoke(customerInfoService, "12345");
-
- System.out.println("customerID = " + customer.getString("customerID"));
- System.out.println("firstName = " + customer.getString("firstName"));
- System.out.println("lastName = " + customer.getString("lastName"));
- System.out.flush();
-
- // Disassociate the runtime from this thread
- tuscany.stop();
-
- // Shut down the runtime
- tuscany.shutdown();
- }
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/java/customerinfo/CustomerInfoServiceImpl.java b/tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/java/customerinfo/CustomerInfoServiceImpl.java
deleted file mode 100644
index 090076aa0d..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/java/customerinfo/CustomerInfoServiceImpl.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 customerinfo;
-
-import org.apache.tuscany.core.sdo.helper.SDOHelper;
-
-import commonj.sdo.DataObject;
-import commonj.sdo.helper.DataFactory;
-
-/**
- * Implementation of the CustomerInfo service.
- */
-public class CustomerInfoServiceImpl {
-
- @SDOHelper
- public DataFactory dataFactory;
-
- public DataObject getCustomerInfo(String customerID) {
-
- DataObject customer = dataFactory.create("http://customer", "Customer");
- customer.setString("customerID", customerID);
- customer.setString("firstName", "Jane");
- customer.setString("lastName", "Doe");
- return customer;
- }
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/resources/logging.properties b/tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/resources/logging.properties
deleted file mode 100644
index 58407bd5a9..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/resources/logging.properties
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright (c) 2006 The Apache Software Foundation or its licensors, as applicable.
-#
-# Licensed 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.
-#
-# $Rev$ $Date$
-#
-
-# Custom logging configuration for Tuscany samples
-# By default, only INFO level logging is enabled and ALL messages get sent to the console
-# For more messages from the runtime, uncomment specific settings at the end of this file
-handlers = java.util.logging.ConsoleHandler
-java.util.logging.ConsoleHandler.level = ALL
-java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
-.level=INFO
-
-# Uncomment the next setting to get all Tuscany messages (this will be a lot)
-#org.apache.tuscany.level=FINEST \ No newline at end of file
diff --git a/tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/resources/sca.module b/tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/resources/sca.module
deleted file mode 100644
index 8d6a38197a..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/resources/sca.module
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-<module xmlns="http://www.osoa.org/xmlns/sca/0.9" xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9"
- name="customerinfo">
-
- <import.sdo schemaLocation="wsdl/customer.xsd"/>
- <import.wsdl wsdlLocation="wsdl/customerinfo.wsdl"/>
-
- <component name="CustomerInfoServiceComponent">
- <implementation.java class="customerinfo.CustomerInfoServiceImpl"/>
- </component>
-
-</module>
diff --git a/tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/resources/wsdl/customer.xsd b/tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/resources/wsdl/customer.xsd
deleted file mode 100644
index 4d8aeff0b0..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/resources/wsdl/customer.xsd
+++ /dev/null
@@ -1,26 +0,0 @@
-<schema elementFormDefault="qualified" targetNamespace="http://customer" xmlns="http://www.w3.org/2001/XMLSchema">
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-
- <complexType name="Customer">
- <sequence>
- <element name="customerID" type="string"/>
- <element name="firstName" type="string"/>
- <element name="lastName" type="string"/>
- </sequence>
- </complexType>
-
-</schema>
diff --git a/tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/resources/wsdl/customerinfo.wsdl b/tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/resources/wsdl/customerinfo.wsdl
deleted file mode 100644
index 58978aad0e..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/customerinfo/src/main/resources/wsdl/customerinfo.wsdl
+++ /dev/null
@@ -1,76 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-<wsdl:definitions targetNamespace="http://customerinfo" xmlns:tns="http://customerinfo" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- name="helloworld">
-
- <wsdl:types>
- <schema elementFormDefault="qualified" targetNamespace="http://customerinfo" xmlns:customer="http://customer" xmlns="http://www.w3.org/2001/XMLSchema">
- <import namespace="http://customer" schemaLocation="customer.xsd"/>
-
- <element name="getCustomerInfo">
- <complexType>
- <sequence>
- <element name="customerID" type="xsd:string"/>
- </sequence>
- </complexType>
- </element>
-
- <element name="getCustomerInfoResponse">
- <complexType>
- <sequence>
- <element name="getCustomerInfoReturn" type="customer:Customer"/>
- </sequence>
- </complexType>
- </element>
- </schema>
- </wsdl:types>
-
- <wsdl:message name="getCustomerInfoRequest">
- <wsdl:part element="tns:getCustomerInfo" name="parameters"/>
- </wsdl:message>
-
- <wsdl:message name="getCustomerInfoResponse">
- <wsdl:part element="tns:getCustomerInfoResponse" name="parameters"/>
- </wsdl:message>
-
- <wsdl:portType name="CustomerInfo">
- <wsdl:operation name="getCustomerInfo">
- <wsdl:input message="tns:getCustomerInfoRequest" name="getCustomerInfoRequest"/>
- <wsdl:output message="tns:getCustomerInfoResponse" name="getCustomerInfoResponse"/>
- </wsdl:operation>
- </wsdl:portType>
-
- <wsdl:binding name="CustomerInfoSoapBinding" type="tns:CustomerInfo">
- <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="getCustomerInfo">
- <wsdlsoap:operation soapAction=""/>
- <wsdl:input name="getCustomerInfoRequest">
- <wsdlsoap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getCustomerInfoResponse">
- <wsdlsoap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
-
- <wsdl:service name="CustomerInfoService">
- <wsdl:port binding="tns:CustomerInfoSoapBinding" name="CustomerInfoSoapPort">
- <wsdlsoap:address location="http://localhost:8080/sample-helloworldws/services/CustomerInfoService"/>
- </wsdl:port>
- </wsdl:service>
-
-</wsdl:definitions>
diff --git a/tags/java-M1-20060518/java/samples/sca/customerinfo/src/test/java/customerinfo/CustomerInfoTestCase.java b/tags/java-M1-20060518/java/samples/sca/customerinfo/src/test/java/customerinfo/CustomerInfoTestCase.java
deleted file mode 100644
index 08b1e701d1..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/customerinfo/src/test/java/customerinfo/CustomerInfoTestCase.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 customerinfo;
-
-import java.lang.reflect.Method;
-
-import junit.framework.TestCase;
-
-import org.apache.tuscany.core.client.TuscanyRuntime;
-import org.osoa.sca.CurrentModuleContext;
-import org.osoa.sca.ModuleContext;
-
-import commonj.sdo.DataObject;
-
-/**
- * This shows how to test the CustomerInfo service component.
- */
-public class CustomerInfoTestCase extends TestCase {
-
- private TuscanyRuntime tuscany;
-
- protected void setUp() throws Exception {
- super.setUp();
-
- // Create a Tuscany runtime for the sample module component
- tuscany = new TuscanyRuntime("CustomerInfoModuleComponent", "http://customerinfo");
-
- // Start the Tuscany runtime and associate it with this thread
- tuscany.start();
- }
-
- public void testCustomerInfo() throws Exception {
-
- // Get the SCA module context.
- ModuleContext moduleContext = CurrentModuleContext.getContext();
-
- // Locate the CustomerInfo service
- Object customerInfoService = moduleContext.locateService("CustomerInfoServiceComponent");
-
- // Invoke the CustomerInfo service
- Method getCustomerInfo = customerInfoService.getClass().getMethod("getCustomerInfo", new Class[] {String.class});
- DataObject customer = (DataObject)getCustomerInfo.invoke(customerInfoService, "12345");
-
- assertEquals("12345", customer.getString("customerID"));
- assertEquals("Jane", customer.getString("firstName"));
- assertEquals("Doe", customer.getString("lastName"));
-
- }
-
- protected void tearDown() throws Exception {
-
- // Stop the Tuscany runtime
- tuscany.stop();
-
- // Shutdown the runtime
- tuscany.shutdown();
-
- super.tearDown();
- }
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/LICENSE.txt b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/LICENSE.txt
deleted file mode 100644
index d645695673..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed 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.
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/README.txt b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/README.txt
deleted file mode 100644
index 9b26d1690a..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/README.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-Apache Tuscany M1 build (May, 2006)
-===================================
-
-http://incubator.apache.org/tuscany/
-
-Tuscany is an effort undergoing incubation at the Apache Software Foundation
-(ASF), sponsored by the Web Services PMC.
-
-Incubation is required of all newly accepted projects until a further review
-indicates that the infrastructure, communications, and decision making process
-have stabilized in a manner consistent with other successful ASF projects.
-
-While incubation status is not necessarily a reflection of the completeness or
-stability of the code, it does indicate that the project has yet to be fully
-endorsed by the ASF.
-
-
-Support
--------
-
-Any problem with this release can be reported to the Tuscany mailing list
-or in the JIRA issue tracker.
-
-Mailing list subscription:
- tuscany-dev-subscribe@ws.apache.org
-
-Jira:
- http://issues.apache.org/jira/browse/Tuscany
-
-
-Thank you for using Tuscany!
-
-
-The Tuscany Team.
-
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/build.xml b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/build.xml
deleted file mode 100644
index 38d8bd2d1f..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/build.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
- <fileset dir="${mainDir}/lib/celtix">
- <include name="tuscany-celtix-incubating-M1.jar"/>
- </fileset>
- </path>
- <path id="java.classpath">
- <fileset dir="${mainDir}/lib">
- <include name="tuscany-runtime-incubating-M1.jar"/>
- </fileset>
- <fileset dir="${mainDir}/lib/celtix">
- <include name="tuscany-celtix-incubating-M1.jar"/>
- </fileset>
- <pathelement path="target/sample-helloworldjms-client.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>
- <jar destfile="target/sample-helloworldjms-client.jar">
- <fileset dir="target/classes"/>
- </jar>
- </target>
-
- <target name="clean">
- <delete quiet="true" includeemptydirs="true">
- <fileset dir="target" excludes="sample-helloworldjms-client-incubating-M1.jar"/>
- </delete>
- </target>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/pom.xml b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/pom.xml
deleted file mode 100644
index ea6d570a06..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/pom.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
- <parent>
- <groupId>org.apache.tuscany.samples.sca.jms</groupId>
- <artifactId>samples-helloworldjms</artifactId>
- <version>incubating-M1</version>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
- <artifactId>sample-helloworldjms-client</artifactId>
- <packaging>jar</packaging>
- <name>Tuscany HelloWorld Celtix JMS Client Sample</name>
- <description>A sample client for a HelloWorld JMS Service.</description>
- <version>incubating-M1</version>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany</groupId>
- <artifactId>tuscany-core</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca.containers</groupId>
- <artifactId>tuscany-container-java</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca.bindings</groupId>
- <artifactId>tuscany-binding-celtix</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/readme.htm b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/readme.htm
deleted file mode 100644
index 8449aace44..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/readme.htm
+++ /dev/null
@@ -1,100 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
- <!-- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable. Licensed 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. -->
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta http-equiv="Content-Style-Type" content="text/css">
- <title>Tuscany Hello World JMS Client Sample</title> <!-- LINK rel="stylesheet" href="ait.css" type="text/css" --><!-- maven -->
- <style type="text/css" media="all">
- @import url("../../../../css/maven-base.css");
- @import url("../../../../css/maven-theme.css");
- @import url("../../../../css/site.css");
- </style>
- <link rel="stylesheet" href="./css/print.css" type="text/css" media="print">
- <!-- end maven -->
-</head>
- <body>
- <h2>Tuscany Hello World JMS Client Sample</h2> <h3>Overview</h3>
- <p>
- The Tuscany Hello World JMS client sample shows using the Tuscany SCA runtime in
- a J2SE environment invoking a service using XML over JMS.
- </p>
- <h3>Location</h3> This sample is located &nbsp;in the samples\sca\helloworld-jms\client
- directory.<br>
-
- <h3>Setup</h3>This sample depends on the Tuscany runtime, Celtix, and the sample jar,
-
- <span style="font-weight: bold;">
- sample-helloworldjms-client-incubating-M1.jar
- </span>
-
-, all of these must be available on the classpath to run the sample. Additionally, the <a target="_blank" href="../server/readme.htm">JMS server sample</a> must also be running.
-
-<h3>Running</h3>
-
- In the directory samples/sca/helloworld use the JDK 1.5 java command to run the class helloworld.HelloWorldClient
-
- <pre>Linux: java -cp ../../../../lib/tuscany-runtime-incubating-M1.jar:../../../../lib/celtix/tuscany-celtix-incubating-M1.jar:target/sample-helloworldjms-client-incubating-M1.jar helloworld.HelloWorldClient</pre>
- <pre>Windows: java -cp ../../../../lib/tuscany-runtime-incubating-M1.jar;../../../../lib/celtix/tuscany-celtix-incubating-M1.jar;target/sample-helloworldjms-client-incubating-M1.jar helloworld.HelloWorldClient</pre>
-
- <h3>Results</h3>
- <p>
- The sample when run should simply display to the standard output:<br>
- <code>Hello World</code>
- </p>
- <h3>Code Overview</h3> The source files are physically organized as shown below:<br>
- <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
- <tbody>
- <tr>
- <td>
- <pre>
- src
- +---main
- +---java
- &brvbar; +---helloworld
- &brvbar; HelloWorldClient.java
- &brvbar; HelloWorldService.java
- &brvbar;
- +---resources
- &brvbar; logging.properties
- &brvbar; sca.module
- &brvbar;
- +---wsdl
- helloworld.wsdl
- </pre>
- </td>
- </tr>
- </tbody>
- </table>
- <br>
- <br>
- <table style="text-align: left; width: 100%; height: 154px;" border="0" cellpadding="2" cellspacing="2">
- <tbody>
- <tr>
- <td style="vertical-align: top; height: 62px;">sca.module</td>
- <td style="height: 62px;">Defines the SCA module, externalService and component.
- Defines for the HelloWorldServiceComponent component and the Java class that
- implements the component For the externalService it defines WSDL for the service,
- the Java interface provided by the service. The&nbsp;the&nbsp;HelloWorldServiceComponent
- is via a referenced wired to the externalService</td>
- </tr>
- <tr>
- <td style="vertical-align: top;">HelloWorldClient.java</td>
- <td>Creates a Tuscany runtime and starts it. &nbsp;Obtains the module context
- which was defined by the sca.module file. From the module context locates the
- HelloWorldService entryPoint and then calls&nbsp; the getGreetings method to
- invoke the web service defined in the helloword.wsdl.</td>
- </tr>
- <tr>
- <td style="vertical-align: top; height: 26px;">HelloWorldService.java</td>
- <td style="height: 26px;">Defines the Java interface implemented by the
- component.</td>
- </tr>
- <tr>
- <td>helloworld.wsdl</td>
- <td>WSDL for the service. Not that the WSDL defines a XML binding using a JMS transport intead of the normal SOAP/HTTP</td>
- </tr>
- </tbody>
- </table>
- </body>
-</html>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/src/main/java/helloworld/HelloWorldClient.java b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/src/main/java/helloworld/HelloWorldClient.java
deleted file mode 100644
index be121bc63b..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/src/main/java/helloworld/HelloWorldClient.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 helloworld;
-
-import java.util.logging.Level;
-import java.util.logging.LogManager;
-import java.util.Properties;
-
-import org.osoa.sca.CurrentModuleContext;
-import org.osoa.sca.ModuleContext;
-
-import org.apache.tuscany.core.client.TuscanyRuntime;
-import org.apache.tuscany.common.monitor.MonitorFactory;
-import org.apache.tuscany.common.monitor.impl.JavaLoggingMonitorFactory;
-
-/**
- * This client program shows how to create an SCA runtime, start it,
- * locate the HelloWorld service and invoke it.
- */
-public class HelloWorldClient {
-
- public static final void main(String[] args) throws Exception {
-
- // Setup Tuscany monitoring to use java.util.logging
- LogManager.getLogManager().readConfiguration(HelloWorldClient.class.getResourceAsStream("/logging.properties"));
- Properties levels = new Properties();
- MonitorFactory monitorFactory = new JavaLoggingMonitorFactory(levels, Level.FINEST, "MonitorMessages");
-
- // Create a Tuscany runtime for the sample module component
- TuscanyRuntime tuscany = new TuscanyRuntime("HelloWorldModuleComponent", "http://helloworld", monitorFactory);
-
- // Start the Tuscany runtime and associate it with this thread
- tuscany.start();
-
- // Get the SCA module context.
- ModuleContext moduleContext = CurrentModuleContext.getContext();
-
- // Locate the HelloWorld service
- HelloWorldService helloworldService = (HelloWorldService) moduleContext.locateService("HelloWorldService");
-
- // Invoke the HelloWorld service
- String value = helloworldService.getGreetings("World");
-
- System.out.println(value);
- System.out.flush();
-
- // Disassociate the runtime from this thread
- tuscany.stop();
-
- // Shut down the runtime
- tuscany.shutdown();
- }
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/src/main/java/helloworld/HelloWorldService.java b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/src/main/java/helloworld/HelloWorldService.java
deleted file mode 100644
index 1f87f17d74..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/src/main/java/helloworld/HelloWorldService.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 helloworld;
-
-/**
- * This is the business interface of the HelloWorld greetings service.
- */
-public interface HelloWorldService {
-
- public String getGreetings(String name);
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/src/main/resources/logging.properties b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/src/main/resources/logging.properties
deleted file mode 100644
index 58407bd5a9..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/src/main/resources/logging.properties
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright (c) 2006 The Apache Software Foundation or its licensors, as applicable.
-#
-# Licensed 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.
-#
-# $Rev$ $Date$
-#
-
-# Custom logging configuration for Tuscany samples
-# By default, only INFO level logging is enabled and ALL messages get sent to the console
-# For more messages from the runtime, uncomment specific settings at the end of this file
-handlers = java.util.logging.ConsoleHandler
-java.util.logging.ConsoleHandler.level = ALL
-java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
-.level=INFO
-
-# Uncomment the next setting to get all Tuscany messages (this will be a lot)
-#org.apache.tuscany.level=FINEST \ No newline at end of file
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/src/main/resources/sca.module b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/src/main/resources/sca.module
deleted file mode 100644
index cf6a8f675c..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/src/main/resources/sca.module
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-<module xmlns="http://www.osoa.org/xmlns/sca/0.9" xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9"
- name="sampleHelloworld">
-
- <import.sdo wsdlLocation="wsdl/helloworld.wsdl"/>
- <import.wsdl wsdlLocation="wsdl/helloworld.wsdl"/>
-
- <externalService name="HelloWorldService">
- <interface.java interface="helloworld.HelloWorldService"/>
- <binding.ws port="http://helloworld#wsdl.endpoint(HelloWorldJMSService/HelloWorldPort)"/>
- </externalService>
-
-</module>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/src/main/resources/wsdl/helloworld.wsdl b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/src/main/resources/wsdl/helloworld.wsdl
deleted file mode 100644
index cc9fc6a529..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/client/src/main/resources/wsdl/helloworld.wsdl
+++ /dev/null
@@ -1,83 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-<wsdl:definitions targetNamespace="http://helloworld" xmlns:tns="http://helloworld" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- name="helloworld">
-
- <wsdl:types>
- <schema elementFormDefault="qualified" targetNamespace="http://helloworld" xmlns="http://www.w3.org/2001/XMLSchema">
-
- <element name="getGreetings">
- <complexType>
- <sequence>
- <element name="name" type="xsd:string"/>
- </sequence>
- </complexType>
- </element>
-
- <element name="getGreetingsResponse">
- <complexType>
- <sequence>
- <element name="getGreetingsReturn" type="xsd:string"/>
- </sequence>
- </complexType>
- </element>
- </schema>
- </wsdl:types>
-
- <wsdl:message name="getGreetingsRequest">
- <wsdl:part element="tns:getGreetings" name="parameters"/>
- </wsdl:message>
-
- <wsdl:message name="getGreetingsResponse">
- <wsdl:part element="tns:getGreetingsResponse" name="parameters"/>
- </wsdl:message>
-
- <wsdl:portType name="HelloWorld">
- <wsdl:operation name="getGreetings">
- <wsdl:input message="tns:getGreetingsRequest" name="getGreetingsRequest"/>
- <wsdl:output message="tns:getGreetingsResponse" name="getGreetingsResponse"/>
- </wsdl:operation>
- </wsdl:portType>
-
- <wsdl:binding name="HelloWorldBinding" type="tns:HelloWorld">
- <xformat:binding xmlns:xformat="http://celtix.objectweb.org/bindings/xmlformat"/>
- <wsdl:operation name="getGreetings">
- <wsdlsoap:operation soapAction=""/>
- <wsdl:input name="getGreetingsRequest">
- <wsdlsoap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getGreetingsResponse">
- <wsdlsoap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
-
-
- <wsdl:service name="HelloWorldJMSService">
- <wsdl:port binding="tns:HelloWorldBinding" name="HelloWorldPort">
- <jms:address xmlns:jms="http://celtix.objectweb.org/transports/jms"
- destinationStyle="queue"
- jndiConnectionFactoryName="ConnectionFactory"
- jndiDestinationName="dynamicQueues/test.celtix.jmstransport.queue">
-
- <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.activemq.jndi.ActiveMQInitialContextFactory"/>
- <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61616"/>
- </jms:address>
- </wsdl:port>
- </wsdl:service>
-
-</wsdl:definitions>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/pom.xml b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/pom.xml
deleted file mode 100644
index 8d34ad5696..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/pom.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
- <parent>
- <groupId>org.apache.tuscany.samples.sca</groupId>
- <artifactId>tuscany-samples-sca</artifactId>
- <version>incubating-M1</version>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.tuscany.samples.sca.jms</groupId>
- <artifactId>samples-helloworldjms</artifactId>
- <packaging>pom</packaging>
- <name>Tuscany SCA JMS Samples</name>
- <version>incubating-M1</version>
-
- <modules>
- <module>client</module>
- <module>server</module>
- </modules>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/LICENSE.txt b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/LICENSE.txt
deleted file mode 100644
index d645695673..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed 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.
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/README.txt b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/README.txt
deleted file mode 100644
index 9b26d1690a..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/README.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-Apache Tuscany M1 build (May, 2006)
-===================================
-
-http://incubator.apache.org/tuscany/
-
-Tuscany is an effort undergoing incubation at the Apache Software Foundation
-(ASF), sponsored by the Web Services PMC.
-
-Incubation is required of all newly accepted projects until a further review
-indicates that the infrastructure, communications, and decision making process
-have stabilized in a manner consistent with other successful ASF projects.
-
-While incubation status is not necessarily a reflection of the completeness or
-stability of the code, it does indicate that the project has yet to be fully
-endorsed by the ASF.
-
-
-Support
--------
-
-Any problem with this release can be reported to the Tuscany mailing list
-or in the JIRA issue tracker.
-
-Mailing list subscription:
- tuscany-dev-subscribe@ws.apache.org
-
-Jira:
- http://issues.apache.org/jira/browse/Tuscany
-
-
-Thank you for using Tuscany!
-
-
-The Tuscany Team.
-
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/activemq.xml b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/activemq.xml
deleted file mode 100644
index 7ba4e94a60..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/activemq.xml
+++ /dev/null
@@ -1,100 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE beans PUBLIC "-//ACTIVEMQ//DTD//EN" "http://activemq.org/dtd/activemq.dtd">
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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.
- -->
-<beans>
-
- <!-- ==================================================================== -->
- <!-- ActiveMQ Broker Configuration -->
- <!-- ==================================================================== -->
- <broker>
- <connector>
- <tcpServerTransport uri="tcp://localhost:61616" backlog="1000" useAsyncSend="true" maxOutstandingMessages="50"/>
- </connector>
-
- <!-- to enable Stomp support uncomment this
- <connector>
- <serverTransport uri="stomp://localhost:61626"/>
- </connector>
- -->
-
- <persistence>
- <cachePersistence>
- <journalPersistence directory="../var/journal">
- <jdbcPersistence dataSourceRef="derby-ds"/>
-
- <!-- Choose one of the following three configurationss to work with mysql-ds-->
- <!--
- <jdbcPersistence dataSourceRef="mysql-ds"
- adapterClass="org.activemq.store.jdbc.adapter.BytesJDBCAdaptor"/>
- <jdbcPersistence dataSourceRef="mysql-ds"
- adapterClass="org.activemq.store.jdbc.adapter.BlobJDBCAdaptor"/>
- <jdbcPersistence dataSourceRef="mysql-ds"
- adapterClass="org.activemq.store.jdbc.adapter.StreamJDBCAdaptor"/>
- -->
- </journalPersistence>
- </cachePersistence>
- </persistence>
- </broker>
-
- <!-- ==================================================================== -->
- <!-- JDBC DataSource Configurations -->
- <!-- ==================================================================== -->
-
- <!-- The Derby Datasource that will be used by the Broker -->
- <bean id="derby-ds" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
- <property name="driverClassName">
- <value>org.apache.derby.jdbc.EmbeddedDriver</value>
- </property>
- <property name="url">
- <!-- Use a URL like 'jdbc:hsqldb:hsql://localhost:9001' if you want to connect to a remote hsqldb -->
- <value>jdbc:derby:derbydb;create=true</value>
- </property>
- <property name="username">
- <value></value>
- </property>
- <property name="password">
- <value></value>
- </property>
- <property name="poolPreparedStatements">
- <value>true</value>
- </property>
- </bean>
-
- <!-- The MYSQL Datasource that will be used by the Broker -->
- <bean id="mysql-ds"
- class="org.apache.commons.dbcp.BasicDataSource"
- destroy-method="close">
- <property name="driverClassName">
- <value>com.mysql.jdbc.Driver</value>
- </property>
- <property name="url">
- <value>jdbc:mysql://localhost/activemq</value>
- </property>
- <property name="username">
- <value>myname</value>
- </property>
- <property name="password">
- <value>mypassword</value>
- </property>
- <property name="poolPreparedStatements">
- <value>true</value>
- </property>
- </bean>
-
-
-</beans>
-
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/build.xml b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/build.xml
deleted file mode 100644
index 058d1f3909..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/build.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
- <fileset dir="${mainDir}/lib/celtix">
- <include name="tuscany-celtix-incubating-M1.jar"/>
- </fileset>
- </path>
- <path id="java.classpath">
- <fileset dir="${mainDir}/lib">
- <include name="tuscany-runtime-incubating-M1.jar"/>
- </fileset>
- <fileset dir="${mainDir}/lib/celtix">
- <include name="tuscany-celtix-incubating-M1.jar"/>
- </fileset>
- <pathelement path="target/sample-helloworldjms-service.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>
- <jar destfile="target/sample-helloworldjms-service.jar">
- <fileset dir="target/classes"/>
- </jar>
- </target>
-
- <target name="clean">
- <delete quiet="true" includeemptydirs="true">
- <fileset dir="target" excludes="sample-helloworldjms-service-incubating-M1.jar"/>
- </delete>
- </target>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/pom.xml b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/pom.xml
deleted file mode 100644
index 042189b5ec..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/pom.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
- <parent>
- <groupId>org.apache.tuscany.samples.sca.jms</groupId>
- <artifactId>samples-helloworldjms</artifactId>
- <version>incubating-M1</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>sample-helloworldjms-service</artifactId>
- <packaging>jar</packaging>
- <name>Tuscany HelloWorld Celtix JMS Service Sample</name>
- <description>A sample HelloWorld JMS Service.</description>
- <version>incubating-M1</version>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany</groupId>
- <artifactId>tuscany-core</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca.containers</groupId>
- <artifactId>tuscany-container-java</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca.bindings</groupId>
- <artifactId>tuscany-binding-celtix</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
-
-
- </dependencies>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/readme.htm b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/readme.htm
deleted file mode 100644
index a069618b38..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/readme.htm
+++ /dev/null
@@ -1,108 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
- <!-- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable. Licensed 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. -->
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta http-equiv="Content-Style-Type" content="text/css">
- <title>Tuscany Hello World JMS Service Sample</title><!-- LINK rel="stylesheet" href="ait.css" type="text/css" --><!-- maven -->
- <style type="text/css" media="all">
- @import url("../../../../css/maven-base.css");
- @import url("../../../../css/maven-theme.css");
- @import url("../../../../css/site.css");
- </style>
- <link rel="stylesheet" href="./css/print.css" type="text/css" media="print">
- <!-- end maven -->
-</head>
- <body>
- <h2>Tuscany Hello World JMS Service Sample</h2>
- <h3>Overview</h3>
- <p>
- The Tuscany hello world jms sample shows using the Tuscany SCA runtime using the Celtix/J2SE environment to &nbsp;provide&nbsp;a web service using
- XML over JMS as well as SOAP over HTTP.
- </p>
- <h3>Location</h3> This sample is located &nbsp;in the samples\sca\helloworld-jms\server
- directory.<br>
-
- <h3>Setup</h3>This sample depends on the Tuscany runtime, Celtix, and the sample jar,
-
- <span style="font-weight: bold;">
- sample-helloworldjms-service-incubating-M1.jar
- </span>
-
-, all of these must be available on the classpath to run the sample.
-
-<h3>Running</h3>
-
- In the directory samples/sca/helloworld-jms/server use the JDK 1.5 java command to start the JMS broker and then run the class&nbsp;helloworld.HelloWorldServer.
-
- <pre>Linux:<br>
-
- java -cp ../../../../lib/tuscany-runtime-incubating-M1.jar:../../../../lib/celtix/tuscany-celtix-incubating-M1.jar org.activemq.spring.Main activemq.xml
- java -cp ../../../../lib/tuscany-runtime-incubating-M1.jar:../../../../lib/celtix/tuscany-celtix-incubating-M1.jar:target/sample-helloworldjms-service-incubating-M1.jar helloworld.HelloWorldServer
- </pre>
-
- <pre>Windows:<br>
- java -cp ../../../../lib/tuscany-runtime-incubating-M1.jar;../../../../lib/celtix/tuscany-celtix-incubating-M1.jar org.activemq.spring.Main activemq.xml
- java -cp ../../../../lib/tuscany-runtime-incubating-M1.jar;../../../../lib/celtix/tuscany-celtix-incubating-M1.jar;target/sample-helloworldjms-service-incubating-M1.jar helloworld.HelloWorldServer
- </pre>
-
-
-
- <h3>Code Overview</h3> The source files are physically organized as shown below:<br>
- <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
- <tbody>
- <tr>
- <td>
- <pre>
- +---main
- +---java
- &brvbar; +---helloworld
- &brvbar; HelloWorldServer.java
- &brvbar; HelloWorldImpl.java
- &brvbar; HelloWorldService.java
- +---resources
- &brvbar; sca.module
- +---wsdl
- helloworld.wsdl
- activemq.xml
- </pre>
- </td>
- </tr>
- </tbody>
- </table>
- <br>
- <br>
- <table style="text-align: left; width: 100%; height: 154px;" border="0" cellpadding="2" cellspacing="2">
- <tbody>
- <tr>
- <td>HelloWorldServer.java</td>
- <td>Main method to startup the Tuscany runtime which will startup the services defined in sca.module</td>
- </tr>
- <tr>
- <td style="vertical-align: top;">HelloWorldService.java</td>
- <td>Defines the Java interface implemented by the component.</td>
- </tr>
- <tr>
- <td style="vertical-align: top;">HelloWorldImpl.java</td>
- <td>Implements the SCA component. Uses the SCA service annotation
- tag on the class to show what SCA interface is being implemented.</td>
- </tr>
- <tr>
- <td style="vertical-align: top; height: 62px;">sca.module</td>
- <td style="height: 62px;">Defines the SCA module, entryPoint and component.
- Defines for the HelloWorldServiceComponent component and the Java class that
- implements the component For the entryPoint it defines WSDL for the service, the
- Java interface provided by the service, and wires the service to the&nbsp;HelloWorldServiceComponent</td>
- </tr>
- <tr>
- <td>helloworld.wsdl</td>
- <td>WSDL for the service.</td>
- </tr>
- <tr>
- <td>activemq.xml</td>
- <td>Configuration file for ActiveMQ to setup the broker</td>
- </tr>
- </tbody>
- </table>
- </body>
-</html> \ No newline at end of file
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/src/main/java/helloworld/HelloWorldImpl.java b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/src/main/java/helloworld/HelloWorldImpl.java
deleted file mode 100644
index bf7209e7a8..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/src/main/java/helloworld/HelloWorldImpl.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 helloworld;
-
-import org.osoa.sca.annotations.Service;
-
-/**
- * This class implements the HelloWorld service.
- */
-@Service(HelloWorldService.class)
-public class HelloWorldImpl implements HelloWorldService {
-
- public String getGreetings(String name) {
- return "Hello " + name;
- }
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/src/main/java/helloworld/HelloWorldServer.java b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/src/main/java/helloworld/HelloWorldServer.java
deleted file mode 100644
index e6290b3f37..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/src/main/java/helloworld/HelloWorldServer.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 helloworld;
-
-import org.apache.tuscany.core.client.TuscanyRuntime;
-import org.osoa.sca.CurrentModuleContext;
-import org.osoa.sca.ModuleContext;
-
-/**
- * This client program shows how to create an SCA runtime, start it,
- * locate the HelloWorld service and invoke it.
- */
-public class HelloWorldServer {
-
- public static final void main(String[] args) throws Exception {
-
- // Create a Tuscany runtime for the sample module component
- TuscanyRuntime tuscany = new TuscanyRuntime("HelloWorldModuleComponent", "http://helloworld");
-
- // Start the Tuscany runtime and associate it with this thread
- tuscany.start();
-
-
- System.out.println("Hit ENTER to exit");
- System.in.read();
-
- // Disassociate the runtime from this thread
- tuscany.stop();
-
- // Shut down the runtime
- tuscany.shutdown();
-
- System.exit(0);
- }
-}
-
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/src/main/java/helloworld/HelloWorldService.java b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/src/main/java/helloworld/HelloWorldService.java
deleted file mode 100644
index 1f87f17d74..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/src/main/java/helloworld/HelloWorldService.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 helloworld;
-
-/**
- * This is the business interface of the HelloWorld greetings service.
- */
-public interface HelloWorldService {
-
- public String getGreetings(String name);
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/src/main/resources/sca.module b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/src/main/resources/sca.module
deleted file mode 100644
index 460faf4ef0..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/src/main/resources/sca.module
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-<module xmlns="http://www.osoa.org/xmlns/sca/0.9" xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9"
- name="helloworldJMSServer">
-
- <import.sdo wsdlLocation="wsdl/helloworld.wsdl"/>
- <import.wsdl location="wsdl/helloworld.wsdl" namespace="http://helloworld"/>
-
- <entryPoint name="HelloWorldServiceJMS">
- <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"/>
- <binding.ws port="http://helloworld#wsdl.endpoint(HelloWorldJMSService/HelloWorldPort)"/>
- <reference>HelloWorldServiceComponent/HelloWorldService</reference>
- </entryPoint>
- <entryPoint name="HelloWorldService">
- <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"/>
- <binding.ws port="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"/>
- <reference>HelloWorldServiceComponent/HelloWorldService</reference>
- </entryPoint>
-
- <component name="HelloWorldServiceComponent">
- <implementation.java class="helloworld.HelloWorldImpl"/>
- </component>
-
-</module>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/src/main/resources/wsdl/helloworld.wsdl b/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/src/main/resources/wsdl/helloworld.wsdl
deleted file mode 100644
index 09459bb209..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld-jms/server/src/main/resources/wsdl/helloworld.wsdl
+++ /dev/null
@@ -1,99 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-<wsdl:definitions targetNamespace="http://helloworld" xmlns:tns="http://helloworld" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- name="helloworld">
-
- <wsdl:types>
- <schema elementFormDefault="qualified" targetNamespace="http://helloworld" xmlns="http://www.w3.org/2001/XMLSchema">
-
- <element name="getGreetings">
- <complexType>
- <sequence>
- <element name="name" type="xsd:string"/>
- </sequence>
- </complexType>
- </element>
-
- <element name="getGreetingsResponse">
- <complexType>
- <sequence>
- <element name="getGreetingsReturn" type="xsd:string"/>
- </sequence>
- </complexType>
- </element>
- </schema>
- </wsdl:types>
-
- <wsdl:message name="getGreetingsRequest">
- <wsdl:part element="tns:getGreetings" name="parameters"/>
- </wsdl:message>
-
- <wsdl:message name="getGreetingsResponse">
- <wsdl:part element="tns:getGreetingsResponse" name="parameters"/>
- </wsdl:message>
-
- <wsdl:portType name="HelloWorld">
- <wsdl:operation name="getGreetings">
- <wsdl:input message="tns:getGreetingsRequest" name="getGreetingsRequest"/>
- <wsdl:output message="tns:getGreetingsResponse" name="getGreetingsResponse"/>
- </wsdl:operation>
- </wsdl:portType>
-
- <wsdl:binding name="HelloWorldBinding" type="tns:HelloWorld">
- <xformat:binding xmlns:xformat="http://celtix.objectweb.org/bindings/xmlformat"/>
- <wsdl:operation name="getGreetings">
- <wsdlsoap:operation soapAction=""/>
- <wsdl:input name="getGreetingsRequest">
- <wsdlsoap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getGreetingsResponse">
- <wsdlsoap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:binding name="HelloWorldSoapBinding" type="tns:HelloWorld">
- <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="getGreetings">
- <wsdlsoap:operation soapAction=""/>
- <wsdl:input name="getGreetingsRequest">
- <wsdlsoap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getGreetingsResponse">
- <wsdlsoap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
-
- <wsdl:service name="HelloWorldJMSService">
- <wsdl:port binding="tns:HelloWorldBinding" name="HelloWorldPort">
- <jms:address xmlns:jms="http://celtix.objectweb.org/transports/jms"
- destinationStyle="queue"
- jndiConnectionFactoryName="ConnectionFactory"
- jndiDestinationName="dynamicQueues/test.celtix.jmstransport.queue">
-
- <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.activemq.jndi.ActiveMQInitialContextFactory"/>
- <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61616"/>
- </jms:address>
- </wsdl:port>
- </wsdl:service>
- <wsdl:service name="HelloWorldService">
- <wsdl:port binding="tns:HelloWorldSoapBinding" name="HelloWorldSoapPort">
- <wsdlsoap:address location="http://localhost:8080/sample-helloworldws/services/HelloWorldWebService"/>
- </wsdl:port>
- </wsdl:service>
-
-</wsdl:definitions>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld/LICENSE.txt b/tags/java-M1-20060518/java/samples/sca/helloworld/LICENSE.txt
deleted file mode 100644
index d645695673..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld/LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed 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.
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld/README.txt b/tags/java-M1-20060518/java/samples/sca/helloworld/README.txt
deleted file mode 100644
index 9b26d1690a..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld/README.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-Apache Tuscany M1 build (May, 2006)
-===================================
-
-http://incubator.apache.org/tuscany/
-
-Tuscany is an effort undergoing incubation at the Apache Software Foundation
-(ASF), sponsored by the Web Services PMC.
-
-Incubation is required of all newly accepted projects until a further review
-indicates that the infrastructure, communications, and decision making process
-have stabilized in a manner consistent with other successful ASF projects.
-
-While incubation status is not necessarily a reflection of the completeness or
-stability of the code, it does indicate that the project has yet to be fully
-endorsed by the ASF.
-
-
-Support
--------
-
-Any problem with this release can be reported to the Tuscany mailing list
-or in the JIRA issue tracker.
-
-Mailing list subscription:
- tuscany-dev-subscribe@ws.apache.org
-
-Jira:
- http://issues.apache.org/jira/browse/Tuscany
-
-
-Thank you for using Tuscany!
-
-
-The Tuscany Team.
-
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld/build.xml b/tags/java-M1-20060518/java/samples/sca/helloworld/build.xml
deleted file mode 100644
index 1c9843ff2c..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld/build.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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-helloworld.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>
- <jar destfile="target/sample-helloworld.jar">
- <fileset dir="target/classes"/>
- </jar>
- </target>
-
- <target name="clean">
- <delete quiet="true" includeemptydirs="true">
- <fileset dir="target" excludes="sample-helloworld-incubating-M1.jar"/>
- </delete>
- </target>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld/pom.xml b/tags/java-M1-20060518/java/samples/sca/helloworld/pom.xml
deleted file mode 100644
index 9a936abe29..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld/pom.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
- <parent>
- <groupId>org.apache.tuscany.samples.sca</groupId>
- <artifactId>tuscany-samples-sca</artifactId>
- <version>incubating-M1</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>sample-helloworld</artifactId>
- <packaging>jar</packaging>
- <name>Tuscany HelloWorld Sample</name>
- <description>A sample implementation of HelloWorld using an SCA component.</description>
- <version>incubating-M1</version>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany</groupId>
- <artifactId>tuscany-core</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca.containers</groupId>
- <artifactId>tuscany-container-java</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld/readme.htm b/tags/java-M1-20060518/java/samples/sca/helloworld/readme.htm
deleted file mode 100644
index 82de419b1c..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld/readme.htm
+++ /dev/null
@@ -1,54 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head><!-- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable. Licensed 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. -->
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Style-Type" content="text/css"><title>Tuscany
-HelloWorld</title><!-- LINK rel="stylesheet" href="ait.css" type="text/css" -->
-<style type="text/css" media="all">
-@import url("../../../../css/maven-base.css");
-@import url("../../../../css/maven-theme.css");
-@import url("../../../../css/site.css");
-</style><link rel="stylesheet" href="./css/print.css" type="text/css" media="print"></head>
-<body><h2>Tuscany
-Hello World Sample</h2>
-<h3>Overview</h3>
-<p>The Tuscany helloworld sample shows using the Tuscany SCA
-runtime in a J2SE environment &nbsp;loading a component that
-implements the classic introductory hello world example.</p>
-<h3>Location</h3>This
-sample is located &nbsp;in the samples\sca\helloworld directory.<br><br>
-<h3>Setup</h3>This sample depends on the Tuscany runtime and the sample jar,
-
- <span style="font-weight: bold;">
- sample-helloworld-incubating-M1.jar
- </span>
-
-, both of these must be available on the classpath to run the sample.
-<ol>
-</ol>
-<h3>Running</h3>
-
- In the directory samples/sca/helloworld use the JDK 1.5 java command to run the class helloworld.HelloWorldClient
-
- <pre>Linux: java -cp ../../../lib/tuscany-runtime-incubating-M1.jar:target/sample-helloworld-incubating-M1.jar helloworld.HelloWorldClient</pre>
- <pre>Windows: java -cp ../../../lib/tuscany-runtime-incubating-M1.jar;target/sample-helloworld-incubating-M1.jar helloworld.HelloWorldClient</pre>
-
-<h3>Results</h3>
-<p>The sample when run should simply display to the standard
-output:<br> <code>Hello World</code></p>
-<h3>Code Overview</h3>
-The source files are physically organized as shown below:
-<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> <tbody> <tr><td>src<br>+---main<br>&nbsp;&nbsp;&nbsp; +---java<br>&nbsp;&nbsp;&nbsp; &brvbar;&nbsp;&nbsp; +---helloworld<br>&nbsp;&nbsp;&nbsp; &brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HelloWorldClient.java<br>&nbsp;&nbsp;&nbsp; &brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HelloWorldImpl.java<br>&nbsp;&nbsp;&nbsp; &brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HelloWorldService.java<br>&nbsp;&nbsp;&nbsp; &brvbar;<br>&nbsp;&nbsp;&nbsp; +---resources<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sca.module</td></tr></tbody></table>
-<br>
-<table style="text-align: left; width: 879px; height: 154px;" border="0" cellpadding="2" cellspacing="2"> <tbody><tr><td style="vertical-align: top;">sca.module</td>
-<td>Defines the SCA module and component. Defines for the
-HelloWorldServiceComponent component&nbsp; the Java class that
-implements that component</td> </tr> <tr> <td style="vertical-align: top;">HelloWorldService.java</td>
-<td>Defines the Java interface implemented by the component.</td>
-</tr> <tr> <td style="vertical-align: top;">HelloWorldImpl.java</td>
-<td>Implements the SCA component. Uses the SCA service annotation
-tag on the class to show what SCA interface is being implemented.</td>
-</tr> <tr> <td style="vertical-align: top;">HelloWorldClient.java</td>
-<td>Creates a Tuscany runtime and starts it. &nbsp;Obtains
-the module context which was defined by the sca.module file. From the
-module context locates the HelloWorldServiceComponent and then
-calls&nbsp; the getGreetings method to invoke the component.</td>
-</tr> </tbody></table><br></body></html> \ No newline at end of file
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld/src/main/java/helloworld/HelloWorldClient.java b/tags/java-M1-20060518/java/samples/sca/helloworld/src/main/java/helloworld/HelloWorldClient.java
deleted file mode 100644
index da46402b05..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld/src/main/java/helloworld/HelloWorldClient.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 helloworld;
-
-import org.apache.tuscany.core.client.TuscanyRuntime;
-import org.osoa.sca.CurrentModuleContext;
-import org.osoa.sca.ModuleContext;
-
-/**
- * This client program shows how to create an SCA runtime, start it,
- * locate the HelloWorld service and invoke it.
- */
-public class HelloWorldClient {
-
- public static final void main(String[] args) throws Exception {
-
- // Create a Tuscany runtime for the sample module component
- TuscanyRuntime tuscany = new TuscanyRuntime("HelloWorldModuleComponent", "http://helloworld");
-
- // Start the Tuscany runtime and associate it with this thread
- tuscany.start();
-
- // Get the SCA module context.
- ModuleContext moduleContext = CurrentModuleContext.getContext();
-
- // Locate the HelloWorld service
- HelloWorldService helloworldService = (HelloWorldService) moduleContext.locateService("HelloWorldServiceComponent");
-
- // Invoke the HelloWorld service
- String value = helloworldService.getGreetings("World");
-
- System.out.println(value);
- System.out.flush();
-
- // Disassociate the runtime from this thread
- tuscany.stop();
-
- // Shut down the runtime
- tuscany.shutdown();
- }
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld/src/main/java/helloworld/HelloWorldImpl.java b/tags/java-M1-20060518/java/samples/sca/helloworld/src/main/java/helloworld/HelloWorldImpl.java
deleted file mode 100644
index bf7209e7a8..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld/src/main/java/helloworld/HelloWorldImpl.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 helloworld;
-
-import org.osoa.sca.annotations.Service;
-
-/**
- * This class implements the HelloWorld service.
- */
-@Service(HelloWorldService.class)
-public class HelloWorldImpl implements HelloWorldService {
-
- public String getGreetings(String name) {
- return "Hello " + name;
- }
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld/src/main/java/helloworld/HelloWorldService.java b/tags/java-M1-20060518/java/samples/sca/helloworld/src/main/java/helloworld/HelloWorldService.java
deleted file mode 100644
index 1f87f17d74..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld/src/main/java/helloworld/HelloWorldService.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 helloworld;
-
-/**
- * This is the business interface of the HelloWorld greetings service.
- */
-public interface HelloWorldService {
-
- public String getGreetings(String name);
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld/src/main/resources/sca.module b/tags/java-M1-20060518/java/samples/sca/helloworld/src/main/resources/sca.module
deleted file mode 100644
index 22d319a165..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld/src/main/resources/sca.module
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-<module xmlns="http://www.osoa.org/xmlns/sca/0.9" xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9"
- name="helloworld">
-
- <component name="HelloWorldServiceComponent">
- <implementation.java class="helloworld.HelloWorldImpl"/>
- </component>
-
-</module>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworld/src/test/java/helloworld/HelloWorldTestCase.java b/tags/java-M1-20060518/java/samples/sca/helloworld/src/test/java/helloworld/HelloWorldTestCase.java
deleted file mode 100644
index 1a1c906ca8..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworld/src/test/java/helloworld/HelloWorldTestCase.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 helloworld;
-
-import helloworld.HelloWorldService;
-import junit.framework.TestCase;
-
-import org.apache.tuscany.core.client.TuscanyRuntime;
-import org.osoa.sca.CurrentModuleContext;
-import org.osoa.sca.ModuleContext;
-
-/**
- * This shows how to test the HelloWorld service component.
- */
-public class HelloWorldTestCase extends TestCase {
-
- private TuscanyRuntime tuscany;
-
- protected void setUp() throws Exception {
- super.setUp();
-
- // Create a Tuscany runtime for the sample module component
- tuscany = new TuscanyRuntime("HelloWorldModuleComponent", "http://helloworld");
-
- // Start the Tuscany runtime and associate it with this thread
- tuscany.start();
- }
-
- public void testGreetings() throws Exception {
-
- // Get the SCA module context.
- ModuleContext moduleContext = CurrentModuleContext.getContext();
-
- // Locate the HelloWorld service
- HelloWorldService helloworldService = (HelloWorldService) moduleContext.locateService("HelloWorldServiceComponent");
-
- // Invoke the HelloWorld service
- String value = helloworldService.getGreetings("World");
-
- assertEquals(value, "Hello World");
- }
-
- protected void tearDown() throws Exception {
-
- // Stop the Tuscany runtime
- tuscany.stop();
-
- // Shutdown the runtime
- tuscany.shutdown();
-
- super.tearDown();
- }
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/LICENSE.txt b/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/LICENSE.txt
deleted file mode 100644
index d645695673..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed 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.
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/README.txt b/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/README.txt
deleted file mode 100644
index 9b26d1690a..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/README.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-Apache Tuscany M1 build (May, 2006)
-===================================
-
-http://incubator.apache.org/tuscany/
-
-Tuscany is an effort undergoing incubation at the Apache Software Foundation
-(ASF), sponsored by the Web Services PMC.
-
-Incubation is required of all newly accepted projects until a further review
-indicates that the infrastructure, communications, and decision making process
-have stabilized in a manner consistent with other successful ASF projects.
-
-While incubation status is not necessarily a reflection of the completeness or
-stability of the code, it does indicate that the project has yet to be fully
-endorsed by the ASF.
-
-
-Support
--------
-
-Any problem with this release can be reported to the Tuscany mailing list
-or in the JIRA issue tracker.
-
-Mailing list subscription:
- tuscany-dev-subscribe@ws.apache.org
-
-Jira:
- http://issues.apache.org/jira/browse/Tuscany
-
-
-Thank you for using Tuscany!
-
-
-The Tuscany Team.
-
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/build.xml b/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/build.xml
deleted file mode 100644
index 5c72a1784e..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/build.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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-helloworlde4xws.jar"/>
- </path>
-
- <target name="init">
- <mkdir dir="target/classes"/>
- </target>
-
- <target name="compile" depends="init">
- <copy todir="target/classes">
- <fileset dir="src/main/resources"/>
- </copy>
- <war destfile="target/sample-helloworlde4xws.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-helloworlde4xws-incubating-M1.war"/>
- </delete>
- </target>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/pom.xml b/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/pom.xml
deleted file mode 100644
index 8f806cc986..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/pom.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
-
- <parent>
- <groupId>org.apache.tuscany.samples.sca</groupId>
- <artifactId>tuscany-samples-sca</artifactId>
- <version>incubating-M1</version>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
- <artifactId>sample-helloworlde4xws</artifactId>
- <packaging>war</packaging>
- <name>Tuscany HelloWorld JavaScript/E4X Web Service Sample</name>
- <description>A sample HelloWorld Web Service using JavaScript/E4X</description>
- <version>incubating-M1</version>
-
- <dependencies>
-
- <dependency>
- <groupId>org.apache.tuscany</groupId>
- <artifactId>tuscany-core</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca.containers</groupId>
- <artifactId>tuscany-container-rhino</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
-
- </dependencies>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/readme.htm b/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/readme.htm
deleted file mode 100644
index 53bc323d1f..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/readme.htm
+++ /dev/null
@@ -1,110 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head><!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-
-
-
-
-
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-
-
-
-
-
- <meta http-equiv="Content-Style-Type" content="text/css">
-
-
-
-
-
-
-
-
-
- <title>Tuscany Hello World JavaScript/E4X WS Sample</title><!-- LINK rel="stylesheet" href="ait.css" type="text/css" --><!-- maven --><style type="text/css" media="all">
-@import url("../../../../css/maven-base.css");
-@import url("../../../../css/maven-theme.css");
-@import url("../../../../css/site.css");
- </style>
-
- <link rel="stylesheet" href="./css/print.css" type="text/css" media="print"><!-- end maven --></head>
-
-<body>
-
-
-
-<h2>Tuscany Hello World JavaScript/E4X WS Sample</h2>
-
-
-
-<h3>Overview</h3>
-
-
-
-<p>The Tuscany hello world JavaScript/E4X WS sample shows using the Tuscany SCA
- runtime in a Tomcat environment providing a web service implemented in JavaScript/E4X.</p>
-<h3>Location</h3>
-This sample is located in the samples\sca\helloworlde4xws directory.
-
-
-
-<h3>Setup</h3>
-Set up your server as described in the <a href="../../../GettingStarted.htm" target="_blank">Tomcat
-Setup</a>. &nbsp;If
-you are not configuring with the acceptance test the server, you will
-need to add <span style="font-weight: bold;">helloworlde4xws-incubating-M1.war</span>
-to your Tomcat's webapp directory.
-
-
-<h3>Running</h3>
-This service can be invoked by&nbsp;the Tuscany SCA <a target="_blank" href="../helloworldjsclient/readme.htm">helloworldjsclient</a>
-sample.<br>
-
-<h3>Code Overview</h3>
-The source files are physically organized as shown below:<br>
-<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"><tbody><tr><td>
-<pre>+---main<br> +---resources<br> &brvbar; &brvbar; sca.module<br> &brvbar; &brvbar;<br> &brvbar; +---helloworld<br> &brvbar; &brvbar; HelloWorldImpl.componentType<br> &brvbar; &brvbar; HelloWorldImpl.js<br> &brvbar; &brvbar;<br> &brvbar; +---wsdl<br> &brvbar; helloworld.wsdl<br> &brvbar;<br> +---webapp<br> +---WEB-INF<br> web.xml<br></pre></td></tr></tbody></table>
-
-<br><br><table style="text-align: left; width: 100%; height: 154px;" border="0" cellpadding="2" cellspacing="2"><tbody>
-<tr>
-<td style="vertical-align: top; height: 62px;">
-<a target="_blank" href="../helloworlde4xws/src/main/resources/sca.module">sca.module</a>
-</td>
-<td style="height: 62px;">Defines the SCA module,
-entryPoint and component. Defines for the HelloWorldComponent
-component and the JavaScript script that implements the component. For the
-entryPoint it defines WSDL for the service, and wires the service to
-the&nbsp;HelloWorldComponent</td>
-</tr>
-<tr>
-<td><a target="_blank" href="../helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.componentType">HelloWorldImpl.componentType</a></td>
-<td>The .componentType side file describing the service</td>
-</tr>
-<tr>
-<td><a target="_blank" href="../helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.js">HelloWorldImpl.js</a></td>
-<td>The JavaScript implementation of the service</td>
-</tr>
-<tr>
-<td><a target="_blank" href="../helloworlde4xws/src/main/resources/wsdl/helloworld.wsdl">helloworld.wsdl</a></td>
-<td>WSDL for the service.</td>
-</tr>
-<tr>
-<td><a target="_blank" href="../helloworlde4xws/src/main/webapp/WEB-INF/web.xml">web.xml</a></td>
-<td>Standard J2EE web application's web.xml</td>
-</tr></tbody></table>
-</body></html>
-
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.componentType b/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.componentType
deleted file mode 100644
index 54462091f5..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.componentType
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-
-<componentType xmlns="http://www.osoa.org/xmlns/sca/0.9" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
- <service name="HelloWorldE4XService">
- <interface.wsdl interface="http://helloworld#HelloWorld"/>
- </service>
-
-</componentType> \ No newline at end of file
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.js b/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.js
deleted file mode 100644
index 1529784c0f..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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.
- */
-
-function process(xmlIn) {
-
- var response = "e4xHello " + xmlIn..*::name;
-
- var xmlOut =
- <ns1:getGreetingsResponse xmlns:ns1="http://helloworld">
- <ns1:getGreetingsReturn> { response } </ns1:getGreetingsReturn>
- </ns1:getGreetingsResponse>;
-
- return xmlOut;
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/sca.module b/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/sca.module
deleted file mode 100644
index 4f5724d64b..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/sca.module
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-<module xmlns="http://www.osoa.org/xmlns/sca/0.9" xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9"
- xmlns:js="http://org.apache.tuscany/xmlns/js/0.9"
- name="helloworld">
-
- <import.sdo wsdlLocation="wsdl/helloworld.wsdl"/>
- <import.wsdl wsdlLocation="wsdl/helloworld.wsdl"/>
-
- <entryPoint name="HelloWorldE4XWebService">
- <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"/>
- <binding.ws port="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"/>
- <reference>HelloWorldComponent</reference>
- </entryPoint>
-
- <component name="HelloWorldComponent">
- <js:implementation.js scriptFile="helloworld/HelloWorldImpl.js"/>
- </component>
-
-</module>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/wsdl/helloworld.wsdl b/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/wsdl/helloworld.wsdl
deleted file mode 100644
index cbc15f58eb..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/wsdl/helloworld.wsdl
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-<wsdl:definitions targetNamespace="http://helloworld" xmlns:tns="http://helloworld" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- name="helloworld">
-
- <wsdl:types>
- <schema elementFormDefault="qualified" targetNamespace="http://helloworld" xmlns="http://www.w3.org/2001/XMLSchema">
-
- <element name="getGreetings">
- <complexType>
- <sequence>
- <element name="name" type="xsd:string"/>
- </sequence>
- </complexType>
- </element>
-
- <element name="getGreetingsResponse">
- <complexType>
- <sequence>
- <element name="getGreetingsReturn" type="xsd:string"/>
- </sequence>
- </complexType>
- </element>
- </schema>
- </wsdl:types>
-
- <wsdl:message name="getGreetingsRequest">
- <wsdl:part element="tns:getGreetings" name="parameters"/>
- </wsdl:message>
-
- <wsdl:message name="getGreetingsResponse">
- <wsdl:part element="tns:getGreetingsResponse" name="parameters"/>
- </wsdl:message>
-
- <wsdl:portType name="HelloWorld">
- <wsdl:operation name="getGreetings">
- <wsdl:input message="tns:getGreetingsRequest" name="getGreetingsRequest"/>
- <wsdl:output message="tns:getGreetingsResponse" name="getGreetingsResponse"/>
- </wsdl:operation>
- </wsdl:portType>
-
- <wsdl:binding name="HelloWorldSoapBinding" type="tns:HelloWorld">
- <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="getGreetings">
- <wsdlsoap:operation soapAction=""/>
- <wsdl:input name="getGreetingsRequest">
- <wsdlsoap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getGreetingsResponse">
- <wsdlsoap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
-
- <wsdl:service name="HelloWorldService">
- <wsdl:port binding="tns:HelloWorldSoapBinding" name="HelloWorldSoapPort">
- <wsdlsoap:address location="http://localhost:8080/sample-helloworldws/services/HelloWorldWebService"/>
- </wsdl:port>
- </wsdl:service>
-
-</wsdl:definitions>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/webapp/WEB-INF/web.xml b/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index 37c6d8e249..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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 HelloWorld JavaScript Web Service Sample</display-name>
-
-</web-app>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/LICENSE.txt b/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/LICENSE.txt
deleted file mode 100644
index d645695673..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed 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.
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/README.txt b/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/README.txt
deleted file mode 100644
index 9b26d1690a..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/README.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-Apache Tuscany M1 build (May, 2006)
-===================================
-
-http://incubator.apache.org/tuscany/
-
-Tuscany is an effort undergoing incubation at the Apache Software Foundation
-(ASF), sponsored by the Web Services PMC.
-
-Incubation is required of all newly accepted projects until a further review
-indicates that the infrastructure, communications, and decision making process
-have stabilized in a manner consistent with other successful ASF projects.
-
-While incubation status is not necessarily a reflection of the completeness or
-stability of the code, it does indicate that the project has yet to be fully
-endorsed by the ASF.
-
-
-Support
--------
-
-Any problem with this release can be reported to the Tuscany mailing list
-or in the JIRA issue tracker.
-
-Mailing list subscription:
- tuscany-dev-subscribe@ws.apache.org
-
-Jira:
- http://issues.apache.org/jira/browse/Tuscany
-
-
-Thank you for using Tuscany!
-
-
-The Tuscany Team.
-
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/build.xml b/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/build.xml
deleted file mode 100644
index cd35274ff1..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/build.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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-helloworldjsclient.jar"/>
- </path>
-
- <target name="init">
- <mkdir dir="target/classes"/>
- </target>
-
- <target name="compile" depends="init">
- <copy todir="target/classes">
- <fileset dir="src/main/resources"/>
- </copy>
- <war destfile="target/sample-helloworldjsclient.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-helloworldjsclient-incubating-M1.war"/>
- </delete>
- </target>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/pom.xml b/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/pom.xml
deleted file mode 100644
index f9a710d444..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/pom.xml
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
- <parent>
- <groupId>org.apache.tuscany.samples.sca</groupId>
- <artifactId>tuscany-samples-sca</artifactId>
- <version>incubating-M1</version>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
- <artifactId>sample-helloworldjsclient</artifactId>
- <packaging>war</packaging>
- <name>Tuscany HelloWorld JSON-RPC WS Client Sample</name>
- <description>A web app client for the HelloWorld Web service samples</description>
- <version>incubating-M1</version>
-
- <dependencies>
-
- <dependency>
- <groupId>org.apache.tuscany</groupId>
- <artifactId>tuscany-core</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca.bindings</groupId>
- <artifactId>tuscany-binding-jsonrpc</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca.bindings</groupId>
- <artifactId>tuscany-binding-axis2</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
-
- </dependencies>
-
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/readme.htm b/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/readme.htm
deleted file mode 100644
index 5aa9dbc3d5..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/readme.htm
+++ /dev/null
@@ -1,110 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head><!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-
-
-
-
-
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-
-
-
-
-
- <meta http-equiv="Content-Style-Type" content="text/css">
-
-
-
-
-
-
-
-
-
- <title>Tuscany Hello World JS WS Client Sample</title><!-- LINK rel="stylesheet" href="ait.css" type="text/css" --><!-- maven --><style type="text/css" media="all">
-@import url("../../../../css/maven-base.css");
-@import url("../../../../css/maven-theme.css");
-@import url("../../../../css/site.css");
- </style>
-
- <link rel="stylesheet" href="./css/print.css" type="text/css" media="print"><!-- end maven --></head>
-
-<body>
-
-
-
-<h2>Tuscany Hello World JS WS Client Sample</h2>
-
-
-
-<h3>Overview</h3>
-
-
-
-<p>The Tuscany hello world JS client WS sample shows using the Tuscany SCA
- runtime in a Tomcat environment providing a client for the Tuscany helloworld WS samples, <a target="_blank" href="../helloworldws/readme.htm">helloworldws</a> and <a target="_blank" href="../helloworlde4xws/readme.htm">helloworlde4xws</a>.</p>
-<h3>Location</h3>
-This sample is located in the samples\sca\helloworldjsclient directory.
-
-
-
-<h3>Setup</h3>
-Set up your server as described in the <a href="../../../GettingStarted.htm" target="_blank">Tomcat
-Setup</a>. &nbsp;If
-you are not configuring with the acceptance test the server, you will
-need to add <span style="font-weight: bold;">sample-helloworldjsclient-incubating-M1.war</span>
-to your Tomcat's webapp directory.
-
-
-<h3>Running</h3>
-
-Once you've started your web server, use your browse to view the
-following URL: <a href="http://localhost:8080/sample-helloworldjsclient/" target="_blank">http://localhost:8080/sample-helloworldjsclient/</a>
-<br>
-
-<h3>Code Overview</h3>
-The source files are physically organized as shown below:<br>
-<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"><tbody><tr><td>
-<pre>+---main<br> +---resources<br> &brvbar; &brvbar; sca.module<br> &brvbar; &brvbar;<br> &brvbar; +---wsdl<br> &brvbar; helloworld.wsdl<br> &brvbar;<br> +---webapp<br> &brvbar; HelloWorldClient.html<br> &brvbar;<br> +---WEB-INF<br> web.xml<br></pre></td></tr></tbody></table>
-
-<br><br><table style="text-align: left; width: 100%; height: 154px;" border="0" cellpadding="2" cellspacing="2"><tbody>
-<tr>
-<td style="vertical-align: top; height: 62px;">
-<a target="_blank" href="../helloworldjsclient/src/main/resources/sca.module">sca.module</a>
-</td>
-<td style="height: 62px;">Defines the SCA module, and
-entryPoints which are wired directly to externalServices for each of the web services.</td>
-</tr>
-<tr>
-<td><a target="_blank" href="../helloworldjsclient/src/main/resources/wsdl/helloworld.wsdl">helloworld.wsdl</a></td>
-<td>WSDL for the service.</td>
-</tr>
-<tr>
-<td><a target="_blank" href="../helloworldjsclient/src/main/webapp/HelloWorldClient.html">HelloWorldClient.html</a></td>
-<td>The HTML page for the client. This includes a JavaScript script which uses the SCA JSON-RPC support to invoke methods on the SCA entryPoints.</td>
-</tr>
-<tr>
-<td><a target="_blank" href="../helloworldjsclient/src/main/webapp/WEB-INF/web.xml">web.xml</a></td>
-<td>Standard J2EE web application's web.xml</td>
-</tr></tbody></table>
-
-<p>
-There isn't much code in this sample, only the script in the HTML for the page, and even that script is fairly simple. It demonstrates how simple SCA and its assembly model can make component implementations.
-</p>
-
-</body></html>
-
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/src/main/resources/sca.module b/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/src/main/resources/sca.module
deleted file mode 100644
index f73adafbd5..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/src/main/resources/sca.module
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-<module xmlns="http://www.osoa.org/xmlns/sca/0.9" xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9"
- xmlns:jsonrpc="http://org.apache.tuscany/xmlns/jsonrpc/0.9"
-
- name="sampleHelloworldJSONRPC">
-
- <import.sdo wsdlLocation="wsdl/helloworld.wsdl"/>
- <import.wsdl wsdlLocation="wsdl/helloworld.wsdl"/>
-
- <entryPoint name="JavaHelloworld">
- <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"/>
- <jsonrpc:binding.jsonrpc/>
- <reference>JavaHelloworldWS</reference>
- </entryPoint>
-
- <entryPoint name="E4XHelloworld">
- <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"/>
- <jsonrpc:binding.jsonrpc/>
- <reference>E4XHelloworldWS</reference>
- </entryPoint>
-
- <externalService name="JavaHelloworldWS">
- <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"/>
- <binding.ws port="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"/>
- </externalService>
-
- <externalService name="E4XHelloworldWS">
- <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"/>
- <binding.ws
- uri="http://localhost:8080/sample-helloworlde4xws/services/HelloWorldE4XWebService"
- port="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"/>
- </externalService>
-
-</module>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/src/main/resources/wsdl/helloworld.wsdl b/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/src/main/resources/wsdl/helloworld.wsdl
deleted file mode 100644
index cbc15f58eb..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/src/main/resources/wsdl/helloworld.wsdl
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-<wsdl:definitions targetNamespace="http://helloworld" xmlns:tns="http://helloworld" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- name="helloworld">
-
- <wsdl:types>
- <schema elementFormDefault="qualified" targetNamespace="http://helloworld" xmlns="http://www.w3.org/2001/XMLSchema">
-
- <element name="getGreetings">
- <complexType>
- <sequence>
- <element name="name" type="xsd:string"/>
- </sequence>
- </complexType>
- </element>
-
- <element name="getGreetingsResponse">
- <complexType>
- <sequence>
- <element name="getGreetingsReturn" type="xsd:string"/>
- </sequence>
- </complexType>
- </element>
- </schema>
- </wsdl:types>
-
- <wsdl:message name="getGreetingsRequest">
- <wsdl:part element="tns:getGreetings" name="parameters"/>
- </wsdl:message>
-
- <wsdl:message name="getGreetingsResponse">
- <wsdl:part element="tns:getGreetingsResponse" name="parameters"/>
- </wsdl:message>
-
- <wsdl:portType name="HelloWorld">
- <wsdl:operation name="getGreetings">
- <wsdl:input message="tns:getGreetingsRequest" name="getGreetingsRequest"/>
- <wsdl:output message="tns:getGreetingsResponse" name="getGreetingsResponse"/>
- </wsdl:operation>
- </wsdl:portType>
-
- <wsdl:binding name="HelloWorldSoapBinding" type="tns:HelloWorld">
- <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="getGreetings">
- <wsdlsoap:operation soapAction=""/>
- <wsdl:input name="getGreetingsRequest">
- <wsdlsoap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getGreetingsResponse">
- <wsdlsoap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
-
- <wsdl:service name="HelloWorldService">
- <wsdl:port binding="tns:HelloWorldSoapBinding" name="HelloWorldSoapPort">
- <wsdlsoap:address location="http://localhost:8080/sample-helloworldws/services/HelloWorldWebService"/>
- </wsdl:port>
- </wsdl:service>
-
-</wsdl:definitions>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/src/main/webapp/HelloWorldClient.html b/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/src/main/webapp/HelloWorldClient.html
deleted file mode 100644
index 98d76dc25e..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/src/main/webapp/HelloWorldClient.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<html>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
- <head>
- <title>Tuscany HelloWorld WS Client Sample</TITLE>
-
- <script type="text/javascript" src="SCA/scripts/sca.js"></script>
-
- <script language="JavaScript">
- function getGreeting(service) {
- var name = document.getElementById("name").value;
- var result = service.getGreetings(name);
- document.getElementById('greeting').innerHTML=result;
- }
- </script>
- </head>
-
- <body>
-
- <h2>Tuscany HelloWorld WS Client Sample</h2><br>
-
- <p>
- Name please: &nbsp;&nbsp;&nbsp;
- <input type="text" id="name" size="30" value="World" />
-
- <br><BR>
-
- <input type="button" value="Java WS" onclick="getGreeting(SCA.JavaHelloworld)" />
- <input type="button" value="E4X WS" onclick="getGreeting(SCA.E4XHelloworld)" />
-
- </p>
-
- <br><hr>
- <div id='greeting'></div>
-
- </body>
-</html>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/src/main/webapp/WEB-INF/web.xml b/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index 9757e60124..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldjsclient/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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 HelloWorld JSON-RPC WS Client Sample</display-name>
-
- <welcome-file-list id="WelcomeFileList">
- <welcome-file>HelloWorldClient.html</welcome-file>
- </welcome-file-list>
-
-</web-app>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/LICENSE.txt b/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/LICENSE.txt
deleted file mode 100644
index d645695673..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed 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.
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/README.txt b/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/README.txt
deleted file mode 100644
index 9b26d1690a..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/README.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-Apache Tuscany M1 build (May, 2006)
-===================================
-
-http://incubator.apache.org/tuscany/
-
-Tuscany is an effort undergoing incubation at the Apache Software Foundation
-(ASF), sponsored by the Web Services PMC.
-
-Incubation is required of all newly accepted projects until a further review
-indicates that the infrastructure, communications, and decision making process
-have stabilized in a manner consistent with other successful ASF projects.
-
-While incubation status is not necessarily a reflection of the completeness or
-stability of the code, it does indicate that the project has yet to be fully
-endorsed by the ASF.
-
-
-Support
--------
-
-Any problem with this release can be reported to the Tuscany mailing list
-or in the JIRA issue tracker.
-
-Mailing list subscription:
- tuscany-dev-subscribe@ws.apache.org
-
-Jira:
- http://issues.apache.org/jira/browse/Tuscany
-
-
-Thank you for using Tuscany!
-
-
-The Tuscany Team.
-
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/build.xml b/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/build.xml
deleted file mode 100644
index 2f655f9965..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/build.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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-helloworldjsonrpc.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-helloworldjsonrpc.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-helloworldjsonrpc-incubating-M1.war"/>
- </delete>
- </target>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/pom.xml b/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/pom.xml
deleted file mode 100644
index 1949d593e0..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/pom.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
- <parent>
- <groupId>org.apache.tuscany.samples.sca</groupId>
- <artifactId>tuscany-samples-sca</artifactId>
- <version>incubating-M1</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>sample-helloworldjsonrpc</artifactId>
- <packaging>war</packaging>
- <name>Tuscany HelloWorld JSON-RPC Sample</name>
- <description>A sample HelloWorld Web application using JSON-RPC</description>
- <version>incubating-M1</version>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany</groupId>
- <artifactId>tuscany-core</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca.containers</groupId>
- <artifactId>tuscany-container-java</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca.bindings</groupId>
- <artifactId>tuscany-binding-jsonrpc</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/readme.htm b/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/readme.htm
deleted file mode 100644
index 51c3dd2249..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/readme.htm
+++ /dev/null
@@ -1,139 +0,0 @@
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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 HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head>
-
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-
- <meta http-equiv="Content-Style-Type" content="text/css">
- <title>Tuscany Hello World JSON-RPC Sample</title><!-- LINK rel="stylesheet" href="ait.css" type="text/css" --></head>
-
-<body>
-
-<h2>Tuscany Hello World JSON-RPC Sample</h2>
-
-<h3>Overview</h3>
-
-<p>The Tuscany hello world JSON-RPC sample shows using the Tuscany SCA
- runtime in a Tomcat environment being accessed from a JavaScript program running in the client browser that
- implements the classic introductory hello world example. </p>
-
-
-<h3>Setup</h3>Set up your server as described in the <a href="../../readme.htm" target="_blank">Tomcat
- Setup</a>. &nbsp;If you are not configuring with the acceptance test the server, you will need to add <span
- style="font-weight: bold;">sample-helloworldjsonrpc-incubating-M1.war</span> to your tomcat's webapp directory.<br>
-
-<h3>Running</h3>
-
-Once you've started your web server, use your browse to view the
-following URL: <a href="http://localhost:8080/sample-helloworldjsonrpc/" target="_blank">http://localhost:8080/sample-helloworldjsonrpc/</a>
-<br>
-
-You should see a form you can supply your name and a button.
-&nbsp;Once you click the button the JavaScript program locates the SCA component to execute
-the greeting service.
-<br>
-Note, unlike the J2SE or JSP clients the Tuscany runtime is automatically
-initialized and running.
-<h3>Results</h3>
-
-<p>The page should be updated with the greeting displayed below
- the form.<br>
-
-</p>
-
-<h3>Code Overview</h3>
-
-The source files are physically organized as shown below:<br>
-<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
- <tbody>
- <tr>
- <td>
- <pre>+---main<br>&brvbar; +---java<br>&brvbar; &brvbar; sca.module
- +---org<br>&brvbar; +---apache<br>&brvbar; +---tuscany<br>&brvbar; +---samples<br>&brvbar; +---helloworldjsonrpc
- &brvbar; HelloWorldService.java
- &brvbar; HelloWorldServiceComponentImpl.java<br>+---webapp
- &brvbar; helloworld.js
- &brvbar; HelloWorldJSONRPC.html
- +---WEB-INF<br> &brvbar; web.xml<br></pre>
- </td>
- </tr>
- </tbody>
-</table>
-<br>
-<br>
-
-<p>&nbsp;</p>
-
-<table style="text-align: left; width: 100%; height: 154px;" border="0" cellpadding="2" cellspacing="2">
-
- <tbody>
-
- <tr>
-
- <td style="vertical-align: top;">sca.module</td>
-
- <td>Defines the SCA module, entryPoint and component. Defines an entryPoint with an JSON-RPC binding, and the
- HelloWorldService component and the Java class that
- implements that component</td>
-
- </tr>
-
- <tr>
-
- <td style="vertical-align: top;">HelloWorldService.java</td>
-
- <td>Defines the Java interface implemented by the component.</td>
-
- </tr>
-
- <tr>
-
- <td style="vertical-align: top;">HelloWorldServiceComponentImpl.java</td>
-
- <td>Implements the SCA component. Uses the SCA service
- annotation tag on the class to show what SCA interface is being
- implemented.</td>
-
- </tr>
-
- <tr>
- <td>helloworld.js</td>
- <td>Handles invoking the HelloWorld SCA service. Gets the value entered in the text field on the web page, invokes the SCA component and puts the result in the output field on the web page.
- <br>The interesting part of the script is &nbsp;SCA.HelloWorldService.getGreetings(who) &nbsp;.
- In the SCA JSON-RPC environment all entryPoints with an JSON-RPC binding are bound to the automatically defined script variable &nbsp;SCA.&nbsp;.
- </td>
- </tr>
-
- <tr>
- <td>HelloWorldJSONRPC.html</td>
- <td>The HTML page for the sample. Creates a text box for the user to enter their name, a button to click to get the greeting, and a text field to show the response.
- The helloworld.js script function getGreeting is used to invoke the SCA service when the button is clicked.
- To initialize the SCA environment the sca.js script must be defined as the first script in the HTML with the following line:<br>
- &lt;script type="text/javascript" src="SCA/scripts/sca.js"></script&gt;
- </tr>
-
- <tr>
- <td>web.xml</td>
- <td>Standard J2EE web application's web.xml</td>
- </tr>
-
- </tbody>
-</table>
-
-<br>
-
-</body></html>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/src/main/java/org/apache/tuscany/samples/helloworldjsonrpc/HelloWorldService.java b/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/src/main/java/org/apache/tuscany/samples/helloworldjsonrpc/HelloWorldService.java
deleted file mode 100644
index f5d3ef6066..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/src/main/java/org/apache/tuscany/samples/helloworldjsonrpc/HelloWorldService.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 org.apache.tuscany.samples.helloworldjsonrpc;
-
-/**
- * This is the business interface of the HelloWorld service component.
- */
-public interface HelloWorldService {
-
- public String getGreetings(String name);
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/src/main/java/org/apache/tuscany/samples/helloworldjsonrpc/HelloWorldServiceComponentImpl.java b/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/src/main/java/org/apache/tuscany/samples/helloworldjsonrpc/HelloWorldServiceComponentImpl.java
deleted file mode 100644
index 3eb259f90e..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/src/main/java/org/apache/tuscany/samples/helloworldjsonrpc/HelloWorldServiceComponentImpl.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 org.apache.tuscany.samples.helloworldjsonrpc;
-
-import org.osoa.sca.annotations.Service;
-
-/**
- * This class implements the HelloWorld service component.
- */
-@Service(HelloWorldService.class)
-public class HelloWorldServiceComponentImpl implements HelloWorldService {
-
- /*
- * @see org.apache.tuscany.samples.helloworld.HelloWorldServiceComponent#getGreetings()
- */
- public String getGreetings(String name) {
- return "jsonrpcHello " + name;
- }
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/src/main/resources/sca.module b/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/src/main/resources/sca.module
deleted file mode 100644
index 0ad0131754..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/src/main/resources/sca.module
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-<module xmlns="http://www.osoa.org/xmlns/sca/0.9" xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9"
- xmlns:jsonrpc="http://org.apache.tuscany/xmlns/jsonrpc/0.9"
-
- name="sampleHelloworldJSONRPC">
-
- <entryPoint name="HelloWorldService">
- <interface.java interface="org.apache.tuscany.samples.helloworldjsonrpc.HelloWorldService"/>
- <jsonrpc:binding.jsonrpc/>
- <reference>HelloWorldServiceComponent/HelloWorldService</reference>
- </entryPoint>
-
- <component name="HelloWorldServiceComponent">
- <implementation.java class="org.apache.tuscany.samples.helloworldjsonrpc.HelloWorldServiceComponentImpl"/>
- </component>
-
-</module>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/src/main/webapp/HelloWorldJSONRPC.html b/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/src/main/webapp/HelloWorldJSONRPC.html
deleted file mode 100644
index 9e5357a847..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/src/main/webapp/HelloWorldJSONRPC.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<html>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
- <head>
- <title>Tuscany JSON-RPC HelloWorld Example</TITLE>
-
- <script type="text/javascript" src="SCA/scripts/sca.js"></script>
-
- <script language="JavaScript">
- function getGreeting() {
- var name = document.getElementById("name").value;
- var result = SCA.HelloWorldService.getGreetings(name);
- document.getElementById('greeting').innerHTML=result;
- }
- </script>
- </head>
-
- <body>
-
- <h2>Tuscany JSON-RPC HelloWorld Example</h2><br>
-
- <p>
- Name please: &nbsp;&nbsp;&nbsp;
- <input type="text" id="name" size="30" value="World" />
-
- <br><BR>
-
- <input type="button" value="Submit" onclick="getGreeting()" />
- </p>
-
- <br><hr>
- <div id='greeting'></div>
-
- </body>
-</html>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/src/main/webapp/WEB-INF/web.xml b/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index 547153dd0e..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldjsonrpc/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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 sample HelloWorld JSON-RPC</display-name>
-
- <welcome-file-list id="WelcomeFileList">
- <welcome-file>HelloWorldJSONRPC.html</welcome-file>
- </welcome-file-list>
-
-</web-app>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldweb/LICENSE.txt b/tags/java-M1-20060518/java/samples/sca/helloworldweb/LICENSE.txt
deleted file mode 100644
index d645695673..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldweb/LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed 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.
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldweb/README.txt b/tags/java-M1-20060518/java/samples/sca/helloworldweb/README.txt
deleted file mode 100644
index 9b26d1690a..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldweb/README.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-Apache Tuscany M1 build (May, 2006)
-===================================
-
-http://incubator.apache.org/tuscany/
-
-Tuscany is an effort undergoing incubation at the Apache Software Foundation
-(ASF), sponsored by the Web Services PMC.
-
-Incubation is required of all newly accepted projects until a further review
-indicates that the infrastructure, communications, and decision making process
-have stabilized in a manner consistent with other successful ASF projects.
-
-While incubation status is not necessarily a reflection of the completeness or
-stability of the code, it does indicate that the project has yet to be fully
-endorsed by the ASF.
-
-
-Support
--------
-
-Any problem with this release can be reported to the Tuscany mailing list
-or in the JIRA issue tracker.
-
-Mailing list subscription:
- tuscany-dev-subscribe@ws.apache.org
-
-Jira:
- http://issues.apache.org/jira/browse/Tuscany
-
-
-Thank you for using Tuscany!
-
-
-The Tuscany Team.
-
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldweb/build.xml b/tags/java-M1-20060518/java/samples/sca/helloworldweb/build.xml
deleted file mode 100644
index 077ea72dd1..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldweb/build.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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-helloworldweb.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-helloworldweb.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-helloworldweb-incubating-M1.war"/>
- </delete>
- </target>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldweb/pom.xml b/tags/java-M1-20060518/java/samples/sca/helloworldweb/pom.xml
deleted file mode 100644
index fdc9629d9e..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldweb/pom.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
- <parent>
- <groupId>org.apache.tuscany.samples.sca</groupId>
- <artifactId>tuscany-samples-sca</artifactId>
- <version>incubating-M1</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>sample-helloworldweb</artifactId>
- <packaging>war</packaging>
- <name>Tuscany HelloWorld Web Application Sample</name>
- <description>A sample JSP that invokes a HelloWorld component.</description>
- <version>incubating-M1</version>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany</groupId>
- <artifactId>tuscany-core</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca.containers</groupId>
- <artifactId>tuscany-container-java</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldweb/readme.htm b/tags/java-M1-20060518/java/samples/sca/helloworldweb/readme.htm
deleted file mode 100644
index 037b1d70f8..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldweb/readme.htm
+++ /dev/null
@@ -1,248 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head><!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-
-
-
-
-
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-
-
-
-
-
- <meta http-equiv="Content-Style-Type" content="text/css">
-
-
-
-
-
-
-
-
-
- <title>Tuscany Hello World Web Sample</title><!-- LINK rel="stylesheet" href="ait.css" type="text/css" --><!-- maven --><style type="text/css" media="all">
-@import url("../../../../css/maven-base.css");
-@import url("../../../../css/maven-theme.css");
-@import url("../../../../css/site.css");
- </style>
-
- <link rel="stylesheet" href="./css/print.css" type="text/css" media="print"><!-- end maven --></head>
-
-<body>
-
-
-
-<h2>Tuscany Hello World Web Sample</h2>
-
-
-
-<h3>Overview</h3>
-
-
-
-<p>The Tuscany hello world web sample shows using the Tuscany SCA
- runtime in a Tomcat environment being accessed from a JSP
- page&nbsp;that
- implements the classic introductory hello world example.</p>
-<h3>Location</h3>
-This sample is located &nbsp;in the samples\sca\helloworldweb directory.
-
-
-
-<h3>Setup</h3>
-
-Set up your server as described in the <a href="../../../GettingStarted.htm" target="_blank">Tomcat Setup</a>. &nbsp;
-
-If you are not using the pre-configured Tomcat server from the binary distribution, you will need to add <span style="font-weight: bold;">sample-helloworldweb-incubating-M1.war</span> to your tomcat's webapp directory.<br>
-
-
-
-<h3>Running</h3>
-
-
-
-Once you've started your web server, use your browse to view the
-following URL: <a href="http://localhost:8080/sample-helloworldweb/" target="_blank">http://localhost:8080/sample-helloworldweb/</a>
-<br>
-
-
-
-You should see a form you can supply your name and a submit button.
-&nbsp;Once you submit the form the JSP page calls a Java class that
-gets the CurrentModuleContext and locates the SCA component to execute
-the greeting service. &nbsp;Note, unlike the a J2SE in a Tomcat environment the Tuscany runtime is automatically
-initialized and running.
-<h3>Results</h3>
-
-
-
-<p>The page should be updated with the greeting displayed below
- the form.<br>
-
-
-
-</p>
-
-
-
-<h3>Code Overview</h3>
-
-
-
-The source files are physically organized as shown below:<br>
-
-
-<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
-
-
- <tbody>
-
-
- <tr>
-
-
- <td>
-
-
- <pre>src<br>+---main<br> +---java<br> &brvbar; +---helloworld<br> &brvbar; HelloWorldImpl.java<br> &brvbar; HelloWorldService.java<br> &brvbar;<br> +---resources<br> &brvbar; sca.module<br> &brvbar;<br> +---webapp<br> &brvbar; HelloWorldWeb.jsp<br> &brvbar;<br> &brvbar;<br> +---WEB-INF<br> web.xml<br><br></pre>
-
-
- </td>
-
-
- </tr>
-
-
-
-
- </tbody>
-</table>
-
-
-<br>
-
-
-<br>
-
-
-
-<p>&nbsp;</p>
-
-
-
-<table style="text-align: left; width: 100%; height: 154px;" border="0" cellpadding="2" cellspacing="2">
-
-
-
- <tbody>
-
-
-
- <tr>
-
-
-
- <td style="vertical-align: top;">sca.module</td>
-
-
-
- <td>Defines the SCA module and component. Defines for the
- HelloWorldServiceComponent component and the Java class that
- implements that component</td>
-
-
-
- </tr>
-
-
-
- <tr>
-
-
-
- <td style="vertical-align: top;">HelloWorldService.java</td>
-
-
-
- <td>Defines the Java interface implemented by the component.</td>
-
-
-
- </tr>
-
-
-
- <tr>
-
-
-
- <td style="vertical-align: top;">HelloWorldImpl.java</td>
-
-
-
- <td>Implements the SCA component. Uses the SCA service
- annotation tag on the class to show what SCA interface is being
- implemented.</td>
-
-
-
- </tr>
-
-
-
-
- <tr>
-
-
- <td>HelloWorldWeb.jsp</td>
-
-
- <td>Handles Web form input.. Obtains the module context which was defined by the
- sca.module file. From the module context locates the
- HelloWorldServiceComponent and then calls&nbsp; the getGreetings
- method to invoke the component.&nbsp;and formats &nbsp;returned&nbsp;results.</td>
-
-
- </tr>
-
-
- <tr>
-
-
- <td>web.xml</td>
-
-
- <td>Standard J2EE web application's web.xml</td>
-
-
- </tr>
-
-
-
-
-
- </tbody>
-</table>
-
-
-
-<br>
-
-
-
-</body></html>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldweb/src/main/java/helloworld/HelloWorldImpl.java b/tags/java-M1-20060518/java/samples/sca/helloworldweb/src/main/java/helloworld/HelloWorldImpl.java
deleted file mode 100644
index bf7209e7a8..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldweb/src/main/java/helloworld/HelloWorldImpl.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 helloworld;
-
-import org.osoa.sca.annotations.Service;
-
-/**
- * This class implements the HelloWorld service.
- */
-@Service(HelloWorldService.class)
-public class HelloWorldImpl implements HelloWorldService {
-
- public String getGreetings(String name) {
- return "Hello " + name;
- }
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldweb/src/main/java/helloworld/HelloWorldService.java b/tags/java-M1-20060518/java/samples/sca/helloworldweb/src/main/java/helloworld/HelloWorldService.java
deleted file mode 100644
index 1f87f17d74..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldweb/src/main/java/helloworld/HelloWorldService.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 helloworld;
-
-/**
- * This is the business interface of the HelloWorld greetings service.
- */
-public interface HelloWorldService {
-
- public String getGreetings(String name);
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldweb/src/main/resources/sca.module b/tags/java-M1-20060518/java/samples/sca/helloworldweb/src/main/resources/sca.module
deleted file mode 100644
index ec329b8a23..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldweb/src/main/resources/sca.module
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-<module xmlns="http://www.osoa.org/xmlns/sca/0.9" xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9"
- name="helloworld">
-
- <component name="HelloWorldServiceComponent">
- <implementation.java class="helloworld.HelloWorldImpl"/>
- </component>
-
-</module>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldweb/src/main/webapp/HelloWorldWeb.jsp b/tags/java-M1-20060518/java/samples/sca/helloworldweb/src/main/webapp/HelloWorldWeb.jsp
deleted file mode 100644
index 5ebc111dd6..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldweb/src/main/webapp/HelloWorldWeb.jsp
+++ /dev/null
@@ -1,79 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<%--
- * Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
- <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
- pageEncoding="ISO-8859-1" session="true" autoFlush="true"
- isThreadSafe="true" isErrorPage="false"
- import="helloworld.HelloWorldService"
- import="java.io.PrintWriter"
- import="java.io.StringWriter"
- import="org.osoa.sca.CurrentModuleContext"
- import="org.osoa.sca.ModuleContext"
- %>
- <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
- <META name="GENERATOR" content="IBM Software Development Platform">
- <TITLE>Tuscany HelloWorld WEB Example</TITLE>
- <%
- String name = request.getParameter("name");
- %>
-</HEAD>
-
-<BODY>
-<H2>Tuscany HelloWorld Web Application Sample</H2>
-
-<P>&nbsp;</P>
-
-<form action="HelloWorldWeb.jsp" method="get">Name
- please:&nbsp;&nbsp;&nbsp; <INPUT type="text" id="i1" name="name"
- size="40" maxlength="220"
- value="<%= null == name ? "World" : name %>"> <BR>
- <BR>
- <INPUT type="submit" name="submit" value="Submit"></FORM>
-<BR>
-
-<%
- try {
- if (null != name) {
- ModuleContext moduleContext = CurrentModuleContext.getContext();
- HelloWorldService helloworldService = (HelloWorldService) moduleContext.locateService("HelloWorldServiceComponent");
- String value = helloworldService.getGreetings(name);
-%>
-<HR>
-
-<P><%=value%>
- <%}
-}catch(Exception e){
- e.printStackTrace();
- StringWriter sw= new StringWriter();
- PrintWriter pw= new PrintWriter(sw);
-
- e.printStackTrace(pw);
- pw.flush();
-
-%>
- Whoops!<BR clear="all">
-<PRE>
- Exception &quot;<%=e.getClass().getName()%>&quot; Exception message: &quot;<%=e.getMessage()%>&quot;<BR clear="all">
- <%=sw.toString() %>
-</PRE>
-<%
-
- }%>
-</BODY>
-</HTML> \ No newline at end of file
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldweb/src/main/webapp/WEB-INF/web.xml b/tags/java-M1-20060518/java/samples/sca/helloworldweb/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index e79a53705f..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldweb/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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 HelloWorld Web Application Sample</display-name>
-
- <welcome-file-list id="WelcomeFileList">
- <welcome-file>HelloWorldWeb.jsp</welcome-file>
- </welcome-file-list>
-
-</web-app>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldweb/src/test/java/helloworld/HelloWorldTestCase.java b/tags/java-M1-20060518/java/samples/sca/helloworldweb/src/test/java/helloworld/HelloWorldTestCase.java
deleted file mode 100644
index b74323fe2a..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldweb/src/test/java/helloworld/HelloWorldTestCase.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 helloworld;
-
-import helloworld.HelloWorldService;
-import junit.framework.TestCase;
-
-import org.apache.tuscany.core.client.TuscanyRuntime;
-import org.osoa.sca.CurrentModuleContext;
-import org.osoa.sca.ModuleContext;
-
-/**
- * This shows how to test the HelloWorld service component.
- */
-public class HelloWorldTestCase extends TestCase {
-
- private TuscanyRuntime tuscany;
-
- protected void setUp() throws Exception {
- super.setUp();
-
- // Create a Tuscany runtime for the sample module component
- tuscany = new TuscanyRuntime("HelloWorldModuleComponent", null);
-
- // Start the Tuscany runtime and associate it with this thread
- tuscany.start();
- }
-
- public void testGeetings() throws Exception {
-
- // Get the SCA module context.
- ModuleContext moduleContext = CurrentModuleContext.getContext();
-
- // Locate the HelloWorld service
- HelloWorldService helloworldService = (HelloWorldService) moduleContext.locateService("HelloWorldServiceComponent");
-
- // Invoke the HelloWorld service
- String value = helloworldService.getGreetings("World");
-
- assertEquals(value, "Hello World");
- }
-
- protected void tearDown() throws Exception {
-
- // Stop the Tuscany runtime
- tuscany.stop();
-
- super.tearDown();
- }
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/LICENSE.txt b/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/LICENSE.txt
deleted file mode 100644
index d645695673..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed 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.
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/README.txt b/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/README.txt
deleted file mode 100644
index 9b26d1690a..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/README.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-Apache Tuscany M1 build (May, 2006)
-===================================
-
-http://incubator.apache.org/tuscany/
-
-Tuscany is an effort undergoing incubation at the Apache Software Foundation
-(ASF), sponsored by the Web Services PMC.
-
-Incubation is required of all newly accepted projects until a further review
-indicates that the infrastructure, communications, and decision making process
-have stabilized in a manner consistent with other successful ASF projects.
-
-While incubation status is not necessarily a reflection of the completeness or
-stability of the code, it does indicate that the project has yet to be fully
-endorsed by the ASF.
-
-
-Support
--------
-
-Any problem with this release can be reported to the Tuscany mailing list
-or in the JIRA issue tracker.
-
-Mailing list subscription:
- tuscany-dev-subscribe@ws.apache.org
-
-Jira:
- http://issues.apache.org/jira/browse/Tuscany
-
-
-Thank you for using Tuscany!
-
-
-The Tuscany Team.
-
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/build.xml b/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/build.xml
deleted file mode 100644
index 6cdc29cf7d..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/build.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
- <fileset dir="${mainDir}/lib/celtix">
- <include name="tuscany-celtix-incubating-M1.jar"/>
- </fileset>
- </path>
- <path id="java.classpath">
- <fileset dir="${mainDir}/lib">
- <include name="tuscany-runtime-incubating-M1.jar"/>
- </fileset>
- <fileset dir="${mainDir}/lib/celtix">
- <include name="tuscany-celtix-incubating-M1.jar"/>
- </fileset>
- <pathelement path="target/sample-helloworldws-celtix.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>
- <jar destfile="target/sample-helloworldws-celtix.jar">
- <fileset dir="target/classes"/>
- </jar>
- </target>
-
- <target name="clean">
- <delete quiet="true" includeemptydirs="true">
- <fileset dir="target" excludes="sample-helloworldws-celtix-incubating-M1.jar"/>
- </delete>
- </target>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/pom.xml b/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/pom.xml
deleted file mode 100644
index b16d3b17c8..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/pom.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
- <parent>
- <groupId>org.apache.tuscany.samples.sca</groupId>
- <artifactId>tuscany-samples-sca</artifactId>
- <version>incubating-M1</version>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
- <artifactId>sample-helloworldws-celtix</artifactId>
- <packaging>jar</packaging>
- <name>Tuscany HelloWorld Celtix Web Service Sample</name>
- <description>A sample HelloWorld Web Service.</description>
- <version>incubating-M1</version>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany</groupId>
- <artifactId>tuscany-core</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca.containers</groupId>
- <artifactId>tuscany-container-java</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca.bindings</groupId>
- <artifactId>tuscany-binding-celtix</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
-
-
- </dependencies>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/readme.htm b/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/readme.htm
deleted file mode 100644
index 9b6b360892..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/readme.htm
+++ /dev/null
@@ -1,92 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
- <!-- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable. Licensed 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. -->
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta http-equiv="Content-Style-Type" content="text/css">
- <title>Tuscany Hello World Celtix Web Service Sample</title><!-- LINK rel="stylesheet" href="ait.css" type="text/css" --><!-- maven -->
- <style type="text/css" media="all">
- @import url("../../../../css/maven-base.css");
- @import url("../../../../css/maven-theme.css");
- @import url("../../../../css/site.css");
- </style>
- <link rel="stylesheet" href="./css/print.css" type="text/css" media="print">
- <!-- end maven -->
-</head>
- <body>
- <h2>Tuscany Hello World Celtix Web service Sample</h2> <h3>Overview</h3>
- <p>
- The Tuscany hello world Celtix Web service sample shows using the Tuscany SCA runtime as a standalone web service.
- </p>
- <h3>Location</h3> This sample is located &nbsp;in the samples\sca\helloworldws-celtix
- directory.<br>
-
-
- <h3>Setup</h3>This sample depends on the Tuscany runtime, Celtix, and the sample jar,
-
- <span style="font-weight: bold;">
- sample-helloworldws-celtix-incubating-M1.jar
- </span>
-
-, all of these must be available on the classpath to run the sample.
-
-<h3>Running</h3>
-
- In the directory samples/sca/helloworldws-celtix use the JDK 1.5 java command to run the class helloworld.HelloWorldServer
-
- <pre>Linux: java -cp ../../../lib/tuscany-runtime-incubating-M1.jar:../../../lib/celtix/tuscany-celtix-incubating-M1.jar:target/sample-helloworldws-celtix-incubating-M1.jar helloworld.HelloWorldServer</pre>
- <pre>Windows: java -cp ../../../lib/tuscany-runtime-incubating-M1.jar;../../../lib/celtix/tuscany-celtix-incubating-M1.jar;target/sample-helloworldws-celtix-incubating-M1.jar helloworld.HelloWorldServer</pre>
-
- <h3>Code Overview</h3> The source files are physically organized as shown below:<br>
- <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
- <tbody>
- <tr>
- <td>
- <pre>
- +---main
- +---java
- &brvbar; +---helloworld
- &brvbar; HelloWorldServer.java
- &brvbar; HelloWorldImpl.java
- &brvbar; HelloWorldService.java
- +---resources
- &brvbar; sca.module
- +---wsdl
- helloworld.wsdl
- </pre>
- </td>
- </tr>
- </tbody>
- </table>
- <br>
- <br>
- <table style="text-align: left; width: 100%; height: 154px;" border="0" cellpadding="2" cellspacing="2">
- <tbody>
- <tr>
- <td>HelloWorldServer.java</td>
- <td>Main method to startup the Tuscany runtime which will startup the services defined in sca.module</td>
- </tr>
- <tr>
- <td style="vertical-align: top;">HelloWorldService.java</td>
- <td>Defines the Java interface implemented by the component.</td>
- </tr>
- <tr>
- <td style="vertical-align: top;">HelloWorldImpl.java</td>
- <td>Implements the SCA component. Uses the SCA service annotation
- tag on the class to show what SCA interface is being implemented.</td>
- </tr>
- <tr>
- <td style="vertical-align: top; height: 62px;">sca.module</td>
- <td style="height: 62px;">Defines the SCA module, entryPoint and component.
- Defines for the HelloWorldServiceComponent component and the Java class that
- implements the component For the entryPoint it defines WSDL for the service, the
- Java interface provided by the service, and wires the service to the&nbsp;HelloWorldServiceComponent</td>
- </tr>
- <tr>
- <td>helloworld.wsdl</td>
- <td>WSDL for the service.</td>
- </tr>
- </tbody>
- </table>
- </body>
-</html> \ No newline at end of file
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/src/main/java/helloworld/HelloWorldImpl.java b/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/src/main/java/helloworld/HelloWorldImpl.java
deleted file mode 100644
index bf7209e7a8..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/src/main/java/helloworld/HelloWorldImpl.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 helloworld;
-
-import org.osoa.sca.annotations.Service;
-
-/**
- * This class implements the HelloWorld service.
- */
-@Service(HelloWorldService.class)
-public class HelloWorldImpl implements HelloWorldService {
-
- public String getGreetings(String name) {
- return "Hello " + name;
- }
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/src/main/java/helloworld/HelloWorldServer.java b/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/src/main/java/helloworld/HelloWorldServer.java
deleted file mode 100644
index e6290b3f37..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/src/main/java/helloworld/HelloWorldServer.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 helloworld;
-
-import org.apache.tuscany.core.client.TuscanyRuntime;
-import org.osoa.sca.CurrentModuleContext;
-import org.osoa.sca.ModuleContext;
-
-/**
- * This client program shows how to create an SCA runtime, start it,
- * locate the HelloWorld service and invoke it.
- */
-public class HelloWorldServer {
-
- public static final void main(String[] args) throws Exception {
-
- // Create a Tuscany runtime for the sample module component
- TuscanyRuntime tuscany = new TuscanyRuntime("HelloWorldModuleComponent", "http://helloworld");
-
- // Start the Tuscany runtime and associate it with this thread
- tuscany.start();
-
-
- System.out.println("Hit ENTER to exit");
- System.in.read();
-
- // Disassociate the runtime from this thread
- tuscany.stop();
-
- // Shut down the runtime
- tuscany.shutdown();
-
- System.exit(0);
- }
-}
-
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/src/main/java/helloworld/HelloWorldService.java b/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/src/main/java/helloworld/HelloWorldService.java
deleted file mode 100644
index 1f87f17d74..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/src/main/java/helloworld/HelloWorldService.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 helloworld;
-
-/**
- * This is the business interface of the HelloWorld greetings service.
- */
-public interface HelloWorldService {
-
- public String getGreetings(String name);
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/src/main/resources/sca.module b/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/src/main/resources/sca.module
deleted file mode 100644
index e16c62129a..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/src/main/resources/sca.module
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-<module xmlns="http://www.osoa.org/xmlns/sca/0.9" xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9"
- name="helloworld">
-
- <import.sdo wsdlLocation="wsdl/helloworld.wsdl"/>
- <import.wsdl location="wsdl/helloworld.wsdl" namespace="http://helloworld"/>
-
- <entryPoint name="HelloWorldService">
- <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"/>
- <binding.ws port="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"/>
- <reference>HelloWorldServiceComponent/HelloWorldService</reference>
- </entryPoint>
-
- <component name="HelloWorldServiceComponent">
- <implementation.java class="helloworld.HelloWorldImpl"/>
- </component>
-
-</module>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/src/main/resources/wsdl/helloworld.wsdl b/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/src/main/resources/wsdl/helloworld.wsdl
deleted file mode 100644
index 5e89bb071d..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldws-celtix/src/main/resources/wsdl/helloworld.wsdl
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-<wsdl:definitions targetNamespace="http://helloworld" xmlns:tns="http://helloworld" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- name="helloworld">
-
- <wsdl:types>
- <schema elementFormDefault="qualified" targetNamespace="http://helloworld" xmlns="http://www.w3.org/2001/XMLSchema">
-
- <element name="getGreetings">
- <complexType>
- <sequence>
- <element name="name" type="xsd:string"/>
- </sequence>
- </complexType>
- </element>
-
- <element name="getGreetingsResponse">
- <complexType>
- <sequence>
- <element name="getGreetingsReturn" type="xsd:string"/>
- </sequence>
- </complexType>
- </element>
- </schema>
- </wsdl:types>
-
- <wsdl:message name="getGreetingsRequest">
- <wsdl:part element="tns:getGreetings" name="parameters"/>
- </wsdl:message>
-
- <wsdl:message name="getGreetingsResponse">
- <wsdl:part element="tns:getGreetingsResponse" name="parameters"/>
- </wsdl:message>
-
- <wsdl:portType name="HelloWorld">
- <wsdl:operation name="getGreetings">
- <wsdl:input message="tns:getGreetingsRequest" name="getGreetingsRequest"/>
- <wsdl:output message="tns:getGreetingsResponse" name="getGreetingsResponse"/>
- </wsdl:operation>
- </wsdl:portType>
-
- <wsdl:binding name="HelloWorldSoapBinding" type="tns:HelloWorld">
- <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="getGreetings">
- <wsdlsoap:operation soapAction=""/>
- <wsdl:input name="getGreetingsRequest">
- <wsdlsoap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getGreetingsResponse">
- <wsdlsoap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
-
- <wsdl:service name="HelloWorldService">
- <wsdl:port binding="tns:HelloWorldSoapBinding" name="HelloWorldSoapPort">
- <wsdlsoap:address location="http://localhost:8080/sample-helloworldws/services/HelloWorldWebService"/>
- </wsdl:port>
- </wsdl:service>
-
-</wsdl:definitions>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldws/LICENSE.txt b/tags/java-M1-20060518/java/samples/sca/helloworldws/LICENSE.txt
deleted file mode 100644
index d645695673..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldws/LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed 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.
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldws/README.txt b/tags/java-M1-20060518/java/samples/sca/helloworldws/README.txt
deleted file mode 100644
index 9b26d1690a..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldws/README.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-Apache Tuscany M1 build (May, 2006)
-===================================
-
-http://incubator.apache.org/tuscany/
-
-Tuscany is an effort undergoing incubation at the Apache Software Foundation
-(ASF), sponsored by the Web Services PMC.
-
-Incubation is required of all newly accepted projects until a further review
-indicates that the infrastructure, communications, and decision making process
-have stabilized in a manner consistent with other successful ASF projects.
-
-While incubation status is not necessarily a reflection of the completeness or
-stability of the code, it does indicate that the project has yet to be fully
-endorsed by the ASF.
-
-
-Support
--------
-
-Any problem with this release can be reported to the Tuscany mailing list
-or in the JIRA issue tracker.
-
-Mailing list subscription:
- tuscany-dev-subscribe@ws.apache.org
-
-Jira:
- http://issues.apache.org/jira/browse/Tuscany
-
-
-Thank you for using Tuscany!
-
-
-The Tuscany Team.
-
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldws/build.xml b/tags/java-M1-20060518/java/samples/sca/helloworldws/build.xml
deleted file mode 100644
index 2ec1f34959..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldws/build.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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-helloworldws.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-helloworldws.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-helloworldws-incubating-M1.war"/>
- </delete>
- </target>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldws/pom.xml b/tags/java-M1-20060518/java/samples/sca/helloworldws/pom.xml
deleted file mode 100644
index 32086e1074..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldws/pom.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
- <parent>
- <groupId>org.apache.tuscany.samples.sca</groupId>
- <artifactId>tuscany-samples-sca</artifactId>
- <version>incubating-M1</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>sample-helloworldws</artifactId>
- <packaging>war</packaging>
- <name>Tuscany HelloWorld Web Service Sample</name>
- <description>A sample HelloWorld Web Service.</description>
- <version>incubating-M1</version>
-
- <properties>
- <ws.type>axis2</ws.type>
- </properties>
-
- <dependencies>
-
- <dependency>
- <groupId>org.apache.tuscany</groupId>
- <artifactId>tuscany-core</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca.containers</groupId>
- <artifactId>tuscany-container-java</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldws/readme.htm b/tags/java-M1-20060518/java/samples/sca/helloworldws/readme.htm
deleted file mode 100644
index af3620aa9f..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldws/readme.htm
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head><!-- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable. Licensed 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. -->
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta http-equiv="Content-Style-Type" content="text/css"><title>Tuscany
-Hello World Web Service Sample</title><!-- LINK rel="stylesheet" href="ait.css" type="text/css" --><!-- maven -->
-<style type="text/css" media="all">
-@import url("../../../../css/maven-base.css");
-@import url("../../../../css/maven-theme.css");
-@import url("../../../../css/site.css");
-</style><link rel="stylesheet" href="./css/print.css" type="text/css" media="print"><!-- end maven --></head>
-<body><h2>Tuscany
-Hello World WS Sample</h2>
-<h3>Overview</h3>
-<p>The Tuscany hello world ws sample shows using the Tuscany SCA
-runtime in a Tomcat environment&nbsp;providing&nbsp;a web
-service.</p>
-<h3>Location</h3>
-This sample is located &nbsp;in the samples\sca\helloworldws
-directory.<br>
-<h3>Setup</h3>
-Set up your server as described in the <a href="../../../GettingStarted.htm" target="_blank">Tomcat
-Setup</a>. &nbsp;If you are not using the pre-configured Tomcat server from the binary distribution, you will need to add
- <span style="font-weight: bold;">sample-helloworldws-incubating-M1.war</span>
-to your Tomcat's webapp directory.
-<h3>Running</h3>
-This service can be invoked by&nbsp;the Tuscany SCA <a target="_blank" href="../helloworldwsclient/readme.htm">helloworldwsclient</a> or <a target="_blank" href="../helloworldjsclient/readme.htm">helloworldjsclient</a>
-sample.<br>
-<h3>Code Overview</h3>
-The source files are physically organized as shown below:<br>
-<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"><tbody><tr><td>
-<pre>+---main<br> +---resources<br> &brvbar; &brvbar; sca.module<br> &brvbar; &brvbar;<br> &brvbar; +---wsdl<br> &brvbar; helloworld.wsdl<br> &brvbar;<br> +---webapp<br> +---WEB-INF<br> web.xml<br></pre></td></tr></tbody></table>
-<br><br><table style="text-align: left; width: 100%; height: 154px;" border="0" cellpadding="2" cellspacing="2"><tbody>
-<tr><td style="vertical-align: top; height: 62px;">sca.module</td>
-<td style="height: 62px;">Defines the SCA module,
-entryPoint and component. Defines for the HelloWorldServiceComponent
-component and the Java class that implements the component For the
-entryPoint it defines WSDL for the service, the Java interface provided
-by the service, and wires the service to
-the&nbsp;HelloWorldServiceComponent</td>
-</tr><tr>
-<td>helloworld.wsdl</td>
-<td>WSDL for the service.</td>
-</tr><tr><td>web.xml</td>
-<td>Standard J2EE web application's web.xml</td>
-</tr></tbody></table>
-<p>You may have noticed that there is no Java source for this
-components implementation. &nbsp;There reason is this sample reuses
-the code from the helloworld sample to implement the service.
-</p></body></html>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldws/src/main/java/helloworld/HelloWorldImpl.java b/tags/java-M1-20060518/java/samples/sca/helloworldws/src/main/java/helloworld/HelloWorldImpl.java
deleted file mode 100644
index bf7209e7a8..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldws/src/main/java/helloworld/HelloWorldImpl.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 helloworld;
-
-import org.osoa.sca.annotations.Service;
-
-/**
- * This class implements the HelloWorld service.
- */
-@Service(HelloWorldService.class)
-public class HelloWorldImpl implements HelloWorldService {
-
- public String getGreetings(String name) {
- return "Hello " + name;
- }
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldws/src/main/java/helloworld/HelloWorldService.java b/tags/java-M1-20060518/java/samples/sca/helloworldws/src/main/java/helloworld/HelloWorldService.java
deleted file mode 100644
index 1f87f17d74..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldws/src/main/java/helloworld/HelloWorldService.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 helloworld;
-
-/**
- * This is the business interface of the HelloWorld greetings service.
- */
-public interface HelloWorldService {
-
- public String getGreetings(String name);
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldws/src/main/resources/sca.module b/tags/java-M1-20060518/java/samples/sca/helloworldws/src/main/resources/sca.module
deleted file mode 100644
index 20139fced7..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldws/src/main/resources/sca.module
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-<module xmlns="http://www.osoa.org/xmlns/sca/0.9" xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9"
- name="helloworld">
-
- <import.sdo wsdlLocation="wsdl/helloworld.wsdl"/>
- <import.wsdl wsdlLocation="wsdl/helloworld.wsdl"/>
-
- <entryPoint name="HelloWorldWebService">
- <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"/>
- <binding.ws port="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"/>
- <reference>HelloWorldServiceComponent/HelloWorldService</reference>
- </entryPoint>
-
- <component name="HelloWorldServiceComponent">
- <implementation.java class="helloworld.HelloWorldImpl"/>
- </component>
-
-</module>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldws/src/main/resources/wsdl/helloworld.wsdl b/tags/java-M1-20060518/java/samples/sca/helloworldws/src/main/resources/wsdl/helloworld.wsdl
deleted file mode 100644
index cbc15f58eb..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldws/src/main/resources/wsdl/helloworld.wsdl
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-<wsdl:definitions targetNamespace="http://helloworld" xmlns:tns="http://helloworld" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- name="helloworld">
-
- <wsdl:types>
- <schema elementFormDefault="qualified" targetNamespace="http://helloworld" xmlns="http://www.w3.org/2001/XMLSchema">
-
- <element name="getGreetings">
- <complexType>
- <sequence>
- <element name="name" type="xsd:string"/>
- </sequence>
- </complexType>
- </element>
-
- <element name="getGreetingsResponse">
- <complexType>
- <sequence>
- <element name="getGreetingsReturn" type="xsd:string"/>
- </sequence>
- </complexType>
- </element>
- </schema>
- </wsdl:types>
-
- <wsdl:message name="getGreetingsRequest">
- <wsdl:part element="tns:getGreetings" name="parameters"/>
- </wsdl:message>
-
- <wsdl:message name="getGreetingsResponse">
- <wsdl:part element="tns:getGreetingsResponse" name="parameters"/>
- </wsdl:message>
-
- <wsdl:portType name="HelloWorld">
- <wsdl:operation name="getGreetings">
- <wsdl:input message="tns:getGreetingsRequest" name="getGreetingsRequest"/>
- <wsdl:output message="tns:getGreetingsResponse" name="getGreetingsResponse"/>
- </wsdl:operation>
- </wsdl:portType>
-
- <wsdl:binding name="HelloWorldSoapBinding" type="tns:HelloWorld">
- <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="getGreetings">
- <wsdlsoap:operation soapAction=""/>
- <wsdl:input name="getGreetingsRequest">
- <wsdlsoap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getGreetingsResponse">
- <wsdlsoap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
-
- <wsdl:service name="HelloWorldService">
- <wsdl:port binding="tns:HelloWorldSoapBinding" name="HelloWorldSoapPort">
- <wsdlsoap:address location="http://localhost:8080/sample-helloworldws/services/HelloWorldWebService"/>
- </wsdl:port>
- </wsdl:service>
-
-</wsdl:definitions>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldws/src/main/webapp/WEB-INF/web.xml b/tags/java-M1-20060518/java/samples/sca/helloworldws/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index 603eebabb1..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldws/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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 HelloWorld Web Service Sample</display-name>
-
-</web-app>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/LICENSE.txt b/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/LICENSE.txt
deleted file mode 100644
index d645695673..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed 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.
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/README.txt b/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/README.txt
deleted file mode 100644
index 9b26d1690a..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/README.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-Apache Tuscany M1 build (May, 2006)
-===================================
-
-http://incubator.apache.org/tuscany/
-
-Tuscany is an effort undergoing incubation at the Apache Software Foundation
-(ASF), sponsored by the Web Services PMC.
-
-Incubation is required of all newly accepted projects until a further review
-indicates that the infrastructure, communications, and decision making process
-have stabilized in a manner consistent with other successful ASF projects.
-
-While incubation status is not necessarily a reflection of the completeness or
-stability of the code, it does indicate that the project has yet to be fully
-endorsed by the ASF.
-
-
-Support
--------
-
-Any problem with this release can be reported to the Tuscany mailing list
-or in the JIRA issue tracker.
-
-Mailing list subscription:
- tuscany-dev-subscribe@ws.apache.org
-
-Jira:
- http://issues.apache.org/jira/browse/Tuscany
-
-
-Thank you for using Tuscany!
-
-
-The Tuscany Team.
-
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/build.xml b/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/build.xml
deleted file mode 100644
index 80258a4c81..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/build.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
- <fileset dir="${mainDir}/lib/axis2">
- <include name="tuscany-axis2-incubating-M1.jar"/>
- </fileset>
- </path>
- <path id="java.classpath">
- <fileset dir="${mainDir}/lib">
- <include name="tuscany-runtime-incubating-M1.jar"/>
- </fileset>
- <fileset dir="${mainDir}/lib/axis2">
- <include name="tuscany-axis2-incubating-M1.jar"/>
- </fileset>
- <pathelement path="target/sample-helloworldwsclient.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>
- <jar destfile="target/sample-helloworldwsclient.jar">
- <fileset dir="target/classes"/>
- </jar>
- </target>
-
- <target name="clean">
- <delete quiet="true" includeemptydirs="true">
- <fileset dir="target" excludes="sample-helloworldwsclient-incubating-M1.jar"/>
- </delete>
- </target>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/pom.xml b/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/pom.xml
deleted file mode 100644
index 9291bb5e47..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/pom.xml
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
- <parent>
- <groupId>org.apache.tuscany.samples.sca</groupId>
- <artifactId>tuscany-samples-sca</artifactId>
- <version>incubating-M1</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>sample-helloworldwsclient</artifactId>
- <packaging>jar</packaging>
- <name>Tuscany HelloWorld Web Service Client Sample</name>
- <description>A sample client for a HelloWorld Web Service.</description>
- <version>incubating-M1</version>
-
- <properties>
- <ws.type>axis2</ws.type>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany</groupId>
- <artifactId>tuscany-core</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca.containers</groupId>
- <artifactId>tuscany-container-java</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca.bindings</groupId>
- <artifactId>tuscany-binding-${ws.type}</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/readme.htm b/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/readme.htm
deleted file mode 100644
index 5a69727ad2..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/readme.htm
+++ /dev/null
@@ -1,64 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head><!-- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable. Licensed 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. -->
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Style-Type" content="text/css"><title>Tuscany
-Hello World Web Sample</title> <!-- LINK rel="stylesheet" href="ait.css" type="text/css" --><!-- maven --><style type="text/css" media="all">
-@import url("../../../../css/maven-base.css");
-@import url("../../../../css/maven-theme.css");
-@import url("../../../../css/site.css");
-</style>
-<link rel="stylesheet" href="./css/print.css" type="text/css" media="print"><!-- end maven --></head>
-<body><h2>Tuscany Hello World WS Client Sample</h2>
-<h3>Overview</h3>
-<p>The Tuscany hello world WS client sample shows using the
-Tuscany SCA runtime in a J2SE environment invoking a web service. </p>
-<h3>Location</h3>
-This sample is located &nbsp;in the samples\sca\helloworldwsclient
-directory.<br>
-
-
-<h3>Setup</h3>This sample depends on the Tuscany runtime, Axis2, and the sample jar,
-
- <span style="font-weight: bold;">
- sample-helloworldwsclient-incubating-M1.jar
- </span>
-
-, all of these must be available on the classpath to run the sample. Additionally, one of the helloworld web services must be running, either the Tomcat version, <a target="_blank" href="../helloworldws/readme.htm">helloworldws sample</a> or the Celtix version, <a target="_blank" href="../helloworldws-celtix/readme.htm">helloworldws-celtix sample</a>.
-<ol>
-</ol>
-<h3>Running</h3>
-
- In the directory samples/sca/helloworldwsclient use the JDK 1.5 java command to run the class helloworld.HelloWorldClient
-
- <pre>Linux: java -cp ../../../lib/tuscany-runtime-incubating-M1.jar:../../../lib/axis2/tuscany-axis2-incubating-M1.jar:target/sample-helloworldwsclient-incubating-M1.jar helloworld.HelloWorldClient</pre>
- <pre>Windows: java -cp ../../../lib/tuscany-runtime-incubating-M1.jar;../../../lib/axis2/tuscany-axis2-incubating-M1.jar;target/sample-helloworldwsclient-incubating-M1.jar helloworld.HelloWorldClient</pre>
-
- <b>Note: </b> In the above classpaths, you can replace axis2/tuscany-axis2-incubating-M1.jar with celtix/tuscany-celtix-incubating-M1.jar to use Celtix as the underlying webservices implementation.
-
-<h3>Results</h3>
-<p>The sample when run should simply display to the standard
-output:<br> <code>Hello World</code></p>
-<h3>Code Overview</h3>
-The source files are physically organized as shown below:<br>
-<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> <tbody> <tr>
-<td><pre>src<br>+---main<br> +---java<br> &brvbar; +---helloworld<br> &brvbar; HelloWorldClient.java<br> &brvbar; HelloWorldService.java<br> &brvbar;<br> +---resources<br> &brvbar; logging.properties<br> &brvbar; sca.module<br> &brvbar;<br> +---wsdl<br> helloworld.wsdl<br><br><br> <br></pre> </td> </tr>
-</tbody>
-</table><br>
-<br><table style="text-align: left; width: 100%; height: 154px;" border="0" cellpadding="2" cellspacing="2"> <tbody> <tr>
-<td style="vertical-align: top; height: 62px;">sca.module</td>
-<td style="height: 62px;">Defines the SCA module,
-externalService and component. Defines for the
-HelloWorldServiceComponent component and the Java class that implements
-the component For the externalService it defines WSDL for the service,
-the Java interface provided by the service.
-The&nbsp;the&nbsp;HelloWorldServiceComponent is via a
-referenced wired to the externalService</td> </tr> <tr>
-<td style="vertical-align: top;">HelloWorldClient.java</td>
-<td>Creates a Tuscany runtime and starts it. &nbsp;Obtains
-the module context which was defined by the sca.module file. From the
-module context locates the HelloWorldService entryPoint and then
-calls&nbsp; the getGreetings method to invoke the web service defined in the helloword.wsdl.</td>
-</tr> <tr> <td style="vertical-align: top; height: 26px;">HelloWorldService.java</td>
-<td style="height: 26px;">Defines the Java interface
-implemented by the component.</td> </tr> <tr> <td>helloworld.wsdl</td>
-<td>WSDL for the service.</td> </tr> </tbody>
-</table></body></html> \ No newline at end of file
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/src/main/java/helloworld/HelloWorldClient.java b/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/src/main/java/helloworld/HelloWorldClient.java
deleted file mode 100644
index be121bc63b..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/src/main/java/helloworld/HelloWorldClient.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 helloworld;
-
-import java.util.logging.Level;
-import java.util.logging.LogManager;
-import java.util.Properties;
-
-import org.osoa.sca.CurrentModuleContext;
-import org.osoa.sca.ModuleContext;
-
-import org.apache.tuscany.core.client.TuscanyRuntime;
-import org.apache.tuscany.common.monitor.MonitorFactory;
-import org.apache.tuscany.common.monitor.impl.JavaLoggingMonitorFactory;
-
-/**
- * This client program shows how to create an SCA runtime, start it,
- * locate the HelloWorld service and invoke it.
- */
-public class HelloWorldClient {
-
- public static final void main(String[] args) throws Exception {
-
- // Setup Tuscany monitoring to use java.util.logging
- LogManager.getLogManager().readConfiguration(HelloWorldClient.class.getResourceAsStream("/logging.properties"));
- Properties levels = new Properties();
- MonitorFactory monitorFactory = new JavaLoggingMonitorFactory(levels, Level.FINEST, "MonitorMessages");
-
- // Create a Tuscany runtime for the sample module component
- TuscanyRuntime tuscany = new TuscanyRuntime("HelloWorldModuleComponent", "http://helloworld", monitorFactory);
-
- // Start the Tuscany runtime and associate it with this thread
- tuscany.start();
-
- // Get the SCA module context.
- ModuleContext moduleContext = CurrentModuleContext.getContext();
-
- // Locate the HelloWorld service
- HelloWorldService helloworldService = (HelloWorldService) moduleContext.locateService("HelloWorldService");
-
- // Invoke the HelloWorld service
- String value = helloworldService.getGreetings("World");
-
- System.out.println(value);
- System.out.flush();
-
- // Disassociate the runtime from this thread
- tuscany.stop();
-
- // Shut down the runtime
- tuscany.shutdown();
- }
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/src/main/java/helloworld/HelloWorldService.java b/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/src/main/java/helloworld/HelloWorldService.java
deleted file mode 100644
index 1f87f17d74..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/src/main/java/helloworld/HelloWorldService.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 helloworld;
-
-/**
- * This is the business interface of the HelloWorld greetings service.
- */
-public interface HelloWorldService {
-
- public String getGreetings(String name);
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/src/main/resources/logging.properties b/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/src/main/resources/logging.properties
deleted file mode 100644
index 58407bd5a9..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/src/main/resources/logging.properties
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright (c) 2006 The Apache Software Foundation or its licensors, as applicable.
-#
-# Licensed 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.
-#
-# $Rev$ $Date$
-#
-
-# Custom logging configuration for Tuscany samples
-# By default, only INFO level logging is enabled and ALL messages get sent to the console
-# For more messages from the runtime, uncomment specific settings at the end of this file
-handlers = java.util.logging.ConsoleHandler
-java.util.logging.ConsoleHandler.level = ALL
-java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
-.level=INFO
-
-# Uncomment the next setting to get all Tuscany messages (this will be a lot)
-#org.apache.tuscany.level=FINEST \ No newline at end of file
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/src/main/resources/sca.module b/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/src/main/resources/sca.module
deleted file mode 100644
index 3247636e91..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/src/main/resources/sca.module
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-<module xmlns="http://www.osoa.org/xmlns/sca/0.9" xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9"
- name="sampleHelloworld">
-
- <import.sdo wsdlLocation="wsdl/helloworld.wsdl"/>
- <import.wsdl wsdlLocation="wsdl/helloworld.wsdl"/>
-
- <externalService name="HelloWorldService">
- <interface.java interface="helloworld.HelloWorldService"/>
- <binding.ws port="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"/>
- </externalService>
-
-</module>
diff --git a/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/src/main/resources/wsdl/helloworld.wsdl b/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/src/main/resources/wsdl/helloworld.wsdl
deleted file mode 100644
index cbc15f58eb..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworldwsclient/src/main/resources/wsdl/helloworld.wsdl
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-<wsdl:definitions targetNamespace="http://helloworld" xmlns:tns="http://helloworld" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- name="helloworld">
-
- <wsdl:types>
- <schema elementFormDefault="qualified" targetNamespace="http://helloworld" xmlns="http://www.w3.org/2001/XMLSchema">
-
- <element name="getGreetings">
- <complexType>
- <sequence>
- <element name="name" type="xsd:string"/>
- </sequence>
- </complexType>
- </element>
-
- <element name="getGreetingsResponse">
- <complexType>
- <sequence>
- <element name="getGreetingsReturn" type="xsd:string"/>
- </sequence>
- </complexType>
- </element>
- </schema>
- </wsdl:types>
-
- <wsdl:message name="getGreetingsRequest">
- <wsdl:part element="tns:getGreetings" name="parameters"/>
- </wsdl:message>
-
- <wsdl:message name="getGreetingsResponse">
- <wsdl:part element="tns:getGreetingsResponse" name="parameters"/>
- </wsdl:message>
-
- <wsdl:portType name="HelloWorld">
- <wsdl:operation name="getGreetings">
- <wsdl:input message="tns:getGreetingsRequest" name="getGreetingsRequest"/>
- <wsdl:output message="tns:getGreetingsResponse" name="getGreetingsResponse"/>
- </wsdl:operation>
- </wsdl:portType>
-
- <wsdl:binding name="HelloWorldSoapBinding" type="tns:HelloWorld">
- <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="getGreetings">
- <wsdlsoap:operation soapAction=""/>
- <wsdl:input name="getGreetingsRequest">
- <wsdlsoap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getGreetingsResponse">
- <wsdlsoap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
-
- <wsdl:service name="HelloWorldService">
- <wsdl:port binding="tns:HelloWorldSoapBinding" name="HelloWorldSoapPort">
- <wsdlsoap:address location="http://localhost:8080/sample-helloworldws/services/HelloWorldWebService"/>
- </wsdl:port>
- </wsdl:service>
-
-</wsdl:definitions>
diff --git a/tags/java-M1-20060518/java/samples/sca/pom.xml b/tags/java-M1-20060518/java/samples/sca/pom.xml
deleted file mode 100644
index ae04924f5e..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/pom.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
- <parent>
- <groupId>org.apache.tuscany.samples</groupId>
- <artifactId>tuscany-samples</artifactId>
- <version>incubating-M1</version>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.tuscany.samples.sca</groupId>
- <artifactId>tuscany-samples-sca</artifactId>
- <packaging>pom</packaging>
- <name>Tuscany SCA Samples</name>
- <version>incubating-M1</version>
-
- <modules>
- <module>helloworld</module>
- <module>helloworldweb</module>
- <module>calculator</module>
- <module>customerinfo</module>
- <module>helloworldws</module>
- <module>helloworldws-celtix</module>
- <module>helloworldwsclient</module>
- <module>supplychain</module>
- <module>helloworldjsonrpc</module>
- <module>helloworld-jms</module>
- <module>helloworlde4xws</module>
- <module>helloworldjsclient</module>
- </modules>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/readme.htm b/tags/java-M1-20060518/java/samples/sca/readme.htm
deleted file mode 100644
index 2e3af5de93..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/readme.htm
+++ /dev/null
@@ -1,95 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML>
-<HEAD>
-
-<!-- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable. Licensed 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. -->
- <META CONTENT="text/html; charset=iso-8859-1" HTTP-EQUIV="Content-Type">
- <META CONTENT="text/css" HTTP-EQUIV="Content-Style-Type">
- <TITLE>Tuscany SCA Samples</TITLE>
- <STYLE MEDIA="all" TYPE="text/css">
-@import url("../../javadoc/css/maven-base.css");
-@import url("../../javadoc/css/maven-theme.css");
-@import url("../../javadoc/css//site.css");
- </STYLE>
- <LINK HREF="./css/print.css" MEDIA="print" REL="stylesheet"
- TYPE="text/css">
-</HEAD>
-<BODY>
-<H2>Tuscany SCA Technology Samples</H2> To configure and build&nbsp; see
-<A HREF="../../GettingStarted.htm">Sample setup</A><BR>
-<BR>
-<DIV CLASS="section">
- <H3>Sample Summary</H3>
- <TABLE CLASS="bodyTable">
- <CAPTION STYLE="text-decoration: underline;">Tuscany samples summary</CAPTION>
-
- <TBODY>
- <TR CLASS="a">
- <TD> <A HREF="helloworld/readme.htm" TARGET="_blank">helloworld</A></TD>
- <TD>Sample showing a J2SE client using the Tuscany SCA runtime and
- invoking a component.
- </TD>
- </TR>
- <TR CLASS="b">
- <TD><A HREF="helloworldweb/readme.htm" TARGET="_blank">helloworldweb</A>&nbsp;</TD>
- <TD>Sample showing a J2EE web app client using the Tuscany SCA
- runtime and invoking a component.
- </TD>
- </TR>
- <TR CLASS="a">
- <TD><A HREF="helloworldws/readme.htm" TARGET="_blank">helloworldws</A>&nbsp;</TD>
- <TD>Sample showing a Tuscany SCA component exposed as a Web
- service endpoint.
- </TD>
- </TR>
- <TR CLASS="b">
- <TD><A HREF="helloworldwsclient/readme.htm" TARGET="_blank">helloworldwsclient</A>&nbsp;</TD>
- <TD>Sample showing a J2SE client using the Tuscany SCA runtime and
- invoking a remote Web service
- </TD>
- </TR>
- <TR CLASS="a">
- <TD><A HREF="helloworldws-celtix/readme.htm">helloworldws-celtix</A></TD>
- <TD>HelloWorld Sample using Celtix.</TD>
- </TR>
- <TR CLASS="b">
- <TD><A HREF="helloworld-jms/server/readme.htm">helloworld-jms server</A></TD>
- <TD>HelloWorld JMS server sample using Celtix.</TD>
- </TR>
- <TR CLASS="a">
- <TD><A HREF="helloworld-jms/client/readme.htm">helloworld-jms client</A></TD>
- <TD>HelloWorld JMS client sample using Celtix.</TD>
- </TR>
- <TR CLASS="b">
- <TD><A HREF="helloworlde4xws/readme.htm">helloworlde4xws</A></TD>
- <TD>Sample showing a JavaScript/E4X component exposed as a Web
- service</TD>
- </TR>
- <TR CLASS="a">
- <TD><A HREF="helloworldjsonrpc/readme.htm">helloworldjsonrpc</A></TD>
- <TD>Sample HelloWorld Web application using JSON-RPC</TD>
- </TR>
- <TR CLASS="b">
- <TD><A HREF="helloworldjsclient/readme.htm">helloworldjsclient</A></TD>
- <TD>Another JSON-RPC web app sample showing a Web service client</TD>
- </TR>
- <TR CLASS="a">
- <TD><A HREF="calculator/readme.htm">calculator</A></TD>
- <TD>Sample showing &nbsp;Tuscany SCA runtime using multiple
- components.</TD>
- </TR>
- <TR CLASS="b">
- <TD><A HREF="customerinfo/readme.htm">customerinfo</A></TD>
- <TD>Sample showing &nbsp;a component &nbsp;exposing a WSDL
- &nbsp;portType interface and using the dynamic SDO API</TD>
- </TR>
- <TR CLASS="a">
- <TD><A HREF="supplychain/readme.htm">supplychain</A></TD>
- <TD>Sample showing the use of Tuscany SCA asynchronous API</TD>
- </TR>
- </TBODY>
- </TABLE>
- <BR>
-</DIV>
-</BODY>
-</HTML>
diff --git a/tags/java-M1-20060518/java/samples/sca/supplychain/LICENSE.txt b/tags/java-M1-20060518/java/samples/sca/supplychain/LICENSE.txt
deleted file mode 100644
index d645695673..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/supplychain/LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed 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.
diff --git a/tags/java-M1-20060518/java/samples/sca/supplychain/README.txt b/tags/java-M1-20060518/java/samples/sca/supplychain/README.txt
deleted file mode 100644
index 9b26d1690a..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/supplychain/README.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-Apache Tuscany M1 build (May, 2006)
-===================================
-
-http://incubator.apache.org/tuscany/
-
-Tuscany is an effort undergoing incubation at the Apache Software Foundation
-(ASF), sponsored by the Web Services PMC.
-
-Incubation is required of all newly accepted projects until a further review
-indicates that the infrastructure, communications, and decision making process
-have stabilized in a manner consistent with other successful ASF projects.
-
-While incubation status is not necessarily a reflection of the completeness or
-stability of the code, it does indicate that the project has yet to be fully
-endorsed by the ASF.
-
-
-Support
--------
-
-Any problem with this release can be reported to the Tuscany mailing list
-or in the JIRA issue tracker.
-
-Mailing list subscription:
- tuscany-dev-subscribe@ws.apache.org
-
-Jira:
- http://issues.apache.org/jira/browse/Tuscany
-
-
-Thank you for using Tuscany!
-
-
-The Tuscany Team.
-
diff --git a/tags/java-M1-20060518/java/samples/sca/supplychain/build.xml b/tags/java-M1-20060518/java/samples/sca/supplychain/build.xml
deleted file mode 100644
index 8311b1708b..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/supplychain/build.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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-supplychain.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>
- <jar destfile="target/sample-supplychain.jar">
- <fileset dir="target/classes"/>
- </jar>
- </target>
-
- <target name="clean">
- <delete quiet="true" includeemptydirs="true">
- <fileset dir="target" excludes="sample-supplychain-incubating-M1.jar"/>
- </delete>
- </target>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/supplychain/pom.xml b/tags/java-M1-20060518/java/samples/sca/supplychain/pom.xml
deleted file mode 100644
index 3ee6f1e9f1..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/supplychain/pom.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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>
- <parent>
- <groupId>org.apache.tuscany.samples.sca</groupId>
- <artifactId>tuscany-samples-sca</artifactId>
- <version>incubating-M1</version>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
- <artifactId>sample-supplychain</artifactId>
- <packaging>jar</packaging>
- <name>Tuscany Supply Chain Sample</name>
- <description>A sample implementation of an asynchronous supply chain application.</description>
- <version>incubating-M1</version>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany</groupId>
- <artifactId>tuscany-core</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca.containers</groupId>
- <artifactId>tuscany-container-java</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-</project>
diff --git a/tags/java-M1-20060518/java/samples/sca/supplychain/readme.htm b/tags/java-M1-20060518/java/samples/sca/supplychain/readme.htm
deleted file mode 100644
index d7e2d92c53..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/supplychain/readme.htm
+++ /dev/null
@@ -1,71 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head><!-- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable. Licensed 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. -->
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Style-Type" content="text/css"><title>Tuscany
-Supply Chain</title><!-- LINK rel="stylesheet" href="ait.css" type="text/css" -->
-<style type="text/css" media="all">
-@import url("../../../../css/maven-base.css");
-@import url("../../../../css/maven-theme.css");
-@import url("../../../../css/site.css");
-</style><link rel="stylesheet" href="./css/print.css" type="text/css" media="print"></head>
-<body><h2>Tuscany
-Supply Chain Sample</h2>
-<h3>Overview</h3>
-<p>The Tuscany supply chain sample shows using the Tuscany SCA
-runtime in a J2SE environment&nbsp;executing the SCA asynchronous API.</p>
-<h3>Location</h3>This
-sample is located &nbsp;in the samples\sca\supplychain directory.<br>
-<h3>Setup</h3>This sample depends on the Tuscany runtime
-and the sample jar,&nbsp;<span style="font-weight: bold;">sample-supplychain-incubating-M1.jar</span>
-, both of these must be available on the classpath to run the sample.
-<h3>Running</h3> In the directory&nbsp;samples\sca\supplychain
-use the JDK 1.5 java command to run the class <span style="font-weight: bold;">supplychain.SupplyChainClient</span> <pre>Linux: java -cp ../../../lib/tuscany-runtime-incubating-M1.jar:target\sample-supplychain-incubating-M1.jar supplychain.SupplyChainClient</pre>
-<pre>Windows: java -cp ../../../lib/tuscany-runtime-incubating-M1.jar;target\sample-supplychain-incubating-M1.jar supplychain.SupplyChainClient</pre><h3>Results</h3>
-<p>The sample when run should simply display to the standard
-output: <code></code></p><p>May 16, 2006
-3:12:13 PM org.apache.tuscany.core.client.TuscanyRuntime$Monitor
-moduleStarted<br>INFO: Started application module [supplychain]<br>Main
-thread Thread[main,5,main]<br>Work thread Thread[Thread-1,5,main]
-- <span style="font-weight: bold;">Order, submitted, fulfilled, shipped</span><code></code></p>
-<h3>Code Overview</h3>
-The source files are physically organized as shown below:
-<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> <tbody> <tr><td>src<br>+---main<br>&nbsp;&nbsp;&nbsp;
-+---java<br>&nbsp;&nbsp;&nbsp;
-&brvbar;&nbsp;&nbsp; +---supplychain<br>&nbsp;&nbsp;&nbsp;
-&brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-Customer.java<br>&nbsp;&nbsp;&nbsp;
-&brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-CustomerComponentImpl.java<br>&nbsp;&nbsp;&nbsp;
-&brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-Retailer.java<br>&nbsp;&nbsp;&nbsp;
-&brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-RetailerComponentImpl.java<br>&nbsp;&nbsp;&nbsp;
-&brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-Shipper.java<br>&nbsp;&nbsp;&nbsp;
-&brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-ShipperComponentImpl.java<br>&nbsp;&nbsp;&nbsp;
-&brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-SupplyChainClient.java<br>&nbsp;&nbsp;&nbsp;
-&brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-Warehouse.java<br>&nbsp;&nbsp;&nbsp;
-&brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-WarehouseComponentImpl.java<br>&nbsp;&nbsp;&nbsp;
-&brvbar;<br>&nbsp;&nbsp;&nbsp; +---resources<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-logging.properties<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-sca.module<br></td></tr></tbody></table>
-<br><table style="text-align: left; width: 879px; height: 154px;" border="0" cellpadding="2" cellspacing="2"> <tbody> <tr> <td style="vertical-align: top;">Customer.java</td>
-<td>Defines the Java interface implemented by the Customer
-component.</td>
-</tr> <tr> <td style="vertical-align: top;">CustomerComponentImpl.java</td>
-<td>Implements the SCA Customer component.</td>
-</tr> <tr> <td style="vertical-align: top;">Retailer.java</td>
-<td>Defines the Java interface implemented by the Retailer
-component.</td>
-</tr><tr><td>RetailerComponentImpl.java</td><td>Implements
-the SCA&nbsp;RetailerComponent component.</td></tr><tr><td>Shipper.java</td><td>Defines
-the Java interface implemented by the&nbsp;Shipper component</td></tr><tr><td>ShipperComponentImpl.java</td><td>Implements
-the SCA&nbsp;ShipperComponent component.</td></tr><tr><td>SupplyChainClient.java</td><td>SupplyChainClient.java
-loads SCA runtime</td></tr><tr><td>Warehouse.java</td><td>Defines
-the Java interface implemented by the&nbsp;Warehouse component.</td></tr><tr><td>WarehouseComponentImpl.java</td><td>Implements
-the SCA&nbsp;WarehouseComponent component.</td></tr><tr><td>logging.properties</td><td>Configures
-Tuscany logging. Provides the output of this demo.</td></tr><tr><td>sca.module</td><td>Defines
-and assembles the SCA components</td></tr> </tbody></table><br></body></html> \ No newline at end of file
diff --git a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/Customer.java b/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/Customer.java
deleted file mode 100644
index 5d35802833..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/Customer.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 supplychain;
-
-import org.osoa.sca.annotations.OneWay;
-
-/**
- * This is the business interface of the Customer service component.
- */
-public interface Customer {
-
- public void purchaseGoods();
-
- @OneWay
- public void notifyShipment(String order);
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/CustomerComponentImpl.java b/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/CustomerComponentImpl.java
deleted file mode 100644
index 2ec01ebbc8..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/CustomerComponentImpl.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 supplychain;
-
-import org.osoa.sca.annotations.Reference;
-import org.osoa.sca.annotations.Service;
-
-/**
- * This class implements the Customer service component.
- */
-@Service(Customer.class)
-public class CustomerComponentImpl implements Customer {
-
- private Retailer retailer;
-
- @Reference
- public void setRetailer(Retailer retailer) {
- this.retailer = retailer;
- }
-
- public void purchaseGoods() {
- retailer.submitOrder("Order");
- }
-
- public void notifyShipment(String order) {
- System.out.print("Work thread " + Thread.currentThread() + " - ");
- System.out.println(order);
- }
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/Retailer.java b/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/Retailer.java
deleted file mode 100644
index 9496e730f5..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/Retailer.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 supplychain;
-
-/**
- * This is the business interface of the Retailer service component.
- */
-public interface Retailer {
-
- public void submitOrder(String order);
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/RetailerComponentImpl.java b/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/RetailerComponentImpl.java
deleted file mode 100644
index 4079bd2aea..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/RetailerComponentImpl.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 supplychain;
-
-import org.osoa.sca.annotations.Reference;
-import org.osoa.sca.annotations.Service;
-
-/**
- * This class implements the Customer service component.
- */
-@Service(Retailer.class)
-public class RetailerComponentImpl implements Retailer {
-
- private Warehouse warehouse;
-
- @Reference
- public void setWarehouse(Warehouse warehouse) {
- this.warehouse = warehouse;
- }
-
- public void submitOrder(String order) {
- warehouse.fulfillOrder(order + ", submitted");
- }
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/Shipper.java b/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/Shipper.java
deleted file mode 100644
index 94d60d99a2..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/Shipper.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 supplychain;
-
-/**
- * This is the business interface of the Shipper service component.
- */
-public interface Shipper {
-
- public void processShipment(String order);
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/ShipperComponentImpl.java b/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/ShipperComponentImpl.java
deleted file mode 100644
index 4283bed795..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/ShipperComponentImpl.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 supplychain;
-
-import org.osoa.sca.annotations.Reference;
-import org.osoa.sca.annotations.Service;
-
-/**
- * This class implements the Warehouse service component.
- */
-@Service(Shipper.class)
-public class ShipperComponentImpl implements Shipper {
-
- private Customer customer;
-
- @Reference
- public void setCustomer(Customer customer) {
- this.customer = customer;
- }
-
- public void processShipment(String order) {
- customer.notifyShipment(order + ", shipped");
- }
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/SupplyChainClient.java b/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/SupplyChainClient.java
deleted file mode 100644
index de30da9428..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/SupplyChainClient.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 supplychain;
-
-import java.util.Properties;
-import java.util.logging.Level;
-import java.util.logging.LogManager;
-
-import org.apache.tuscany.common.monitor.MonitorFactory;
-import org.apache.tuscany.common.monitor.impl.JavaLoggingMonitorFactory;
-import org.apache.tuscany.core.client.TuscanyRuntime;
-import org.osoa.sca.CurrentModuleContext;
-import org.osoa.sca.ModuleContext;
-
-/**
- * This client program shows how to create an SCA runtime, start it,
- * locate a Customer service component and invoke it.
- */
-public class SupplyChainClient {
-
- public static final void main(String[] args) throws Exception {
-
- // Setup Tuscany monitoring to use java.util.logging
- LogManager.getLogManager().readConfiguration(SupplyChainClient.class.getResourceAsStream("/logging.properties"));
- Properties levels = new Properties();
- MonitorFactory monitorFactory = new JavaLoggingMonitorFactory(levels, Level.FINEST, "MonitorMessages");
-
- // Obtain Tuscany runtime
- TuscanyRuntime tuscany = new TuscanyRuntime("supplychain", null, monitorFactory);
-
- // Associate the application module component with this thread
- tuscany.start();
-
- // Obtain SCA module context.
- ModuleContext moduleContext = CurrentModuleContext.getContext();
-
- // Locate the HelloWorld service component and invoke it
- Customer customer = (Customer) moduleContext.locateService("CustomerComponent");
- System.out.println("Main thread " + Thread.currentThread());
- customer.purchaseGoods();
-
- }
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/Warehouse.java b/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/Warehouse.java
deleted file mode 100644
index de52e71c1e..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/Warehouse.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 supplychain;
-
-/**
- * This is the business interface of the Warehouse service component.
- */
-public interface Warehouse {
-
- public void fulfillOrder(String order);
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/WarehouseComponentImpl.java b/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/WarehouseComponentImpl.java
deleted file mode 100644
index 96e0f2795b..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/java/supplychain/WarehouseComponentImpl.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 supplychain;
-
-import org.osoa.sca.annotations.Reference;
-import org.osoa.sca.annotations.Service;
-
-/**
- * This class implements the Warehouse service component.
- */
-@Service(Warehouse.class)
-public class WarehouseComponentImpl implements Warehouse {
-
- private Shipper shipper;
-
- @Reference
- public void setShipper(Shipper shipper) {
- this.shipper = shipper;
- }
-
- public void fulfillOrder(String order) {
- shipper.processShipment(order + ", fulfilled");
- }
-
-}
diff --git a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/resources/logging.properties b/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/resources/logging.properties
deleted file mode 100644
index 58407bd5a9..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/resources/logging.properties
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright (c) 2006 The Apache Software Foundation or its licensors, as applicable.
-#
-# Licensed 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.
-#
-# $Rev$ $Date$
-#
-
-# Custom logging configuration for Tuscany samples
-# By default, only INFO level logging is enabled and ALL messages get sent to the console
-# For more messages from the runtime, uncomment specific settings at the end of this file
-handlers = java.util.logging.ConsoleHandler
-java.util.logging.ConsoleHandler.level = ALL
-java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
-.level=INFO
-
-# Uncomment the next setting to get all Tuscany messages (this will be a lot)
-#org.apache.tuscany.level=FINEST \ No newline at end of file
diff --git a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/resources/sca.module b/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/resources/sca.module
deleted file mode 100644
index e44798b89f..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/supplychain/src/main/resources/sca.module
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable.
-
- Licensed 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.
- -->
-<module xmlns="http://www.osoa.org/xmlns/sca/0.9" xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9"
- name="supplychain">
-
- <component name="CustomerComponent">
- <implementation.java class="supplychain.CustomerComponentImpl"/>
- <references>
- <v:retailer>RetailerComponent</v:retailer>
- </references>
- </component>
-
- <component name="RetailerComponent">
- <implementation.java class="supplychain.RetailerComponentImpl"/>
- <references>
- <v:warehouse>WarehouseComponent</v:warehouse>
- </references>
- </component>
-
- <component name="WarehouseComponent">
- <implementation.java class="supplychain.WarehouseComponentImpl"/>
- <references>
- <v:shipper>ShipperComponent</v:shipper>
- </references>
- </component>
-
- <component name="ShipperComponent">
- <implementation.java class="supplychain.ShipperComponentImpl"/>
- <references>
- <v:customer>CustomerComponent</v:customer>
- </references>
- </component>
-
-</module>
diff --git a/tags/java-M1-20060518/java/samples/sca/supplychain/src/test/java/supplychain/SupplyChainClientTestCase.java b/tags/java-M1-20060518/java/samples/sca/supplychain/src/test/java/supplychain/SupplyChainClientTestCase.java
deleted file mode 100644
index ecc3b17985..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/supplychain/src/test/java/supplychain/SupplyChainClientTestCase.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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 supplychain;
-
-import junit.framework.TestCase;
-
-import org.apache.tuscany.core.client.TuscanyRuntime;
-import org.osoa.sca.CurrentModuleContext;
-import org.osoa.sca.ModuleContext;
-
-import supplychain.Customer;
-
-/**
- * This client program shows how to create an SCA runtime, start it,
- * locate a simple HelloWorld service component and invoke it.
- */
-public class SupplyChainClientTestCase extends TestCase {
-
- public void test() throws Exception {
-
- // Obtain Tuscany runtime
- TuscanyRuntime tuscany = new TuscanyRuntime("hello", null);
-
- // Associate the application module component with this thread
- tuscany.start();
-
- // Obtain SCA module context.
- ModuleContext moduleContext = CurrentModuleContext.getContext();
-
- // Locate the HelloWorld service component and invoke it
- // Locate the CustomerComponent service component and invoke it
- Customer customer = (Customer) moduleContext.locateService("CustomerComponent");
- System.out.println("Main thread " + Thread.currentThread());
- customer.purchaseGoods();
-
- }
-}