Java event-delegation model

Ads

 
 

Share on Google+Share on Google+

samar
Java event-delegation model
1 Answer(s)      6 years and 11 months ago
Posted in : Java Interview Questions
What is the advantage of the event-delegation model over the earlier eventinheritance model?
Ads
View Answers

October 27, 2010 at 2:46 PM


Hi,

Here is the answer.

There are two advantages of event-delegation model over event-inheritance model.

First, event-delegation enables the handling of events by objects other than the ones which generate the events. It is a clean separation between design and usage of a component.

Second, It s performance is much better in applications in which many events are generated. This improvement of performance is due to the fact that the unhandled events need not be repeatedly processed, which is the case of event-inheritance model.

Thanks.


Ads









Related Tutorials/Questions & Answers:
Java event-delegation model
Java event-delegation model  What is the advantage of the event-delegation model over the earlier eventinheritance model
Java event delegation model
Java event delegation model  What is the highest-level event class of the event-delegation model
Advertisements
delegation event model
delegation event model  What is delegation event model?   delegation event model In the event-delegation model, specific objects...-listener interfaces. Advantages of event-delegation model: 1)It enables
Java single threaded model
Java single threaded model  How single threaded model works after implementation in class, basically architecture point of view
is having any method same behavior of Single thread model in java?
is having any method same behavior of Single thread model in java?  is having any method same behavior of Single thread model in java
is having any method same behavior of Single thread model in java?
is having any method same behavior of Single thread model in java?  is having any method same behavior of Single thread model in java
is having any method same behavior of Single thread model in java?
is having any method same behavior of Single thread model in java?  is having any method same behavior of Single thread model in java
is having any method same behavior of Single thread model in java?
is having any method same behavior of Single thread model in java?  is having any method same behavior of Single thread model in java
need model coding in java - Java Beginners
need model coding in java  i want model a program for an algorithm in java which is it has some transactions T1=ABCE T2=CDE T3=DE T4=CDEG T5=BG T6=AE T7=BCG T8=C T9=A now compare T9=A and T6=AE
Core Java Interview Question, Interview Question
and TextArea Question: What is the advantage of the event-delegation model over the earlier event-inheritance model? Answer: The event-delegation model has two.... The other advantage of the event-delegation model is that it performs much better
Java Model View Controller (MVC) Design Pattern
; margin-left: 400px; } .style4 { margin-left: 160px; } Java MVC ( Model View Controller ) Design Pattern Model View controller is a classical design... into three parts. 1. Model- This component manages the information and notify
Introduction to POJO (Plain Old Java Object) Programming Model
Introduction to POJO (Plain Old Java Object) Programming Model... features of added by Sun Microsystems in EJB 3.0 is POJO (Plain Old Java Object). It is a Java object that doesn't extend or implement some specialized
Model in struts
Model in struts  what is a model in struts
Core Java Interview Question, Interview Question
container has been tried. In the event-delegation model, specific objects... interfaces. The event-delegation model is more efficient than the event... is the difference between the JDK 1.02 event model and the event-delegation model
Core Java Interview Question, Interview Question
of the event-delegation model? Answer: The java.util.EventObject class is the highest-level class in the event-delegation class hierarchy. Question: What event... Core Java Interview Question Page 18  
Networking with OSI model
Networking with OSI model  What is networking and it's how to work with OSI model?   Please visit the following links: http://www.roseindia.net/java/network/index.shtml http://www.roseindia.net/technology/networking
JSP Architecture, JSP Model 1 architecture, JSP Model 2 architecture
. In the JSP page programmers embeds Java code for generating dynamic content. JSP... of the architecture is used. These architectures are known as Model 1 and Model 2 architectures. So, in JSP there are two types of architecture of the JSP: Model 1
Core Java Interview Question, Interview Question
that support the event-delegation model defined? Answer: Most of the AWT-related events of the event-delegation model are defined in the java.awt.event... Core Java Interview Question Page 14  
spring Model class
spring Model class  how to connect database in spring MVC ,sample model class and diplay results from database   Have a look at the following link: http://www.roseindia.net/spring/jdbc-template-batch-update.shtml
Single thread model - Struts
Single thread model  Hi Friedns , thank u in advance 1)I need sample code to find and remove duplicates in arraylist and hashmap. 2) In struts, ow to implement singlthread model and threadsafe
JDBC batch insert using Java bean class
In this tutorial, you will learn about JDBC batch insert using java bean / model class
In Struts What is Model?
In Struts What is Model? This tutorial explains you What is Model in Struts..., Model, View and Controller. In MVC design pattern there are three kinds of components: Model View and Controller Struts is also based
Version of com.mediamiser>pull-model dependency
List of Version of com.mediamiser>pull-model dependency
Version of com.mtnfog>entity-model dependency
List of Version of com.mtnfog>entity-model dependency
Version of com.nextapp>echo3-filetransfer-model dependency
List of Version of com.nextapp>echo3-filetransfer-model dependency
Version of com.nimbits>nimbits_model dependency
List of Version of com.nimbits>nimbits_model dependency
Version of au.csiro>ontology-model dependency
List of Version of au.csiro>ontology-model dependency
Version of com.alpinenow>plugin-model dependency
List of Version of com.alpinenow>plugin-model dependency
Version of com.dataart>spreadsheetanalytics-model dependency
List of Version of com.dataart>spreadsheetanalytics-model dependency
Version of com.mediamiser>pull-model dependency
List of Version of com.mediamiser>pull-model dependency
Version of com.nextapp>echo3-filetransfer-model dependency
List of Version of com.nextapp>echo3-filetransfer-model dependency