What is the difference between servlets and applets?

Servlet :
  1. subclass of GenericServlet
  2. Runs in a server
  3. must be multi threaded or thread safe
  4. no direct user interface
Applets :
  1. subclass of Applet
  2. Runs in a browser
  3. generally single thread per appplet
  4. uses AWT for user interface


Enter your email address to get our daily JOBS & INTERVIEW FAQ's Straight to your Inbox.

Make sure to activate your subscription by clicking on the activation link sent to your email