From 1aba7b831e19fa8f9b718f42c1a0c4d09f6d52ad Mon Sep 17 00:00:00 2001 From: lresende Date: Tue, 23 Sep 2008 23:24:24 +0000 Subject: Porting customer-dojo to J2EE WebApp git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@698399 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/META-INF/sca-contribution.xml | 24 +++++++ .../src/main/webapp/WEB-INF/geronimo-web.xml | 34 +++++++++ .../src/main/webapp/WEB-INF/web.xml | 41 +++++++++++ .../src/main/webapp/customer.jsp | 80 ++++++++++++++++++++++ 4 files changed, 179 insertions(+) create mode 100644 java/sca/samples/customer-dojo-webapp/src/main/webapp/META-INF/sca-contribution.xml create mode 100644 java/sca/samples/customer-dojo-webapp/src/main/webapp/WEB-INF/geronimo-web.xml create mode 100644 java/sca/samples/customer-dojo-webapp/src/main/webapp/WEB-INF/web.xml create mode 100644 java/sca/samples/customer-dojo-webapp/src/main/webapp/customer.jsp (limited to 'java/sca/samples/customer-dojo-webapp/src/main/webapp') diff --git a/java/sca/samples/customer-dojo-webapp/src/main/webapp/META-INF/sca-contribution.xml b/java/sca/samples/customer-dojo-webapp/src/main/webapp/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..32f11ab9d0 --- /dev/null +++ b/java/sca/samples/customer-dojo-webapp/src/main/webapp/META-INF/sca-contribution.xml @@ -0,0 +1,24 @@ + + + + + \ No newline at end of file diff --git a/java/sca/samples/customer-dojo-webapp/src/main/webapp/WEB-INF/geronimo-web.xml b/java/sca/samples/customer-dojo-webapp/src/main/webapp/WEB-INF/geronimo-web.xml new file mode 100644 index 0000000000..ca61ed1d63 --- /dev/null +++ b/java/sca/samples/customer-dojo-webapp/src/main/webapp/WEB-INF/geronimo-web.xml @@ -0,0 +1,34 @@ + + + + + + + org.apache.tuscany.sca + sample-customer-dojo-webapp + 1.4-SNAPSHOT + war + + + + + + diff --git a/java/sca/samples/customer-dojo-webapp/src/main/webapp/WEB-INF/web.xml b/java/sca/samples/customer-dojo-webapp/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..d90b4a7d62 --- /dev/null +++ b/java/sca/samples/customer-dojo-webapp/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,41 @@ + + + + + + + Apache Tuscany Customer dojo web application sample + + + tuscany + org.apache.tuscany.sca.host.webapp.TuscanyServletFilter + + + + tuscany + /* + + + + customer.jsp + + + diff --git a/java/sca/samples/customer-dojo-webapp/src/main/webapp/customer.jsp b/java/sca/samples/customer-dojo-webapp/src/main/webapp/customer.jsp new file mode 100644 index 0000000000..f7e864053e --- /dev/null +++ b/java/sca/samples/customer-dojo-webapp/src/main/webapp/customer.jsp @@ -0,0 +1,80 @@ +<%-- + * 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" %> + + + + Tuscany Dojo JSON-RPC Customer Example + + + + + + + + + + + + + + + +

Tuscany Dojo JSON-RPC Customer Sample

+ +Customer Name :
+ + + + + + + + -- cgit v1.2.3