You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Andrea Aime <a....@satanet.it> on 2005/07/07 16:54:32 UTC

Make webapp jars downloadable

Hi,
I have the following problem: I'm deploying a web app that exposes web services 
and allows the client to install a web started client.

Now, the client and the web application share a lot of jars, so I would like
to make the jars in web-inf/lib downloadable, so that the web start can
access them.

At the moment I've put the jars both in web-inf/lib and in the
root, but this basically doubles the size of my application.
This is not very nice since I have to upload it to a test server on my ISP
and the upload connection is not very fast (ADSL line).

Any solution?
Best regards
Andrea Aime


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Make webapp jars downloadable

Posted by Christoph Kutzinski <ku...@gmx.de>.
Write a Servlet that streams the JAR content to the Webstart clients and 
point to the servlet in the JNLP files.

Andrea Aime wrote:
> Hi,
> I have the following problem: I'm deploying a web app that exposes web 
> services and allows the client to install a web started client.
> 
> Now, the client and the web application share a lot of jars, so I would 
> like
> to make the jars in web-inf/lib downloadable, so that the web start can
> access them.
> 
> At the moment I've put the jars both in web-inf/lib and in the
> root, but this basically doubles the size of my application.
> This is not very nice since I have to upload it to a test server on my ISP
> and the upload connection is not very fast (ADSL line).
> 
> Any solution?
> Best regards
> Andrea Aime
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org