Knowing about file extension JNLP
Mei 30, 2009 1 Komentar
Have you ever heard or know about “file extension JNLP“ ? well for some people and including myself maybe for the first time dont know about file extension JNLP. Not like other file extension that i ever mention before file extension JNLP is not so popular. So what is file extension JNLP ?
JNLP or Java Network Launching Protocol file formatted in XML and it is used for launching and managing Java programs on the Web or as standalone applications over a network. File extension JNLP also used as a package that neatly bundles all the necessary information required to download and/or execute a remote application.
Today file extension JNLP is used by the Java run time environment to launch ‘Web Start’ applications. The Java Network Launching Protocol (JNLP) was specifically designed for these applications and is defined with an XML schema. Unlike regular web applets, these applications do not run in the web browser but are downloaded onto the user’s computer and executed as a normal Java application (with some restrictions). This enable developers to get around a lot of compatibility issues with web browser Java plugins and different Java Virtual Machines (JVM).
Not like other extension file, the JNLP file itself is a human readable file containing settings and configuration information formatted with XML. This information includes the location of the application’s jar file, the name of the main class and any additional parameters and set up information the application needs to work correctly.
So how to used this file ? well to use JNLP file you need a JNLP client such as Java Web Start, which is installed with the Java run time environment from Sun Microsystems. This software will automatically parse the JNLP file and run the associated Java application. The JNLP client can even be installed automatically on the user’s machine if they don’t already have one, and the user will simply see the Web Start client download and install prior to running the Java application in these cases.