aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes valueBound() and valueUnbound() methods 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 "valueBound() and valueUnbound() methods" Watch "valueBound() and valueUnbound() methods" New topic
Author

valueBound() and valueUnbound() methods

Chandra Bhatt
Ranch Hand

Joined: Feb 28, 2007
Posts: 1707
Hi,

What specific jobs are generally done inside the valueBound() and
valueUnbound() methods of the HttpSessionBindingListener interface that
is implemented by any class so that when the objects of the class are
added to using setAttribute() and removeAttribute() they (valueBound() or
valueUnbound()) could be called.


Please give some scenarios where I can avail the benefit of this listener.


Thanks,


cmbhatt
Vassili Vladimir
Ranch Hand

Joined: Mar 08, 2007
Posts: 1585
Hi,

If you are reading HFSJ, then open page #183 and read the Answer of the Question asked on that page, it contains a great explanation ...

Best regards ...


Vassili ...
SCJP 5.0, SCWCD 1.4, SCJA 1.0
Atul Sawant
Ranch Hand

Joined: Jul 06, 2006
Posts: 304
This listener is used to let the attribute know when they get created in a session (valueBound) or get removed from a session (valueUnbound).


Mission SCWCD. Mission SCJP Complete: SCJP 1.4 - 91%
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: valueBound() and valueUnbound() methods
 
Similar Threads
HFSJ mock exam doubt
HttpSessionBindingListener mock exam question - what's YOUR answer?
Doubt in Listeners
HFJS - final mock - q55
HttpSessionBindingListener vs HttpSessionListener