Listener Registration TheWeb container creates an instance of each listener class and registers it for event notifications prior to the processing of the first request by the application. The Web container registers the listener instances according to the interfaces they implement and the order in which they appear in the deployment descriptor. During Web application execution, listeners are invoked in the order of their registration.
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.
Hope this helps....!
Thanks & Regards,<br />Reesha
posted 12 years ago
thanks nellika !
The moth suit and wings road is much more exciting than taxes. Or this tiny ad: