What's the difference between servlet and applet?


The main difference between servlet and applet is, servlet executes at server side whereas applet executes at clients side(browser).

The applet is downloaded to the client, and executes in a JRE inside the browser, and can display whatever it wants to display within the applet frame. The servlet instead runs on the server and produces a HTML page which is displayed in your browser.

Share this thread


comments powered by Disqus


Social Media