Best viewed in 1024 X 800 resolution... Leave a comment if u like an article...
Google
 
Web tezcols.blogspot.com

Wednesday, October 04, 2006

mmmmm JNLP..... whts tht.. ???

JNLP - Java Network Launching Protocol

What Is JNLP All About?

JNLP is an XML-based technology for launching Java executables over the Web. Just imagine that you could specify the classpath resources in your application (images, JAR files, properties, files, etc.), scattered over the Web and giving their URLs to run normal Java applications (Swing applications for example). This feature would give you the capability of deploying your GUI application on the web. Not just for applications online, this can be also be used for applications on your local system.

But there is a subtlety. Who will configure the JVM to launch your application this way? The most obvious answer is: another application—a kind of launcher, Java Web Start. This will prepare everything for the JVM to correctly execute your program. Remember that the JVM needs files copied locally on the client file system in order to use them.

The JNLP protocol consists basically of a set of rules that describe how this launching mechanism should be implemented. This can be done with a XML file.

A simple example of a JNLP xml is given below...

<jnlp spec="1.0+" codebase="http://www.xyz.com/apps" href="launch.jnlp">
<information>
<title>Hello JNLP</title>
<homepage href="http://www.tezcols.blogspot.com">
<vendor>Bitinbyte's</vendor>
<offline>
</offline>
<resources>
<j2se version="1.2+">
<jar href="bin/launch.jar">
</jar>
<application-desc>
</application-desc>
</j2se></resources>
</homepage>
</information>
</jnlp>

tezcols

Labels:

1 Comments:

Blogger Unknown said...

nee abba... nee blog ki enni sarlu vacchina okkati ardham ayyi savadu.. manchi masala storys rayocchu kada ra greatandhra laga.. site ki hits anna vastay...!!!!! dont wrry baap gani lanti vallaku useful untadi le ne site.. jus kidding.

10:45 PM  

Post a Comment

<< Home