What is the difference between an applet and a servlet?
Answer Posted / nitin soni (jack)
(1):Applet is a part of Core JAVA and Servlet of Advance
Java. Applet is client side program and Servlet is Server
side. When Applet runs it take the resources of client
whereas Servlet is processed at server.
(2):An Applet's class, jar files can be accessed and
downloadable by client but not so in case of servlet.
(3):Applets can run under any web browser their execution
is dependent on Client as they require JRE Whereas Servlets
do not require any thing specific at client side, as they
require java enabled web/application Server.
| Is This Answer Correct ? | 30 Yes | 1 No |
Post New Answer View All Answers
What is cookie? Why is cookie used?
What is servlet and its life cycle?
How would you create deadlock on your servlet?
What are the life cycle methods of a servlet?
What is cgi and what are its drawbacks?
How can the session in servlet can be destroyed?
What do you mean by url pattern in servlet?
What is the difference between genericservlet and httpservlet
What is called servlet mapping?
What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?
What is java servlet session?
How can the session in servlet be destroyed?
Define declaration.
What are the supporting protocol by HttpServlet ?
How do you configure a centralized error handler in servlets?