File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes Applet vs Servlet or JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet vs Servlet or JSP" Watch "Applet vs Servlet or JSP" New topic

Applet vs Servlet or JSP

John Wetherbie

Joined: Apr 05, 2000
Posts: 1449
In general, are there any applications that would be more appropriate to use an applet for rather than servlets/JSPs (with the servlets/JSPs using EJBs, if necessary)?

The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
You should use applets or downloaded applications if you need an "immediate-response" user interface.
Any interface which uses a web browser has to follow a request-response approach, typified by filling in a form and submitting it to see some results, or a new form.
If you need drag-and-drop, complex validation of entered data before a form is submitted, or any form of real-time display, a web UI is not really suitable.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
jQuery in Action, 3rd edition
subject: Applet vs Servlet or JSP
jQuery in Action, 3rd edition