File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JNLP and Web Start and the fly likes quick summary 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 "quick summary" Watch "quick summary" New topic

quick summary

Neil Laurance
Ranch Hand

Joined: Jul 18, 2002
Posts: 183
I was wondering if one of you experts could give me your opinion on the following approaches.
[1] web start
[2] applets
[3] plugins
We have a browser based reporting application. We would like to make this more interactive. A large number of classes would need to be passed to the client. Although we can take a download hit the very first time, successive requests must be fast to setup.
[1] web start always checks for latest files on the server.
[2] applets - can the classes be cached on the client?
[3] plugins - would mean we actually install our classes into the browser plugin area. but would this mean multiple implementations to adapt our framework for each browser?
thanks for any input...
[ November 15, 2002: Message edited by: Neil Laurance ]
Chantal Ackermann
Ranch Hand

Joined: Sep 28, 2000
Posts: 508
I can tell you a bit on [1].
As you have a web application, at the moment, using JavaWebStart would mean:
1. write a new user interface based on Swing. (JavaWebStart is only a deployment facility for Swing applications, as I understand and use it. Please correct me, if this is wrong!)
2. JavaWebStart only checks for new updates if there is an internet connection and it downloads only new updates if there are any. Otherwise it starts the cached version (if you allow it to work offline). Starting the app offline is similar to starting it directly from an executable jar, e.g. Ok, JavaWebStart has to start up before the app, but I think the startup of the jvm itself is the most time consuming action and that one is indispensable.
hope that cleared things up a bit
Bruce Jin
Ranch Hand

Joined: Sep 20, 2001
Posts: 672
Chantal is right.
Web Start is a good choice for you situation.

We love Java programming. It is contagious, very cool, and lot of fun. - Peter Coad, Java Design

Crazy Bikes created by m-Power
I agree. Here's the link:
subject: quick summary
It's not a secret anymore!