File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes why applet dounloaded localy not remotely? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "why applet dounloaded localy not remotely?" Watch "why applet dounloaded localy not remotely?" New topic

why applet dounloaded localy not remotely?

Arun Maalik
Ranch Hand

Joined: Oct 25, 2005
Posts: 216
Dear sir i wanted to know that if a web page will contane an applet and if client will call that web page then the byte code of applet will dounloaded loacaly and then execute.
But here question is this that
"Why applet is dounloaded localy and then execute why not remotely"

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41052
Because that's how applets work - they run inside of a browser. If you want to execute server-side Java code, use servlets. Of course, servlets can't show a Java GUI to a client, so each of those has their place.

Ping & DNS - my free Android networking tools app
wood burning stoves
subject: why applet dounloaded localy not remotely?
Similar Threads
Applet connects through JDBC to mSQL DB server
executing the appletviewer command without manually using the command prompt
Doubt on closig JApplet
Applet or Web based app?
How to reinvent Instant Messenger with Video?