File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HttpSessionBindingListner vs. HttpSessionAttributeListener Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "HttpSessionBindingListner vs. HttpSessionAttributeListener" Watch "HttpSessionBindingListner vs. HttpSessionAttributeListener" New topic
Author

HttpSessionBindingListner vs. HttpSessionAttributeListener

Frank Beck
Greenhorn

Joined: Apr 10, 2002
Posts: 4
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
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
Thanks! Sorry I didn't look for the threads before posting.
 
 
subject: HttpSessionBindingListner vs. HttpSessionAttributeListener
 
Threads others viewed
question from JWebplus1.4 about session.invalidate()
difference b/w HttpSessionBindingListner and HttpSessionAttributeListner
AttributeListeners VS BindingListeners
attribute listeners!
Javaranch mock?Question Bank ID : 23
developer file tools