1
I have a JNLP-based application, but each time the user clicks on the JNLP file, javaws downloads all the jar’s of my application even without any update on the server side.
I have read all the documentation, the file is signed with a Digicert certificate of trust.
We use the oracle recommendation as it describes the documentation: Http://Docs.oracle.com/javase/7/Docs/technotes/Guides/javaws/developersguide/syntax.html#update
My big question is in this documentation place "when you know that an update is available before the app is released", as they know that the app needs to be updated, and if the JNLP is the same, and the app on the server are the Same, why they are updated.
I am also using the versioning as the link below
The server is Wildfly 10, my JSF application runs on it and inside the webaap folder I have a folder named jnlp, where my jar’s and jnlp are.
Follow my jnlp
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.5+" codebase="http://www.meudominio.com.br/jnlp">
<information>
<title>app-client</title>
<vendor>AtlanticaSoft</vendor>
<homepage href="http://www.meudominio.com.br" />
<description>Aplicação cliente</description>
<icon href="icon.png" kind="default" />
</information>
<update check="always" policy="always" />
<security>
<all-permissions />
</security>
<resources>
<j2se version="1.8+" initial-heap-size="256m" max-heap-size="512m" java-vm-args="-Xms256m -Xmx1024m" />
<jar href="lib/app-client.jar" version="1.0" main="true" />
<jar href="lib/app-client-dependency.jar" version="1.0" />
<property name="jnlp.versionEnabled" value="true"/>
</resources>
<application-desc main-class="br.com.atlanticasoft.app.Main" />
</jnlp>
Thank you all.