This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Webstart VS Applet

 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Linda Jones
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pros/Cons of Webstart
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic