Hi,
In servlet spec 2.4, pg 82,
SRV.10.3.4 Notifications At Shutdown
On application shutdown, listeners are notified in reverse order to their declarations with notifications to session listeners preceeding notifications to context listeners.
Session listeners must be notified of session invalidations prior to context listeners being notified of application shutdown.
If in DD, we define context lifecycle listener before a HttpSession listenerlistener, then how does the notification work?
During shutdown, which one is notified first?
Thanks!