I have a JNLP-based application, but every time the user clicks on the JNLP file, javaws downloads all the jar's from my application even without any updates on the server side.
I have read all the documentation, the file is signed with a trusted certificate from DigiCert.
We use the oracle recommendation, as described in the documentation: http://docs.oracle.com/javase/7/ docs / technotes / guides / javaws / developersguide / syntax.html # update
My big question is in this documentation "when you know that an update is available before the app is released", how do they know the app needs to be updated, and if JNLP is the same, and the Server are the same, why they are updated.
I'm also using versioning as per the link below
link .
The server is WildFly 10, my JSF application runs on it and inside the folder webaap I have a folder with the name 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.