Results 1 to 2 of 2

Thread: War file structure for rich clients and services

  1. #1

    Default 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. #2
    Join Date
    Oct 2004
    Location
    Herndon, VA, US
    Posts
    648

    Default

    Quote 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.
    --Jing Xue

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •