The Artima Developer Community
Sponsored Link

Java Answers Forum
preinitialization

1 reply on 1 page. Most recent reply: Nov 6, 2004 2:48 PM by Adarsh Patil

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
suma

Posts: 8
Nickname: suma2k4
Registered: Oct, 2004

preinitialization Posted: Nov 5, 2004 6:40 AM
Reply to this message Reply
Advertisement
Hi,

Pl explain wts meant by Preinitialization in servlets.

Also let me know the difference between tpoiq & queue.

thanks
suma..


Adarsh Patil

Posts: 21
Nickname: adarsh
Registered: Oct, 2004

Re: preinitialization Posted: Nov 6, 2004 2:48 PM
Reply to this message Reply
Hi Suma,

A container doesnot initialize the servlets as soon as it starts up, it initializes a servlet when it receives a request for that servlet first time. This is called lazy loading. The servlet specification defines the <load-on-startup> element, which can be specified in the deployment descriptor to make the servlet container load and initialize the servlet as soon as it starts up. The process of loading a servlet before any request comes in is called preloading or preinitializing a servlet.

complements to : http://www.allapplabs.com/interview_questions/servlet_interview_questions.htm

Cheers,
Adarsh
------------------------------------
http://www.adarshpatil.com

Flat View: This topic has 1 reply on 1 page
Topic: Cloning and Interfaces Previous Topic   Next Topic Topic: Get rid of that comma in my JSpinner!!!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use