Nov 17th, 2006, 08:34 AM
War file structure for rich clients and services
We have an application with spring services and a rich client using http invoker to talk to the services. The whole thing is deployed in a war file using Sunís JnlpDownloadServlet to generate the JNLP.
Iím wondering if there are any examples of WAR file structure for this type of deployment. We are finding that we need to duplicate most of our jars and 3rd party library jars inside the WAR file (ie they need to be inside the WEB-INF folder for the services to find them and outside it to enable them to be downloaded to the client)
Is there any way we can just have one copy of each jar in the war file? Are there any standard patterns for this?
Thanks for any help
Nov 20th, 2006, 12:23 PM
One possible approach would be to implement an action that serves requests like "http://foo.com/bar/the.jar" by streaming WEB-INF/lib/the.jar to the client.
Originally Posted by david_geary