What is servlet preinitialization

Answer Posted / surajkumar.java

A servlet is lazily loaded in servlet container of web or
application server. This means, a servlet is not instantiated
or initialized in servlet container as long as it has not been
requested for the first time. A servlet can be preloaded and
preinitialized with the help of <load-on-startup> of web.xml
(deployment descriptor) file.The preloading of a servlet
before any user request is called servlet preinitialization.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is aop(assepct oriented programing)?

576


What is a class loader? What are the different class loaders used by jvm?

581


Is there a guarantee of uniqueness for entity beans?

568


What if the static modifier is removed from the signature of the main method?

700


Difference between DurableSubscription and non- DurableSubscription?

1712






What are the oops concept?

575


What are the benefits of detached objects?

582


What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

566


which type of objects reference will be given to client?

2022


What is the difference between long.class and long.type?

560


What are the different class loaders used by jvm?

592


How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!

2553


What is the relationship between local interfaces and container-managed relationships?

588


What are JTA/JTS and how they used by client?

1712


What is chat area? Explain.

553