What is difference between Servlet and Applet

I don t KNOW

Showing Answers 1 - 57 of 57 Answers

Mr.Aketi

  • Sep 18th, 2005
 

Answer: 1) Applets are graphical user Interface, but it doesn't supports servlets. 2) Servlets are server side, but Applets are browsers.Mr.Aketi

  Was this answer useful?  Yes

Surendra Reddy Alla

  • Sep 19th, 2005
 

servlet is the server side component and the applet is the client side component.applet makes the request to the servlet and servlet is the server which responed that request

  Was this answer useful?  Yes

Viswesh

  • Sep 19th, 2005
 

Servlet doesn't have GUI , while applet have GUI. Applet are very heavy to handle as compared to servlet. Servlets are for server side and applet are for client view

  Was this answer useful?  Yes

Raghavendra

  • Sep 26th, 2005
 

Servlet is a server, Applet is a browser

  Was this answer useful?  Yes

Rajasekhar Kilaru

  • Sep 26th, 2005
 

Servlets are to servers. Applets are to browsers. Unlike applets, however, servlets have no graphical user interface

  Was this answer useful?  Yes

Suman Kumar Gattu

  • Sep 27th, 2005
 

Applet is client side program and Servlet is Server side.Applets can run under any web server 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 ServerApplet extends the Functionality of the Browser whereas Servlet Extends the Functionality of the Server.Applet runs at client side where as servlets run at server side.Unlike applets, however, servlets have no graphical user interface.

  Was this answer useful?  Yes

sai

  • Sep 27th, 2005
 

Servlets works at serverside and applets at client side

  Was this answer useful?  Yes

selvakumar

  • Oct 3rd, 2005
 

servlet deals with serverside.whereas applet deals with browser side

  Was this answer useful?  Yes

Vamsi Krishna. Neela

  • Oct 16th, 2005
 

Applet: An applet is a small program that is intended not to be run on its own, but rather to be embedded inside another application. Applets usually have some form of user interface or perform a particular piece of the overall user interface in a web page. This distinguishes them from a program written in a scripting programming language (such as JavaScript) that also runs in the context of a larger, client program, but which would not be considered an applet.Servlet: Where as The Java Servlets API allows a software developer to add dynamic content to a web server using the Java platform. A servlet is an object that receives requests and generates a response based on the request. The API defines HTTP subclasses of the generic servlet requests and responses as well as an HTTP session object that tracks multiple requests and responses between the web server and a client. Servlets may be packaged as a Web application. my friend this may help for u........... even if u r not yet still to get ........ mail me @ ------ vamsidreamz@yahoo.com

j.manivannan

  • Oct 23rd, 2005
 

hai servlet is a server side applet and server side scripting language .it mainly involved in web applications.it run inside the server. applet is client side applet.it mainly involved stand alone application developement.

  Was this answer useful?  Yes

Devidas Sonawane

  • Oct 24th, 2005
 

Servlet is a server side applet, it contains html, dhtml...etc.in java code. and Applet is client/browser side applet. it contains java code only.

  Was this answer useful?  Yes

kishore basireddy

  • Oct 24th, 2005
 

servlets are server side applications and applets are for browser

  Was this answer useful?  Yes

surae

  • Nov 4th, 2005
 

applet get executed in the client web browser.where as servlet get executed in the server and only the response is send to the client.

  Was this answer useful?  Yes

sakthi

  • Nov 10th, 2005
 

  Hai,

   Servlet:serverside programe

   Applet:client side programe

  Was this answer useful?  Yes

srinivas

  • Nov 15th, 2005
 

Servlet runs on server side where as applet runs on the browser.

  Was this answer useful?  Yes

selvan

  • Nov 18th, 2005
 

sevlet is server based , Applet is Browser based

  Was this answer useful?  Yes

dhana lakshmi

  • Nov 18th, 2005
 

servlet is a pgm that is present onserver.taht will be executed by server.applet is a program that is present on browser.applet is executed by browser

  Was this answer useful?  Yes

majid khan

  • Nov 19th, 2005
 

(A) Applet run on your Browser(client)..

(S) where as Servlets run on Servlet Container(Server side)..

(A) Applets are used for presentation and simple application on your browser...

(S) Servlet give the html output to your browser.. 

  Was this answer useful?  Yes

