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 Listener question 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 » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Listener question" Watch "Listener question" New topic
Author

Listener question

eric mcentee
Ranch Hand

Joined: May 02, 2001
Posts: 66
Just curious, can two separate listeners defined in the deployment descriptor implement the same interface? I can't think of why I'd want to do this, but can two separate classes wait for a ServletContextEvent for example? I guess this would be kind of like a topic that listeners could use.
Shishio San
Ranch Hand

Joined: Aug 29, 2002
Posts: 223
Sure you can.
Two different implementations of the interface.


Whatever doesn't kill us ...<br />Is probably circling back for another try.<br />SCJP 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Listener question
 
Similar Threads
JTextField[ ] - index of event source?
Adding extra listeners
Is it possible to bind a component with two other components
Listeners not configured in DD
Firing two actions