Results 1 to 2 of 2
Thread: question on listener interface
- 01-04-2009, 12:16 PM #1
Member
- Join Date
- Jan 2009
- Posts
- 3
- Rep Power
- 0
question on listener interface
which interface must a class implement so that instances of the class are notified after any object is added to a session?
A. javax.servlet.http.HttpSessionListener
B. javax.servlet.http.HttpSessionValueListener
C. javax.servlet.http.HttpSessionBindingListener
D. javax.servlet.http.HttpSessionAttributeListener
the correct answer is D while i think it should be C.
Could somebody tell which is the correct answer and why?
- 01-16-2009, 10:33 AM #2
Member
- Join Date
- Jan 2009
- Location
- italy
- Posts
- 16
- Rep Power
- 0
In this post there is an example about the interfaces differences
http // w w w .coderanch.com/t/171721/Web-Component-Certification-SCWCD/HttpSessionBindingListener-HttpSessionAttributeListener
By reading this post and relative test, I think that both C, and D response are correct.Article and examples about Java EE world
http://programmaremobile.blogspot.com
Similar Threads
-
Listener for print job
By pjmorce in forum Advanced JavaReplies: 1Last Post: 11-14-2008, 08:02 AM -
Interface question in java
By tony404 in forum Advanced JavaReplies: 2Last Post: 06-27-2008, 11:47 AM -
Regarding Listener
By adeeb in forum AWT / SwingReplies: 2Last Post: 06-20-2008, 11:07 PM -
Regarding Listener
By adeeb in forum AWT / SwingReplies: 2Last Post: 06-10-2008, 02:00 AM -
Listener for SWT event
By Java Tip in forum Java TipReplies: 0Last Post: 01-08-2008, 09:04 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks