| Author |
init and service in same thread?
|
rinku jain
Greenhorn
Joined: Jan 04, 2011
Posts: 26
|
|
when i call the servlet for the first time after the its deployment
do the init() method is called by the same thread which is calling the service method???
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56229
|
|
|
Unlikely. The init() lifecycle method can be called at any time before the first request. it does not have to wait until a request is made.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
pradeep gamage
Ranch Hand
Joined: Aug 03, 2009
Posts: 85
|
|
|
Read this webpage . you may get idea..
|
Software Engineer(BSC):SCJP 1.5
(Knowledge is power when applied)
|
 |
 |
|
|
subject: init and service in same thread?
|
|
|