From 5963a2d3d6860fe57afc138f095bf2d2eb5a7b80 Mon Sep 17 00:00:00 2001 From: lresende Date: Mon, 7 Oct 2013 22:23:21 +0000 Subject: Official Tuscany 2.0.1 Release git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1530096 13f79535-47bb-0310-9956-ffa450edef68 --- .../testing/helloworld-scaclient-jsp/pom.xml | 48 ---------------------- .../src/main/java/testing/HelloworldService.java | 28 ------------- .../src/main/webapp/META-INF/sca-contribution.xml | 28 ------------- .../src/main/webapp/WEB-INF/web.xml | 31 -------------- .../src/main/webapp/hello.jsp | 41 ------------------ 5 files changed, 176 deletions(-) delete mode 100644 sca-java-2.x/tags/2.0.1-RC1/distribution/tomcat/testing/helloworld-scaclient-jsp/pom.xml delete mode 100644 sca-java-2.x/tags/2.0.1-RC1/distribution/tomcat/testing/helloworld-scaclient-jsp/src/main/java/testing/HelloworldService.java delete mode 100644 sca-java-2.x/tags/2.0.1-RC1/distribution/tomcat/testing/helloworld-scaclient-jsp/src/main/webapp/META-INF/sca-contribution.xml delete mode 100644 sca-java-2.x/tags/2.0.1-RC1/distribution/tomcat/testing/helloworld-scaclient-jsp/src/main/webapp/WEB-INF/web.xml delete mode 100644 sca-java-2.x/tags/2.0.1-RC1/distribution/tomcat/testing/helloworld-scaclient-jsp/src/main/webapp/hello.jsp (limited to 'sca-java-2.x/tags/2.0.1-RC1/distribution/tomcat/testing/helloworld-scaclient-jsp') diff --git a/sca-java-2.x/tags/2.0.1-RC1/distribution/tomcat/testing/helloworld-scaclient-jsp/pom.xml b/sca-java-2.x/tags/2.0.1-RC1/distribution/tomcat/testing/helloworld-scaclient-jsp/pom.xml deleted file mode 100644 index ac0a31b7ff..0000000000 --- a/sca-java-2.x/tags/2.0.1-RC1/distribution/tomcat/testing/helloworld-scaclient-jsp/pom.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-distribution-tomcat-testing - 2.0.1 - ../pom.xml - - - helloworld-scaclient-jsp - war - Apache Tuscany SCA Tomcat Integration Testing Helloworld Webapp Using SCAClient in a JSP - - - - org.apache.tuscany.sca - tuscany-sca-api - 2.0.1 - provided - - - - - ${project.artifactId} - - - - - diff --git a/sca-java-2.x/tags/2.0.1-RC1/distribution/tomcat/testing/helloworld-scaclient-jsp/src/main/java/testing/HelloworldService.java b/sca-java-2.x/tags/2.0.1-RC1/distribution/tomcat/testing/helloworld-scaclient-jsp/src/main/java/testing/HelloworldService.java deleted file mode 100644 index b035a772be..0000000000 --- a/sca-java-2.x/tags/2.0.1-RC1/distribution/tomcat/testing/helloworld-scaclient-jsp/src/main/java/testing/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 testing; - -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -public interface HelloworldService { - - String sayHello(String name); - -} diff --git a/sca-java-2.x/tags/2.0.1-RC1/distribution/tomcat/testing/helloworld-scaclient-jsp/src/main/webapp/META-INF/sca-contribution.xml b/sca-java-2.x/tags/2.0.1-RC1/distribution/tomcat/testing/helloworld-scaclient-jsp/src/main/webapp/META-INF/sca-contribution.xml deleted file mode 100644 index 7839933b3a..0000000000 --- a/sca-java-2.x/tags/2.0.1-RC1/distribution/tomcat/testing/helloworld-scaclient-jsp/src/main/webapp/META-INF/sca-contribution.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - diff --git a/sca-java-2.x/tags/2.0.1-RC1/distribution/tomcat/testing/helloworld-scaclient-jsp/src/main/webapp/WEB-INF/web.xml b/sca-java-2.x/tags/2.0.1-RC1/distribution/tomcat/testing/helloworld-scaclient-jsp/src/main/webapp/WEB-INF/web.xml deleted file mode 100644 index f2e3441d5e..0000000000 --- a/sca-java-2.x/tags/2.0.1-RC1/distribution/tomcat/testing/helloworld-scaclient-jsp/src/main/webapp/WEB-INF/web.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - jsp-client-webapp - - - hello.jsp - - - diff --git a/sca-java-2.x/tags/2.0.1-RC1/distribution/tomcat/testing/helloworld-scaclient-jsp/src/main/webapp/hello.jsp b/sca-java-2.x/tags/2.0.1-RC1/distribution/tomcat/testing/helloworld-scaclient-jsp/src/main/webapp/hello.jsp deleted file mode 100644 index 45ae96cb82..0000000000 --- a/sca-java-2.x/tags/2.0.1-RC1/distribution/tomcat/testing/helloworld-scaclient-jsp/src/main/webapp/hello.jsp +++ /dev/null @@ -1,41 +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" %> - -<%@ page import="org.oasisopen.sca.client.SCAClientFactory"%> -<%@ page import="testing.HelloworldService" %> -<%@ page import="java.net.URI" %> - -<% - HelloworldService service = SCAClientFactory.newInstance(URI.create("default")).getService(HelloworldService.class, "HelloworldComponent"); -%> - - - - -

helloworld-scaclient-jsp

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

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