What is servlet preinitialization



What is servlet preinitialization..

Answer / 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

More Advanced Java Interview Questions

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

1 Answers  


What is the RMI and Socket?

1 Answers  


Why use a datasource when you can directly specify a connection details? (in a J2EE application)

2 Answers  


What is Introspection?

2 Answers  


When you will synchronize your code?

2 Answers  


What is the lifecycle of an applet?

2 Answers  


What is Lock Based Protocol and what is its use?

2 Answers   Wipro,


Why DOM Parser would take more Memory than SAX parser while they are parsing?

3 Answers   OnMobile,


Define the remote interface?

1 Answers  


What class is the top of the awt event hierarchy?

1 Answers  


What method is used to create the daemon thread?

1 Answers  


What is there in browser that it supports web based applications of java or any other PL?

2 Answers  


Categories