summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp')
-rw-r--r--sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/WEB-INF/proposal_web.composite41
-rw-r--r--sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/WEB-INF/web.composite34
-rw-r--r--sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/WEB-INF/web.xml47
-rw-r--r--sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/monitor.html29
-rw-r--r--sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/proposal_stock.html40
-rw-r--r--sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/stock.html39
6 files changed, 0 insertions, 230 deletions
diff --git a/sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/WEB-INF/proposal_web.composite b/sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/WEB-INF/proposal_web.composite
deleted file mode 100644
index 7dc8aabea6..0000000000
--- a/sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/WEB-INF/proposal_web.composite
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
- targetNamespace="http://samples"
- name="Stock">
-
- <component name="WebPage">
- <implementation.?/>
- <callback>
- <binding.? url="/stock/**" method="callbackJsMethod"/>
- </callback>
- </component>
-
- <component name="Servlet">
- <implementation.web web-uri=""/>
- <reference name="service" target="StockComponent"/>
- </component>
-
- <component name="StockComponent">
- <implementation.java class="sample.StockServiceImpl"/>
- </component>
-
-</composite>
diff --git a/sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/WEB-INF/web.composite b/sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/WEB-INF/web.composite
deleted file mode 100644
index 738a79e450..0000000000
--- a/sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/WEB-INF/web.composite
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
- targetNamespace="http://samples"
- name="Stock">
-
- <component name="StockServlet">
- <implementation.web web-uri=""/>
- <reference name="service" target="StockService"/>
- </component>
-
- <component name="StockService">
- <implementation.java class="sample.StockServiceImpl"/>
- </component>
-
-</composite>
diff --git a/sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/WEB-INF/web.xml b/sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index fee71f3bcf..0000000000
--- a/sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-<web-app xmlns="http://java.sun.com/xml/ns/javaee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
- http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
- version="3.0"
- metadata-complete="false">
-
- <display-name>Apache Tuscany Asynchronous Servlet Sample</display-name>
-
- <listener>
- <listener-class>org.apache.tuscany.sca.host.webapp.TuscanyContextListener</listener-class>
- </listener>
-
- <context-param>
- <param-name>log4jConfigLocation</param-name>
- <param-value>WEB-INF/classes/log4j.properties</param-value>
- </context-param>
-
- <listener>
- <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
- </listener>
-
- <welcome-file-list id="WelcomeFileList">
- <welcome-file>stock.html</welcome-file>
- </welcome-file-list>
-
-</web-app>
-
diff --git a/sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/monitor.html b/sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/monitor.html
deleted file mode 100644
index 631ad1909b..0000000000
--- a/sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/monitor.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<html>
-<head>
-<title>Stock Monitor</title>
-
-<script type="text/javascript">
-function updateData(data) {
- var aux = data.split('#');
- document.getElementById('symbol').textContent = aux[0];
- document.getElementById('price').textContent = aux[1];
-}
-</script>
-
-</head>
-<body>
-<h2>Apache Tuscany Asynchronous Servlet Sample</h2>
-
-<h3>Stock Monitor</h3>
-
-<b><label>Company Symbol: </label></b>
-<span id="symbol">a</span>
-<b><label>Price: </label></b>
-<span id="price">1</span>
-
-</body>
-</html>
-
-<script type="text/javascript">
- updateData('Apache#1234');
-</script>
diff --git a/sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/proposal_stock.html b/sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/proposal_stock.html
deleted file mode 100644
index 975ed0ed57..0000000000
--- a/sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/proposal_stock.html
+++ /dev/null
@@ -1,40 +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.
--->
-<html>
-
-<head>
- <title>Apache Tuscany Asynchronous Servlet Sample</title>
- <script type="text/javascript" src="org.apache.tuscany.callbackListener.js"></script>
-
- <script language="JavaScript">
- function callbackJsMethod(response) {
- // process received response
- }
- </script>
-</head>
-
-<body>
- <h2>Apache Tuscany Asynchronous Servlet Sample</h2>
-
- <h3>Stock Monitor</h3>
-
- <input type="button" value="Start monitoring" onclick="">
-</body>
-
-</html> \ No newline at end of file
diff --git a/sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/stock.html b/sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/stock.html
deleted file mode 100644
index 3910434d33..0000000000
--- a/sca-java-2.x/contrib/samples/async-servlet-sca/src/main/webapp/stock.html
+++ /dev/null
@@ -1,39 +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.
--->
-<html>
-
-<head>
-<title>Apache Tuscany Asynchronous Servlet Sample</title>
-</head>
-
-<body>
-
-<h2>Apache Tuscany Asynchronous Servlet Sample</h2>
-
-<h3>Stock Monitor</h3>
-
-<form action="stock" method="GET">
- <label>Enter the update interval (seconds): </label>
- <input type="text" name="interval" size="2"/>
- <br/>
- <button type="submit">Start monitoring</button>
-</form>
-
-</body>
-</html> \ No newline at end of file