HttpSessionBindingListner vs. HttpSessionAttributeListener
Frank Beck
Greenhorn
Joined: Apr 10, 2002
Posts: 4
posted
0
When should a HTTPSessionBindingListener be used instead of a HTTPSessionAttributeListener? I am sure I am missing something - I did look over the specs and JavaDocs. Is the binding listener based on the deprecated value methods? Thanks!
Axel Janssen
Ranch Hand
Joined: Jan 08, 2001
Posts: 2164
posted
0
Hi Frank, shortest explanation is this one:
Originally posted by Madhav Lakkapragada: The bottomline is who speaks and who listens.... HttpSessionBingdingListener: Session talks and the Class (implementing HttpSessionBingdingListener) listens. HttpSessionAttributeListener: Application talks and Session object listens. - satya [ February 13, 2002: Message edited by: Madhav Lakkapragada ]
Use the search facility and search for term "HTTPSessionAttributeListener". You get 10 threads (not that much) and there are good discussions. Axel
Frank Beck
Greenhorn
Joined: Apr 10, 2002
Posts: 4
posted
0
Thanks! Sorry I didn't look for the threads before posting.
subject: HttpSessionBindingListner vs. HttpSessionAttributeListener