-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide some basic documentation of jnlp-war plugins and your JnlpDownloadServlet #44
Comments
Please see my comment in #45. The JnlpDownloadServlet is a complete rewrite of the functionality (without using the code) of the sample provided in the JDK. I used a newer servlet spec (3.1.0) which made some things easier. And I moved some aspects to the gradle plugin to make the servlet more lightweight.
|
Very interesting, also because the standard I also experienced problems with the standard |
The standard JnlpDownloadServlet was made available by the maven webstart plugin: http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.codehaus.mojo%22%20AND%20a%3A%22webstart-jnlp-servlet%22 My Servlet tries to locate the requested resource. If a When using But since the jar is stored as When you have started version 1.0.0 of your ria, and then upgrade to version 1.1.0, the webstart client will request The jnlp-war plugin will add the When you have a clean java webstart cache, the webstart client will only request |
Oh, I forgot. My servlet will always deliver the |
I saw that artifact but I was not sure about the versioning policy. Also, I'm using the default
So, this seems to be an improvement over the default
This is clear. The problem is that, in my experience, the latter technique (requesting |
I remember having had multiple issues with the JnlpDownloadServlet. And the code of the JnlpDownloadServlet is rather complex. That was the main reason to start from scratch. E.g. the JnlpDownloadServlet allows either using file name convention ( |
Just found a text I posted on the maven webstart mailing list: http://mojo.10943.n7.nabble.com/Webstart-JnlpDownloadServlet-Jardiff-and-Pack200-td47548.html I apparently wrote that text before implementing my own Servlet. Replacement of $$name etc. ended up in a Servlet Filter. |
Thanks for the great jnlp plugin!
By making a search on https://plugins.gradle.org/, I discovered you also provide a
jnlp-war
plugin. Looking at the source code, I think I understand it's meant to provide support for multiple versions of JNLP files and JARDiff patches and also adds your own version ofJnlpDownloadServlet
to the project runtime dependencies.I could not find any example on how to use the whole thing in the examples directory (forgive me if I'm wrong). Also, it's not evident to me what your
JnlpDownloadServlet
offers compared to the one provided by the standard JDK sample package.The text was updated successfully, but these errors were encountered: