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 HttpSessionBindingListener does not need to be configured in the deployment descriptor. 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 "HttpSessionBindingListener does not need to be configured in the deployment descriptor." Watch "HttpSessionBindingListener does not need to be configured in the deployment descriptor." New topic
Author

HttpSessionBindingListener does not need to be configured in the deployment descriptor.

deepesh soni
Greenhorn

Joined: Jul 13, 2007
Posts: 25
Which of the following statements are true?
Choose at least one answer.
A. To configure the HttpSessionBindingListener interface the deployment descriptor must include the session-listener tag Incorrect
B. To configure the HttpSessionBindingListener interface the deployment descriptor must include the listener tag Incorrect
C. The HttpSessionBindingListener interface supplies the sessionBound method Incorrect
D. The HttpSessionBindingListener interface supplies the valueBound method Correct
E. The HttpSessionBindingListener interface supplies the attributeAdded method Incorrect


I have become really confused about what listeners to configure in DD


scjp 1.4 (90%)
scwcd 5 (88%)
Poonam Agarwal
Ranch Hand

Joined: May 12, 2008
Posts: 323
the following listener are not need to be declared in the DD

1. HttpSessionBindingListener
2. HttpSessionActivationListener


all the rest need <listener> tag in the DD


Thanks <br />Poonam Agarwal SCWCD 86%
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

A complete explanation is in the FAQ.


[My Blog]
All roads lead to JavaRanch
 
Don't get me started about those stupid light bulbs.
 
subject: HttpSessionBindingListener does not need to be configured in the deployment descriptor.
 
Similar Threads
HttpSessionAttributeListener and HttpSessionBindingListener???
Listener Registration
Marcus Green Exam 4 Question 3
HttpSessionActivationListener
Listeners -- Big Confusion