summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/contrib/samples/stock-comet/src/main/webapp/WEB-INF/web.xml
diff options
context:
space:
mode:
authorfmoga <fmoga@13f79535-47bb-0310-9956-ffa450edef68>2010-07-27 15:16:56 +0000
committerfmoga <fmoga@13f79535-47bb-0310-9956-ffa450edef68>2010-07-27 15:16:56 +0000
commit1cdd76268de902fb7159b206f9e2bdaf9519c801 (patch)
tree52ef4753d291e54150189500bd23c8b09679b7e4 /sca-java-2.x/contrib/samples/stock-comet/src/main/webapp/WEB-INF/web.xml
parent971e1ed0093b46ee9cacaf77b984eef81e17cd21 (diff)
- Added sources of the first version
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@979743 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/contrib/samples/stock-comet/src/main/webapp/WEB-INF/web.xml')
-rw-r--r--sca-java-2.x/contrib/samples/stock-comet/src/main/webapp/WEB-INF/web.xml66
1 files changed, 66 insertions, 0 deletions
diff --git a/sca-java-2.x/contrib/samples/stock-comet/src/main/webapp/WEB-INF/web.xml b/sca-java-2.x/contrib/samples/stock-comet/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000000..4a534c043d
--- /dev/null
+++ b/sca-java-2.x/contrib/samples/stock-comet/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,66 @@
+<?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="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:j2ee="http://java.sun.com/xml/ns/javaee"
+ 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_3.0.xsd">
+
+ <display-name>Apache Tuscany Stock Comet Sample</display-name>
+
+ <listener>
+ <listener-class>org.apache.tuscany.sca.host.webapp.TuscanyContextListener</listener-class>
+ </listener>
+
+ <servlet>
+ <description>CometServlet</description>
+ <servlet-name>CometServlet</servlet-name>
+ <servlet-class>org.atmosphere.cpr.MeteorServlet</servlet-class>
+ <async-supported>true</async-supported>
+ <init-param>
+ <param-name>org.atmosphere.servlet</param-name>
+ <param-value>sample.CometServlet</param-value>
+ </init-param>
+ <init-param>
+ <param-name>org.apache.tuscany.comet.scope</param-name>
+ <param-value>request</param-value>
+ <!-- <param-value>application</param-value> -->
+ <!-- <param-value>vm</param-value> -->
+ </init-param>
+ <!--
+ <init-param>
+ <param-name>org.apache.tuscany.comet.transport</param-name>
+ <param-value>http-streaming</param-value>
+ <param-value>long-pooling</param-value>
+ <param-value>websocket</param-value>
+ </init-param>
+ -->
+ <load-on-startup>0</load-on-startup>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>CometServlet</servlet-name>
+ <url-pattern>/comet</url-pattern>
+ </servlet-mapping>
+
+ <welcome-file-list id="WelcomeFileList">
+ <welcome-file>index.html</welcome-file>
+ </welcome-file-list>
+</web-app>
+