Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between an applet and a servlet?

Answers were Sorted based on User's Feedback



What is the difference between an applet and a servlet?..

Answer / sahil verma

Applets

Applets are applications designed to be transmitted over
the network and executed by Java compatible web browsers.
An Applet is a client side java program that runs within
a Web browser on the client machine.
An applet can use the user interface classes like AWT or
Swing.
Applet Life Cycle Methods: init(), stop(), paint(),
start(), destroy()

Servlets

Servlets are Java based analog to CGI programs,
implemented by means of servlet container associated with an
HTTP server.
Servlet is a server side component which runs on the web
server.
The servlet does not have a user interface.
Servlet Methods: doGet(), doPost()

Is This Answer Correct ?    0 Yes 0 No

What is the difference between an applet and a servlet?..

Answer / vemula sowmya

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 ?    0 Yes 0 No

What is the difference between an applet and a servlet?..

Answer / sepna

radhi, thanks alot for your valuable and enlarge answer

Is This Answer Correct ?    2 Yes 5 No

What is the difference between an applet and a servlet?..

Answer / nickvalente

Hi Radhika,
Thank u so much
i got many points from your notes
u r too smart and good at subject

Is This Answer Correct ?    5 Yes 9 No

What is the difference between an applet and a servlet?..

Answer / varsha vilas kalebag

applet is nothing but application on net .aaplet needs web
browser

Is This Answer Correct ?    9 Yes 21 No

Post New Answer

More Servlets Interview Questions

Which event is fired at the time of setting, getting or removing attribute from application scope?

0 Answers  


How to make sure a servlet is loaded at the application startup?

0 Answers  


What is difference between jsp and servlet?

0 Answers  


How forward () method is different from send redirect () method?

0 Answers  


What is the difference in between the httpservlet and generic servlet?

0 Answers  


What are the types of an http request?

0 Answers  


Difference between GET and POST?

0 Answers  


Who is responsible for writing a constructor?

0 Answers  


can i modify the data which are generated by the servlet

4 Answers  


I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>

0 Answers   ProKarma,


What is a servlet?

0 Answers  


Can we call destroy() method inside the init() method? What happens when we do so?

9 Answers   Ericsson,


Categories