What is the difference between an Applet and a Servlet ?

1 year ago
OOP Java

An Applet is a client side java program that runs within a Web browser on the client machine. On the other hand, a servlet is a server side component that runs on the web server.An applet can use the user interface classes, while a servlet does not have a user interface. Instead, a servlet waits for client’s HTTP requests and generates a response in every request.

More related questions

Questions Bank

View all Questions

Top