From 5a7c3427072be7d7f49992c8eb1028e0c1855a91 Mon Sep 17 00:00:00 2001 From: antelder Date: Thu, 12 Nov 2009 08:33:57 +0000 Subject: Rename to final 2.0 M4 tag name git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835299 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/HelloWorldJSONRPC.html | 75 ++++++++++++++++++++++ .../src/main/webapp/META-INF/sca-contribution.xml | 26 ++++++++ .../src/main/webapp/WEB-INF/web.xml | 35 ++++++++++ .../helloworld-rest/src/main/webapp/style.css | 22 +++++++ 4 files changed, 158 insertions(+) create mode 100644 sca-java-2.x/tags/2.0-M4/samples/webapps/helloworld-rest/src/main/webapp/HelloWorldJSONRPC.html create mode 100644 sca-java-2.x/tags/2.0-M4/samples/webapps/helloworld-rest/src/main/webapp/META-INF/sca-contribution.xml create mode 100644 sca-java-2.x/tags/2.0-M4/samples/webapps/helloworld-rest/src/main/webapp/WEB-INF/web.xml create mode 100644 sca-java-2.x/tags/2.0-M4/samples/webapps/helloworld-rest/src/main/webapp/style.css (limited to 'sca-java-2.x/tags/2.0-M4/samples/webapps/helloworld-rest/src/main/webapp') diff --git a/sca-java-2.x/tags/2.0-M4/samples/webapps/helloworld-rest/src/main/webapp/HelloWorldJSONRPC.html b/sca-java-2.x/tags/2.0-M4/samples/webapps/helloworld-rest/src/main/webapp/HelloWorldJSONRPC.html new file mode 100644 index 0000000000..745164bf8d --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4/samples/webapps/helloworld-rest/src/main/webapp/HelloWorldJSONRPC.html @@ -0,0 +1,75 @@ + + + + Tuscany JSON-RPC HelloWorld Example + + + + + + + + + + +

Tuscany JSON-RPC HelloWorld Sample

+ + + + + + + + + + + + + + + +
Non-Dojo Example
+ This example uses the JavaScript served from + SCADomain/scaDomain.js + to make JSON-RPC requests to the SCA service 'HelloWorldService' +
RequestResponse
+

+ Name please:     + + +

+ +
+
None Yet.
+
+ + + diff --git a/sca-java-2.x/tags/2.0-M4/samples/webapps/helloworld-rest/src/main/webapp/META-INF/sca-contribution.xml b/sca-java-2.x/tags/2.0-M4/samples/webapps/helloworld-rest/src/main/webapp/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..9fc16372b3 --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4/samples/webapps/helloworld-rest/src/main/webapp/META-INF/sca-contribution.xml @@ -0,0 +1,26 @@ + + + + + + + diff --git a/sca-java-2.x/tags/2.0-M4/samples/webapps/helloworld-rest/src/main/webapp/WEB-INF/web.xml b/sca-java-2.x/tags/2.0-M4/samples/webapps/helloworld-rest/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..3a670696e4 --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4/samples/webapps/helloworld-rest/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,35 @@ + + + + + + + + tuscany + org.apache.tuscany.sca.host.webapp.TuscanyServletFilter + + + + tuscany + /* + + + diff --git a/sca-java-2.x/tags/2.0-M4/samples/webapps/helloworld-rest/src/main/webapp/style.css b/sca-java-2.x/tags/2.0-M4/samples/webapps/helloworld-rest/src/main/webapp/style.css new file mode 100644 index 0000000000..0f1cea3aaf --- /dev/null +++ b/sca-java-2.x/tags/2.0-M4/samples/webapps/helloworld-rest/src/main/webapp/style.css @@ -0,0 +1,22 @@ +/* + * 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. + */ +* { font-family: arial; } + +table, th, td { border: 2px solid blue; border-collapse: collapse; } +th { color: white; background-color: blue; } -- cgit v1.2.3