Difference between JNLP and JavaFX

JavaFX provides Drag-to-Install functionality by simply dragging and dropping them from the browser - you can re-launch applications directly from your desktop. How different is it from JNLP? Or how easy or beneficial is it for JNLP to distribute content over the Internet?

+2


source to share


2 answers


Both the applet and webstart methods use JNLP files to deploy JavaFX applications.

This is a change from the past when JNLP was only used by WebStart (which is what you refer to).



There isn't much of a difference, it depends on the user experience you want the user to have. I would say that for the most significant applications, you are better off using the more traditional method of launching websites (download a JNLP file from a link and run its javaws).

There are minor differences in security privileges between an applet and a web start, as well as more API differences within JavaFX between what runs in the applet and what runs in the running web browser of the application. They are slowly being eliminated.

+5


source


I think you are mixing things up.

JNLP is just a way to deploy your application, while JavaFX is the presentation layer.

You can actually deploy your JavaFX code in a JNLP package.



You should compare JavaFX to Swing;)

With JNLP, you can distribute Java Swing or AWT or SWT or JavaFX applications. Having the ability to execute then in the sandbox.

+2


source







All Articles