This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Applets and the fly likes Webstart VS Applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Applets
Bookmark "Webstart VS Applet" Watch "Webstart VS Applet" New topic
Author

Webstart VS Applet

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Well, I had originally posted this in the Webstart Forum, however after a week or so of no one responding, I decided to delete that thread and start it here since it also pertains to Applets.
I have read up on Webstart and can't seem to find any viable reason for using Webstart instead of an Applet.
Can anyone tell me if there are any advantages to Webstart over Applets?
Thanks.


GenRocket - Experts at Building Test Data
Linda Jones
Ranch Hand

Joined: Aug 17, 2002
Posts: 57
Pros/Cons of Webstart
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Linda, thanks for responding. I was beginning to wonder if anyone would.
The main thing I was looking for was the restrictions that the method places on the applications.
I noticed this list said the restrictions for Webstart were minimal, and the restrictions for an Applet are moderate. However, the following information:
Java Web Start technology takes advantage of the inherent security of the Java Platform. Applications are by default run in a protective environment (sandbox) with restricted access to local disk and network resources. It allows the user to safely run applications from sources that are not trusted.
Which came from the Web Start Developers Guide implies that the same restrictions apply to a Web Start Applications that apply to an applet.
So again, what is the difference? I really don't see any. Why have the technology then?
It would stand to reason to me that it would be nice to be able to deliver your JAR'd application through Java Web Start without having to deal with the same limitations as Applets. At least security restrictions. It's easy to run an Applet without realizing it, thus the security sandbox. That makes sense. But you pretty much know when you are getting an app through Web Start and as a user should know it is the same as an application, security wise.
Oh well. Guess I won't waste too much time with Web Start. As I would imagine most people aren't. I'm not seeing to much of it out there. In fact, Applets are few and far between these days too.
 
GeeCON Prague 2014
 
subject: Webstart VS Applet