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

Web application startup-steps

 
Biren shah
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ..i saw a wrong answer in one of mock exam...
i just want to confirm the startup steps for a web-applicatoin

context
listeners
filter
servlet

???
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

These are correct steps.

Following is the extract from Specs

When a web application is deployed into a container, the following steps must be
performed, in this order, before the web application begins processing client
requests.
� Instantiate an instance of each event listener identified by a <listener> element
in the deployment descriptor.
� For instantiated listener instances that implement ServletContextListener,
call the contextInitialized() method.
� Instantiate an instance of each filter identified by a <filter> element in the deployment
descriptor and call each filter instance�s init() method.
� Instantiate an instance of each servlet identified by a <servlet> element that
includes a <load-on-startup> element in the order defined by the load-onstartup
element values, and call each servlet instance�s init() method.

Thanks
 
Biren shah
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks narendra..

when are u planning to give the exam???
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

This Saturday.

Thanks
 
Biren shah
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh
best of luck narendra,
i m also planning to give in next week..but cant decide date,

i am getting 78% in jwebplus mock exam.

what is the way to test how much i will score in real exam.

i have still not given k&b exam
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I can not say anything about the real exam, as I have not given yet.

Type jdiscuss.com for so many good questions.

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic