Meaningless Drivel is fun!*
The moose likes Product and Other Certifications and the fly likes Multiple RecordListener Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "Multiple RecordListener" Watch "Multiple RecordListener" New topic
Author

Multiple RecordListener

Yuan-Jia Li
Greenhorn

Joined: Aug 25, 2009
Posts: 4
Hello, everybody. I have some questions.

Which two are true about record store listeners? (Choose two.)
(A) Listeners are notified if a store is deleted.
(B) A record store can jave only one registered listener.
(C) When a record stroe is closed, listeners are removed.
(D) To listen for all events, three listeners must be registered.
(E) A record can have more than one registered listener.

The answer : C, E

This is a question about SCMAD.
I have tried to run an example.
I'm sure that a RecordStore can have more than one registered listener,
but I can't understand what case should we use more than one registered listener.

Could anyone give me an example?
Thank you!!!


SCJP 6.0, SCMAD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multiple RecordListener
 
Similar Threads
Order of Listener Notification
Registering Listeners in web.xml
listener notification order / HFSJ CH5#11 doubt
Action Adapter
Best design - you pick