posted 19 years ago
Hi,
Following is my understading about the Activation and Bonding Listeners.
The HttpSessionActivationListener and HttpSessionBindingLister are implemented by the attribute classes , which are added as session attributes.
HttpSessionActivationListener is notified when the attribute implementing it is migrated to another JVM.
HttpSessionBindingListeren is notified when the attribute implementing is is bounded or unbounded to session.
For the other attributes which are not implementing these Listeners, are not notified for the above events.
So for both there is no need to register in web.xml, because these are related to the attributes added to the session.
Alll other 6 listerers are related to lifecycle and attributes added to different scopes, so the container require to register it.
Hope this help.
Thanks
Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0