Suman Duttta

  • Nov 20th, 2005
 

well the basic difference is Applet is for the client ,i.e. client side interface but servlet is develop for the server side interface. A Servlet can interact with the server but an applet cant directly interact with server its a security issue.

  Was this answer useful?  Yes

Vishnu S

  • Dec 1st, 2005
 

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.

An Applet's class, jar files can be accessed and downloadable by client but not so in case of servlet.

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. 

contct me for further clarifications..vishnu_es@yahoo.co.uk

  Was this answer useful?  Yes

Murali

  • Feb 6th, 2006
 

Servlet is for server side and the Applet is for client side

  Was this answer useful?  Yes

akram

  • Jan 6th, 2007
 

applets dont provide dynamism where using servlets we can provide dynamism applets are static, servlets are server side technology they are run by server where as applets are run by browser

  Was this answer useful?  Yes

Applet is a program that resides on Internet server and can be downloaded from Internet and automatically installed on client machine , runs as a part of a web document or web page.So that means applet also controlled by a server called Internt Server but the only difference from servlet is that applets are never controlled by the user.Moreover applets are not server-side programs and it does not contain dynamic content.

 Servlets are server-side programmes that can generate dynamic contents from Server.here the user can have a minimum amt of controll over servlets eventhough server takes care of its life cycle and otherthings.

The important point is that servlets generates very securable web applications.

Thank You.

  Was this answer useful?  Yes

As we know that applets are the GUI so there is more need of objects cause every graphical interface needs an object so it is come to known heavy weight and servlets provides direct the outputs to the browser so it doesn't need more objects

  Was this answer useful?  Yes

pksudha03

  • Jul 2nd, 2010
 

Applet is a downloadable small program which runs on the client side and executed by the client's java enabled browser or by the Apllet viewer. It doesn't need main() method to begin the execution,instead it begin's its lifecycle whrn the name of the class is passed to the Appletviewer.. The Applet's lifecycle have 4 methods.

init()-Where it can initialise itself
start()- It can start running
stop()-stop running
destroy()-Cleanup process happens

Applets are treated as untrused and they have a limited permission to run in the client browser

Servlet can be treated as Server-side applets.It runs in a servlet container which is deployed in the webserver. The lifecycle of the servlet have 3 methods.

init()

If an instance of the servlet does not exist, the Web container
a. Loads the servlet class
b. Creates the instance of the servlet class
c. Initialise the servlet instance by calling the init() method

service()-invokes this method by passing request and response object and a subsequent call to the same servlet is invoked as thread

destroy()-If the servlet container decides to remove the servlet, it calls this method.

  Was this answer useful?  Yes

madanbm

  • Jun 20th, 2011
 

a) Servlets are to servers and  applets are to browsers.
b) Applets must have graphical user interfaces whereas servlets have no graphical user
interfaces.

  Was this answer useful?  Yes

Servlet is a technology used  to develop server side dynamic web pages,applets are used to develop client side dynamic web pages.To run servlet application we need webserver/application server,whereas for applet not required.

  Was this answer useful?  Yes

purav mehta

  • Aug 28th, 2011
 

Well, Applet is core Java concept. while servlet is advance Java concept, applet is client side programming, while servlet is server side programming,
Applet use GUI, where as Servlet is unable to do that.

Thanks...Good Luck

  Was this answer useful?  Yes

vinay

  • Sep 29th, 2011
 

An applet get downloaded onto the client system and executes over the client system and gives the results..where as a servlet gets executed in a server and only the results are sent to the client.

  Was this answer useful?  Yes

vishal sharma

  • Oct 27th, 2012
 

Hello sir, Everywhere I read that Servlet does not work on GUI but applet works. What is meaning of this line?

  Was this answer useful?  Yes

sujata waghmare

  • Jan 10th, 2014
 

different between servlet and applet ...because servlet is run on web server.applet is run on browser..

  Was this answer useful?  Yes

Gopi Devarapalli

  • Sep 11th, 2014
 

Applet is web application that runs on browser. where as servlet webapplicaton that runs on server which can be accessed.

  Was this answer useful?  Yes

Kinjo

  • Nov 5th, 2014
 

Servlet run inside a servlet container on the server side where as applet run on the client side inside a browser.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions