File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Has anyone used Java Web Start? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Has anyone used Java Web Start?" Watch "Has anyone used Java Web Start?" New topic
Author

Has anyone used Java Web Start?

James Turner
Ranch Hand

Joined: May 10, 2004
Posts: 194
Hi Guys,

I was wondering if anyone has used Java Web Start for installing the Swing client onto the users machines?

I do not know a lot about it so I was wondering if it was viable and if anyone has used it.

From what I know it means the Swing client app gets installed automatically on the users computer over the network, and any updates deployed on the server side get downloaded on the clients machine the next time they start. It is good for allowing the Swing client to be updated without needing to send updates out manually by an admin.

Is that correct? Would it be a good idea to use for our purposes?

Thank you for your help.

Regards,
James.


James<br />SCJP 1.4 - 92%<br />SCJD - 93%<br />SCWCD 1.4 - 95%<br />SCBCD 1.3 - 100%<br />SCEA - 92%
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1180
Hi James,

Is it related to our assignment?

Regards,
Dan


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Yilmaz Oztanir
Greenhorn

Joined: Apr 07, 2006
Posts: 10
James,

Web Start makes updates to a federated user base easier. If you think that synchronising your travel agent clients to the latest code is a big advantage then you should certainly use it and say why you use it. I don't think anyone can fault you for that.

Yilmaz
Mithun Azhagappan
Greenhorn

Joined: Mar 27, 2006
Posts: 7
hi James,

If you have a webstart enabled java application, then any one who wants to use a swing application need to type in the url just like a web app. The url is redirected to a jnlp file which resides in the server . For the first time the jar file for the swing app is downloaded onto ones m/c and the application comes up . From the second times onwards on typing the URL , it checks if the version of the jar file in your local m/c and server matches . If yes , the application is started from the local jar file. Only if the jar file version differs the new jar is downloaded onto your local m/c .

Advantages:

1. By the user has nothing do to start the new application.The webstart will help him keep updated by downloading the latest jar files.
2. The admin does not need to do anything , just that he has to put the latest jar files in the path specified in the jnlp file .
3. This download does not happen every time you start the app in ur m/c.It happens only if the jar file version differs .

Watch out for :
1. Version of the java webstart on local and the version of java used to compile the jar file. It should match.

Sorry for that looong Reply


Regards,<br />Mithun A<br />SCJP,SCBCD,SCEA
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Has anyone used Java Web Start?