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

question regarding listeners

Aravind Elango
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

Just started my certification prep and am going with HFS. I have a question regarding the behaviour of listeners. Lets say I have 2 listeners (ServletContextAttributeListener and ServletContextListener) & some context attributes associated with my web app. I can understand how they are used individually. But am unsure if the Application unloading (say tomcat shutdown) will cause attributeRemoved() in the ServletContextAttributeListener to be fired.

Also, is this behavior consistent with sessions/ requests or do they have different behavior ?


My Code has no bugs .... Only random behaviours ;-)
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic