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 are different Authentication options available in Servlets.
What do you mean by the servlet chaining?
What are the servlet events?
If servlet receives multiple requests, how many objects will it create?
What is the process to implement doget and dopost methods?
What do you mean by cgi?
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?
Which method is called when reference variable is passed in system.net?
Explain jsessionid and when is it created?
What's the servlet interface?
Explain the architechure of a servlet?
how many jsp scripting elements are there and what are those?
How can you run a servlet program?
Explain the methods of request dispatcher in servlet?
What is meant by cookies?