<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
	<display-name>Vaadin</display-name>
	<description> Vaadin examples </description>

	<!--
		Turn off productionMode (off by default). Setting productionMode=true
		disables debug features. In when this is off, you can show debug
		window by adding ?debug to your application URL. Always set this true
		in production environment.
	-->
	<context-param>
		<param-name>productionMode</param-name>
		<param-value>false</param-value>
		<description>Vaadin production mode</description>
	</context-param>

	<!--
		Enable possibility to run any Java class as application from this
		servlet. For example, if this servlet is mapped to /run, your foo.App
		class can be run in /run/foo.App/. Do not deploy this servlet in
		production environment.
	-->
	<servlet>
		<servlet-name>VaadinApplicationRunner</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationRunnerServlet</servlet-class>
	</servlet>

	<!--  Feature Browser demo application -->
	<servlet>
		<servlet-name>FeatureBrowser</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.demo.featurebrowser.FeatureBrowser</param-value>
		</init-param>
	</servlet>

	<!--  Sampler demo application -->
	<servlet>
		<servlet-name>Sampler</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.demo.sampler.SamplerApplication</param-value>
		</init-param>
		<init-param>
			<param-name>widgetset</param-name>
			<param-value>com.vaadin.demo.sampler.gwt.SamplerWidgetSet</param-value>
		</init-param>
	</servlet>

	<!--  AddressBook demo application -->
	<servlet>
		<servlet-name>AddressBook</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.demo.tutorial.addressbook.AddressBookApplication</param-value>
		</init-param>
	</servlet>

	<!-- Hello world demo application -->
	<servlet>
		<servlet-name>HelloWorld</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.demo.HelloWorld</param-value>
		</init-param>
		<!--
			As an example, we will use an optimized widget set. See
			SamplerWidgetSet.gwt.xml
		-->
		<init-param>
			<param-name>widgetset</param-name>
			<param-value>com.vaadin.demo.gwt.OptimizedWidgetSet</param-value>
		</init-param>
	</servlet>

	<!-- Calculator demo application -->
	<servlet>
		<servlet-name>Calc</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.demo.Calc</param-value>
		</init-param>
		<init-param>
		<!--
			As an example, we will use an optimized widget set. See
			SamplerWidgetSet.gwt.xml
		-->
			<param-name>widgetset</param-name>
			<param-value>com.vaadin.demo.gwt.OptimizedWidgetSet</param-value>
		</init-param>
	</servlet>

	<!--
		Color Picker demo application that demonstrates creation of custom
		widgets
	-->
	<servlet>
		<servlet-name>ColorPickerApplication</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.demo.colorpicker.ColorPickerApplication</param-value>
		</init-param>
		<init-param>
			<param-name>widgetset</param-name>
			<param-value>com.vaadin.demo.colorpicker.gwt.ColorPickerWidgetSet</param-value>
		</init-param>
	</servlet>

	<!-- Portlet demo application -->
	<servlet>
		<servlet-name>PortletDemo</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.demo.portlet.PortletDemo</param-value>
		</init-param>
	</servlet>

	<!--  Layout demo (VaadinTunes) -->
	<servlet>
		<servlet-name>VaadinTunesLayout</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.demo.VaadinTunesLayout</param-value>
		</init-param>
	</servlet>

	<!--  ReindeerTheme demo -->
	<servlet>
		<servlet-name>ReindeerThemeStyles</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.demo.themes.ReindeerThemeStyles</param-value>
		</init-param>
	</servlet>
	
	<!-- RunoTheme demo -->
	<servlet>
		<servlet-name>RunoTheme</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.demo.themes.RunoTheme</param-value>
		</init-param>
	</servlet>

	<!-- Servlet Mappings below - see servlets for comments -->
	<servlet-mapping>
		<servlet-name>PortletDemo</servlet-name>
		<url-pattern>/PortletDemo/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>VaadinApplicationRunner</servlet-name>
		<url-pattern>/run/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>FeatureBrowser</servlet-name>
		<url-pattern>/FeatureBrowser/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>Sampler</servlet-name>
		<url-pattern>/sampler/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>AddressBook</servlet-name>
		<url-pattern>/AddressBook/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>HelloWorld</servlet-name>
		<url-pattern>/HelloWorld/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>Calc</servlet-name>
		<url-pattern>/Calc/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>ColorPickerApplication</servlet-name>
		<url-pattern>/colorpicker/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>VaadinTunesLayout</servlet-name>
		<url-pattern>/VaadinTunesLayout/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>ReindeerThemeStyles</servlet-name>
		<url-pattern>/ReindeerTheme/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>RunoTheme</servlet-name>
		<url-pattern>/RunoTheme/*</url-pattern>
	</servlet-mapping>
	<welcome-file-list>
		<welcome-file>index.jsp</welcome-file>
		<welcome-file>index.html</welcome-file>
		<welcome-file>index.htm</welcome-file>
	</welcome-file-list>
</web-app>