• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HttpSessionBindingListner vs. HttpSessionAttributeListener

 
Frank Beck
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks! Sorry I didn't look for the threads before posting.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic