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
Explain the custom jsp tags and the beans.
Can we refresh servlet in client and server side automatically?
What is a generic servlet?
Why do we need servlet filter?
What do you mean by web applications? Explain web application directory arrangement?
Which http method is said to be non-idempotent and idempotent?
what is multiple server?
Define declaration.
Explain load on start-up and its importance?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
What is servlet used for?
What is servletconfig?
What is the difference between using getSession(true) and getSession(false) methods?
explain the advantages of servlet life cycle?
What are the mechanisms used by a servlet container for maintaining session information?