summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-2.x')
-rw-r--r--sca-java-2.x/contrib/samples/callback/src/main/webapp/WEB-INF/proposal_web.composite41
-rw-r--r--sca-java-2.x/contrib/samples/callback/src/main/webapp/WEB-INF/web.composite34
-rw-r--r--sca-java-2.x/contrib/samples/callback/src/main/webapp/WEB-INF/web.xml44
-rw-r--r--sca-java-2.x/contrib/samples/callback/src/main/webapp/proposal_stock.html40
-rw-r--r--sca-java-2.x/contrib/samples/callback/src/main/webapp/stock.html34
5 files changed, 0 insertions, 193 deletions
diff --git a/sca-java-2.x/contrib/samples/callback/src/main/webapp/WEB-INF/proposal_web.composite b/sca-java-2.x/contrib/samples/callback/src/main/webapp/WEB-INF/proposal_web.composite
deleted file mode 100644
index 7dc8aabea6..0000000000
--- a/sca-java-2.x/contrib/samples/callback/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/callback/src/main/webapp/WEB-INF/web.composite b/sca-java-2.x/contrib/samples/callback/src/main/webapp/WEB-INF/web.composite
deleted file mode 100644
index 6a2abb920b..0000000000
--- a/sca-java-2.x/contrib/samples/callback/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="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/callback/src/main/webapp/WEB-INF/web.xml b/sca-java-2.x/contrib/samples/callback/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index 031f0d110f..0000000000
--- a/sca-java-2.x/contrib/samples/callback/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,44 +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 version="2.4"
- xmlns="http://java.sun.com/xml/ns/j2ee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >
-
- <display-name>Apache Tuscany Asynchronous Servlet Sample</display-name>
-
- <listener><listener-class>org.apache.tuscany.sca.host.webapp.TuscanyContextListener</listener-class></listener>
-
- <servlet>
- <servlet-name>AsyncServlet</servlet-name>
- <servlet-class>sample.StockServlet</servlet-class>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>AsyncServlet</servlet-name>
- <url-pattern>/AsyncServlet</url-pattern>
- </servlet-mapping>
-
- <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/callback/src/main/webapp/proposal_stock.html b/sca-java-2.x/contrib/samples/callback/src/main/webapp/proposal_stock.html
deleted file mode 100644
index 975ed0ed57..0000000000
--- a/sca-java-2.x/contrib/samples/callback/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/callback/src/main/webapp/stock.html b/sca-java-2.x/contrib/samples/callback/src/main/webapp/stock.html
deleted file mode 100644
index 394bee04b5..0000000000
--- a/sca-java-2.x/contrib/samples/callback/src/main/webapp/stock.html
+++ /dev/null
@@ -1,34 +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>
-
-<input type="button" value="Start monitoring" onclick="">
-
-</body>
-</html> \ No newline at end of file