File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JNLP and Web Start and the fly likes how does the web start work??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "how does the web start work???" Watch "how does the web start work???" New topic
Author

how does the web start work???

william kane
Ranch Hand

Joined: Nov 21, 2000
Posts: 260
Hi,
Will someone help me understand how the whole concept of web start and JNPL works.I know that JNLP is a protocol that is implemented by web start to ensure that the users of an application get the latest JRE and application jars.But what i dont understand is how the files get down loaded on to the client side.How can the JRE be set on the client side?How is the information specified in the JNLP xml used?
Thanks in advance
William


Help me!Help you!!!
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

I'm moving this to the JNLP & Web Start forum (kinda cool we have a whole forum about this very topic, huh??)

Please post your replies there. Thanks!
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

There has to already be software on the client side. The user has to have the Java Plug-in installed, which handles Java Web Start files.


[Jess in Action][AskingGoodQuestions]
william kane
Ranch Hand

Joined: Nov 21, 2000
Posts: 260
Originally posted by Ernest Friedman-Hill:
There has to already be software on the client side. The user has to have the Java Plug-in installed, which handles Java Web Start files.


Thanks Freidman,
Please validate my understanding.

Here is how go about accessing an application using java web start.
User clicks in a link to the JNLP file.
The JNLP file is on the client.The browser has a plugin installed that passes the control the Java Web Start.
Java Web Start parses the JNLP file and determines the location of the application and JRE needed.
Java Web start downloads the application over the net at runs in the JRE specified in the JNLP file.
If my understanding is correct.
Please let me how is this plug in installed in my current browser?
How the short cut for the application that is created by web start used to bring up the application?
Where are the jar files downloaded by web start placed?
Thanks in advance
William
dennis zined
Ranch Hand

Joined: Mar 07, 2003
Posts: 330
Please let me how is this plug in installed in my current browser?

You have to install Java Runtime Environment (JRE). At installation, JRE detects your browser and will it will be used if an applet or java webstart is launched.

How the short cut for the application that is created by web start used to bring up the application?

When the java web start application runs, an '*.ind' and '*.jnlp' file gets downloaded on to your computer. The ind file contains the location of the jnlp file.

Where are the jar files downloaded by web start placed?

--> Launch Java Web Start Application Manager. --> File Menu --> click on Advance tab --> Look into "Applications Folder Options"
[ November 17, 2004: Message edited by: dennis zined ]

SCJP 1.4<br />SCWCD 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how does the web start work???