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
Difference between forward() method and sendredirect() method ?
What is setattribute in servlet?
How to handle exceptions thrown by application with another servlet?
What is a servlet-to-servlet communcation?
How to create war file?
Explain is servlet mapping?
Servlet is pure java object or not?
Difference between httpservlet and generic servlets?
What is dispatcher servlet?
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?
How does Cookies work in Servlets?
How printwriter is different from servletoutputstream?
How to rectify errors in java servlet while compilation?
When a servlet accepts a call from a client, it receives two objects. What are they?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?