Java Reference
In-Depth Information
E
Best Practices for
Deployment
The first impression of your application comes from the experience users have as they attempt
to procure or launch the application for the first time. It is important to avoid the appearance
of a broken application by giving your users the ability to find, download, or start your
application easily. Here are some tips for application deployments:
F Load JARs lazily —JavaFX applications jars are downloaded eagerly by default using
Java-Network-Launching-Protocol (JNLP). This is fine for smaller applications. However,
when you have several large JARs that are part of your application's manifest, this can
cause a delay in startup time. You can change this behavior and download JAR files
lazily as needed. Update your JNLP file with:
<jnlp>
...
<resources>
<jar href="demo-util.jar" download ="lazy"/>
...
</resources>
</jnlp>
Search WWH ::




Custom Search