Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet to JSP

 
Padmavathi Shivappa
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

My application is done on applets. Now we want to use JSP and servlets instead of applets. Can anyone say how better it makes my application and what more advantages i get from it??
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

This forum is for job discussion (as its name implies). I'll move this to the applet forum.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Applets ans Servlets/JSP are so different that it's hard to know where to begin. Applets can show very complex client-side GUIs and make it easy to perform significant client-side processing, but they require a JVM to be installed and take some time (in the order of seconds, possibly more than 10) to initialize.

Applets have fallen out of favor, though, as it's possible now to use JavaScript and DOM to create complex GUIs, too. It's not as powerful as what AWT and Swing offer, but sufficient for most applications. AJAX has also made it possible to access the server without needing to reload the page, which makes for smoother GUIs. Thus you can keep critical code on the server (instead of making it part of the applet, and having to worry about decompilation).

There are other differences, but let's start with these. Does this help?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic