Announcement Announcement Module
Collapse
No announcement yet.
War file structure for rich clients and services Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • War file structure for rich clients and services

    Hi,

    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

    Dave

  • #2
    Originally posted by david_geary View Post
    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)
    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.

    Comment

    Working...
    X