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 |
What is a class loader? What are the different class loaders used by jvm?
What is the RMI and Socket?
Why use a datasource when you can directly specify a connection details? (in a J2EE application)
What is Introspection?
When you will synchronize your code?
What is the lifecycle of an applet?
What is Lock Based Protocol and what is its use?
Why DOM Parser would take more Memory than SAX parser while they are parsing?
Define the remote interface?
What class is the top of the awt event hierarchy?
What method is used to create the daemon thread?
What is there in browser that it supports web based applications of java or any other PL?