What is source and listener?

Answer Posted / janet

Source: A source is an object that generates an event.this
occurs when the internal state of that object changes in
some way.
Listener: A listener is an object that is notified when an
event occurs.It has two major requirements First,it must
have been registered with one or more sources to receive
notifications about specific types of events.Second,it must
implement methods to receive and process these
notifications.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the RMI and Socket?

618


What is a clone?

564


Explain the difference between object state and behavior?

558


What is the highest-level event class of the event-delegation model?

562


Write a program to show synchronization?

679






Explain how will the struts know which action class to call when you submit a form?

515


Describe responsibilities of Activator?

1661


Can you control when passivation occurs?

589


Why are some of the class and element names counter-intuitive?

563


In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?

1550


What is ioc concept & explain it?

606


difference between  ejb,struts,hibernate,spring and jsp

2289


What does module-relative mean?

567


What are JTA/JTS and how they used by client?

1710


we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?

1910