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 servlet filter.
What is servlet looping or chaining?
How does tomcat servlet container work?
What do you mean by request dispatcher in servlet? Also explain its methods.
How printwriter is different from servletoutputstream?
How to find whether a parameter exists in the request object?
what do you understand by url rewriting?
What is the requirement of servlet config and servlet context implemented and how are they implemented?
I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?
Tell us something about servletcontext interface.
What is the procedure for initializing a servlet?
What is meant by cookies?
What is java servlet session?
When to use doget() and when dopost()?
What is servlet lazy loading?