what is a servlet? and explain its lifecycle methods?

Answer Posted / dilip mudhireddy

Servlet is a server side scripting language, which is
developed based on "Singleton Class" design Pattern.

A servlet can be Generic Servlet or HTTP Servlet.

The life cycle methods of Servlet are init(), service(),
destroy().

Is This Answer Correct ?    23 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ejb module?

686


What is button in java?

675


What is home interface?

718


What is data?

726


Who gave the name java?

637


Which software is used for java?

657


Describe secure socket layer (ssl)?

708


What is business method?

717


What is a java ee container?

649


How will you explain load() and get() methods?

715


What is j2ee application?

741


How many types of modules is defined by j2ee specification?

659


What is external entity?

729


What is attribute what is asant?

695


What is layout in java?

696