Why applets?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sunil_Varghese
Posted On:   Thursday, May 22, 2003 10:45 AM

Why applets?






			
Why someone should use applets?


What is the advantage of using an applet over an HTML page generated by Java?





Re: Why applets?

Posted By:   David_Rutherford  
Posted On:   Thursday, May 22, 2003 11:04 AM

An applet executes on the client machine and usually is interactive in some form or fashion.



A JSP executes on the server & typically creates a static html page (which could include some dynamic content...say...an applet), which is then sent to the client.



Generally, if you want some kind of dynamic or interactive widget on a web page an applet is the better choice, since mimicing the same sort of functionality in a static html file generated from a server-side jsp would require the client to send another request to the hosting server which would then have to rebuild the content and send the response to the client. This path leads to repeated page refreshes, network transit time, & user frustration...



Hope this helps!
About | Sitemap | Contact