From 5fe6ebefb021901867911382c0c47e1b73718788 Mon Sep 17 00:00:00 2001 From: kelvingoodson Date: Sat, 25 Sep 2010 16:27:54 +0000 Subject: TUSCANY-3677 getting-started clearup git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1001253 13f79535-47bb-0310-9956-ffa450edef68 --- .../webapps/helloworld-bpel-webapp/README | 7 - .../webapps/helloworld-bpel-webapp/pom.xml | 160 --------------------- .../src/main/java/sample/HelloworldService.java | 28 ---- .../src/main/resources/helloworld.bpel | 66 --------- .../src/main/resources/helloworld.wsdl | 82 ----------- .../src/main/webapp/WEB-INF/web.composite | 37 ----- .../src/main/webapp/WEB-INF/web.xml | 41 ------ .../src/main/webapp/hello.jsp | 36 ----- .../helloworld-bpel-webapp/README | 7 + .../helloworld-bpel-webapp/pom.xml | 160 +++++++++++++++++++++ .../src/main/java/sample/HelloworldService.java | 28 ++++ .../src/main/resources/helloworld.bpel | 66 +++++++++ .../src/main/resources/helloworld.wsdl | 82 +++++++++++ .../src/main/webapp/WEB-INF/web.composite | 37 +++++ .../src/main/webapp/WEB-INF/web.xml | 41 ++++++ .../src/main/webapp/hello.jsp | 36 +++++ 16 files changed, 457 insertions(+), 457 deletions(-) delete mode 100644 sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/README delete mode 100644 sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/pom.xml delete mode 100644 sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/java/sample/HelloworldService.java delete mode 100644 sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/resources/helloworld.bpel delete mode 100644 sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/resources/helloworld.wsdl delete mode 100644 sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/webapp/WEB-INF/web.composite delete mode 100644 sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/webapp/WEB-INF/web.xml delete mode 100644 sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/webapp/hello.jsp create mode 100644 sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/README create mode 100644 sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/pom.xml create mode 100644 sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/java/sample/HelloworldService.java create mode 100644 sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/resources/helloworld.bpel create mode 100644 sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/resources/helloworld.wsdl create mode 100644 sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/webapp/WEB-INF/web.composite create mode 100644 sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/webapp/WEB-INF/web.xml create mode 100644 sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/webapp/hello.jsp (limited to 'sca-java-2.x') diff --git a/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/README b/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/README deleted file mode 100644 index 828aadb0f1..0000000000 --- a/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/README +++ /dev/null @@ -1,7 +0,0 @@ -The README in the /samples directory provides -general instructions about building and running samples. (where -distribution-unpack-dir is the directory in which you unpacked the tuscany -binary distribution archive). Take a look there first (noting at you read it that this sample -is not a new style sample). - -TODO - finish \ No newline at end of file diff --git a/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/pom.xml b/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/pom.xml deleted file mode 100644 index 1ca3770b74..0000000000 --- a/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/pom.xml +++ /dev/null @@ -1,160 +0,0 @@ - - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-samples - 2.0-SNAPSHOT - ../../pom.xml - - - sample-helloworld-bpel-webapp - war - Apache Tuscany SCA Sample Helloworld BPEL - - - 2.0-SNAPSHOT - 6.1.18 - - - - - - org.apache.tuscany.sca - tuscany-sca-api - ${tuscany.version} - - - - org.apache.tuscany.sca - tuscany-implementation-web-runtime - ${tuscany.version} - runtime - - - - org.apache.tuscany.sca - tuscany-implementation-bpel-runtime - ${tuscany.version} - runtime - - - - - junit - junit - 4.8.1 - test - - - - - org.mortbay.jetty - jetty - ${jetty.version} - provided - - - org.mortbay.jetty - jetty-util - ${jetty.version} - provided - - - org.mortbay.jetty - jetty-management - ${jetty.version} - provided - - - - - helloworld-bpel - - - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack - compile - - unpack - - - - - org.apache.ode - ode-dao-jpa-ojpa-derby - 1.1.1 - zip - false - ${project.build.directory}/classes - **/* - - - - - - - - - org.mortbay.jetty - maven-jetty-plugin - 6.1.18 - - helloworld-bpel - foo - 9999 - - - - start-jetty - process-test-classes - - run - - - 0 - true - - - 8085 - - - - - - stop-jetty - prepare-package - - stop - - - - - - - - diff --git a/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/java/sample/HelloworldService.java b/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/java/sample/HelloworldService.java deleted file mode 100644 index c1a50d9be5..0000000000 --- a/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/java/sample/HelloworldService.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package sample; - -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -public interface HelloworldService { - - String hello(String name); - -} diff --git a/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/resources/helloworld.bpel b/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/resources/helloworld.bpel deleted file mode 100644 index f1e8895f76..0000000000 --- a/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/resources/helloworld.bpel +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - concat('Hello ', $myVar.TestPart/test:message/text()) - - - - $tmpVar - $myVar.TestPart/test:message - - - - - diff --git a/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/resources/helloworld.wsdl b/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/resources/helloworld.wsdl deleted file mode 100644 index 46cf381577..0000000000 --- a/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/resources/helloworld.wsdl +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/webapp/WEB-INF/web.composite b/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/webapp/WEB-INF/web.composite deleted file mode 100644 index 3d36adadeb..0000000000 --- a/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/webapp/WEB-INF/web.composite +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/webapp/WEB-INF/web.xml b/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/webapp/WEB-INF/web.xml deleted file mode 100644 index bf01a7b759..0000000000 --- a/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/webapp/WEB-INF/web.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - helloworld-bpel - - - tuscany.helloworld-bpel - org.apache.tuscany.sca.host.webapp.TuscanyServletFilter - - - - tuscany.helloworld-bpel - /* - - - - hello.jsp - - - diff --git a/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/webapp/hello.jsp b/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/webapp/hello.jsp deleted file mode 100644 index c52d7b1cb2..0000000000 --- a/sca-java-2.x/trunk/samples/getting-started/webapps/helloworld-bpel-webapp/src/main/webapp/hello.jsp +++ /dev/null @@ -1,36 +0,0 @@ -<%-- - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. ---%> -<%@ page contentType="text/html;charset=UTF-8" language="java" %> -<%@ taglib uri="http://www.osoa.org/sca/sca_jsp.tld" prefix="sca" %> - - - - - - -

helloworld-bpel

- - Calling HelloworldService sayHello("world") returns: - -

- - <%= service.hello("world") %> - - - diff --git a/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/README b/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/README new file mode 100644 index 0000000000..828aadb0f1 --- /dev/null +++ b/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/README @@ -0,0 +1,7 @@ +The README in the /samples directory provides +general instructions about building and running samples. (where +distribution-unpack-dir is the directory in which you unpacked the tuscany +binary distribution archive). Take a look there first (noting at you read it that this sample +is not a new style sample). + +TODO - finish \ No newline at end of file diff --git a/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/pom.xml b/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/pom.xml new file mode 100644 index 0000000000..1ca3770b74 --- /dev/null +++ b/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/pom.xml @@ -0,0 +1,160 @@ + + + + + 4.0.0 + + org.apache.tuscany.sca + tuscany-samples + 2.0-SNAPSHOT + ../../pom.xml + + + sample-helloworld-bpel-webapp + war + Apache Tuscany SCA Sample Helloworld BPEL + + + 2.0-SNAPSHOT + 6.1.18 + + + + + + org.apache.tuscany.sca + tuscany-sca-api + ${tuscany.version} + + + + org.apache.tuscany.sca + tuscany-implementation-web-runtime + ${tuscany.version} + runtime + + + + org.apache.tuscany.sca + tuscany-implementation-bpel-runtime + ${tuscany.version} + runtime + + + + + junit + junit + 4.8.1 + test + + + + + org.mortbay.jetty + jetty + ${jetty.version} + provided + + + org.mortbay.jetty + jetty-util + ${jetty.version} + provided + + + org.mortbay.jetty + jetty-management + ${jetty.version} + provided + + + + + helloworld-bpel + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack + compile + + unpack + + + + + org.apache.ode + ode-dao-jpa-ojpa-derby + 1.1.1 + zip + false + ${project.build.directory}/classes + **/* + + + + + + + + + org.mortbay.jetty + maven-jetty-plugin + 6.1.18 + + helloworld-bpel + foo + 9999 + + + + start-jetty + process-test-classes + + run + + + 0 + true + + + 8085 + + + + + + stop-jetty + prepare-package + + stop + + + + + + + + diff --git a/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/java/sample/HelloworldService.java b/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/java/sample/HelloworldService.java new file mode 100644 index 0000000000..c1a50d9be5 --- /dev/null +++ b/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/java/sample/HelloworldService.java @@ -0,0 +1,28 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package sample; + +import org.oasisopen.sca.annotation.Remotable; + +@Remotable +public interface HelloworldService { + + String hello(String name); + +} diff --git a/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/resources/helloworld.bpel b/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/resources/helloworld.bpel new file mode 100644 index 0000000000..f1e8895f76 --- /dev/null +++ b/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/resources/helloworld.bpel @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + concat('Hello ', $myVar.TestPart/test:message/text()) + + + + $tmpVar + $myVar.TestPart/test:message + + + + + diff --git a/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/resources/helloworld.wsdl b/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/resources/helloworld.wsdl new file mode 100644 index 0000000000..46cf381577 --- /dev/null +++ b/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/resources/helloworld.wsdl @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/webapp/WEB-INF/web.composite b/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/webapp/WEB-INF/web.composite new file mode 100644 index 0000000000..3d36adadeb --- /dev/null +++ b/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/webapp/WEB-INF/web.composite @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/webapp/WEB-INF/web.xml b/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..bf01a7b759 --- /dev/null +++ b/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,41 @@ + + + + + helloworld-bpel + + + tuscany.helloworld-bpel + org.apache.tuscany.sca.host.webapp.TuscanyServletFilter + + + + tuscany.helloworld-bpel + /* + + + + hello.jsp + + + diff --git a/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/webapp/hello.jsp b/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/webapp/hello.jsp new file mode 100644 index 0000000000..c52d7b1cb2 --- /dev/null +++ b/sca-java-2.x/trunk/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/src/main/webapp/hello.jsp @@ -0,0 +1,36 @@ +<%-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> +<%@ taglib uri="http://www.osoa.org/sca/sca_jsp.tld" prefix="sca" %> + + + + + + +

helloworld-bpel

+ + Calling HelloworldService sayHello("world") returns: + +

+ + <%= service.hello("world") %> + + + -- cgit v1.2.3