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 ?
Thanks,
Aravind
My Code has no bugs .... Only random behaviours ;-)