Deploying share-app application

The only difference for the deployment of "share-app" mode applications with regular application is it uses SwingWebShareAppServlet. This is specified in web.xml as in the following example:

<webapp>
	...
	<listener>
		<listener-class>org.onemind.swingweb.servlet.SwingWebContextDestroyer</listener-class>
	</listener>
	<servlet>
		<servlet-name>myapplt;/servlet-name>
	  	<servlet-class>org.onemind.swingweb.servlet.SwingWebShareAppServlet</servlet-class>
      	<init-param>
        	<param-name>app-class</param-name>
        	<param-value>MyAppClass</param-value>
      	</init-param>      
      	<init-param>
        	<param-name>swingweb-config</param-name>
        	<param-value>/swingweb-common-config.xml</param-value>
      	</init-param>      
  	</servlet>
    <servlet-mapping>
    	<servlet-name>myapp</servlet-name>
    	<url-pattern>/app1</url-pattern>
  	</servlet-mapping>
	...
<webapp>