Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Applets vs. Java Web Start

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm developing a Chat Application thats in its final stages. The application is quite large with many features. I'm thinking about whether to distribute my application as an applet that uses the Java Plugin or distribute it as a application w/JNLP with web start. I know that the Java Plugin has a Cache feature which is vital to me since I don't want the applet's startup time to be as slow as the first time the applet is accessed. I'm wondering if anybody can tell me any reason(s) why I should consider Web start over the Java plugin? Any performance differences between the two (Is it true that applets running the browser's sandbox run typically slower than a java application?). Also with web start, I doubt this can be done, but is it possible to create a compact jre jar file (I'm using jre 1.4) that only conatins the jre classes that my application uses so that the user doesn't have to download the whole jre file with web start, but web start will instead download this file.

Ahmed
 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe that webstart is designed to replace applets in all instances. It should do caching for you. The biggest reason to use webstart is that it you can use features of later versions of Java. If you use applets you will probably be limited to Java 1.1 or even 1.0.
reply
    Bookmark Topic Watch Topic
  • New Topic