aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Listeners Notification Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Listeners Notification" Watch "Listeners Notification" New topic
Author

Listeners Notification

sravanthi pulukuri
Ranch Hand

Joined: Mar 15, 2007
Posts: 125
hi,

Whizlabs exam says
On Application Shutdown listeners arenotified in the reveerseorder of there declaration??
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9313
    
  17

I think this is about ServletContextListners. They are declared in the web.xml DD. At context initialization, they are notified in the order in which they are declared in the web.xml i.e. the listener declared first, will be notified first. But on context destruction, they are notified in the reverse order of their declaration i.e. the one declared last is notified first...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
jQuery in Action, 2nd edition
 
subject: Listeners Notification