Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

container sequence

 
Anand Bhatt
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A.Instantiate listeners defined in the deployment descriptor
B.Initialize filters defined in the deployment descriptor
C.Initialize servlets that are set to load on startup
D.Call the contextInitialized method on the listeners implementing ServletContextListener interface

What would be the correct sequence of actions that a servlet container performs before servicing any request?
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you think is correct?

Plus, if this is from a mock exam, please Quote Your Sources.
 
Anand Bhatt
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@Marc
Well one of my colleague raised this question sometime back,so i really do not the exact source of this.
From my knowledge the sequence should be :
A-D-B-C
This is just what I think, what do you think?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic