This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes What is the need for an applet? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What is the need for an applet?" Watch "What is the need for an applet?" New topic

What is the need for an applet?

mara thamizhan
Ranch Hand

Joined: Jul 05, 2006
Posts: 74
Hi all,

Can anybody say what is the need for an applet when it has many drawbacks

like it can be transmitted from only server to client(one-way communication)

Also it has many restrictions !

Do we still need applets when servlets have come?

Keith Lynn
Ranch Hand

Joined: Feb 07, 2005
Posts: 2398
Servlets haven't replaced applets. Servlets run server-side, and applets run client-side.
Ramen Chatterjee
Ranch Hand

Joined: Apr 27, 2006
Posts: 62
Applets provide:

Rich interfaces (running in a browser, easy to distribute)
Sandbox security (assurance for users)
Client side processing (reduces network load if a distributed application)



Could try harder
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

But the truth is that applets aren't used all that much. When they were introduced, none of the other client-side active content options existed: JavaScript (introduced in the same version of Netscape that included Java for the first time), Flash, etc. Nowadays they are used for things like visualization demos, and occasionally in enterprise client-server apps; but the other alternatives are often better.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: What is the need for an applet?
It's not a secret anymore!