Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Interview-Questions Java event-delegation model
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


samar
Java event-delegation model
1 Answer(s)      4 years and 2 months ago
Posted in : Java Interview Questions


What is the advantage of the event-delegation model over the earlier eventinheritance model?

Advertisement
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.



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
Java single threaded model
Java single threaded model  How single threaded model works after implementation in class, basically architecture point of view
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
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
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
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
Model in struts
Model in struts  what is a model in struts
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
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
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
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
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
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
Document Object Model(DOM)
Document Object Model(DOM)       The Document Object Model (DOM) is a an standard object model that represents HTML or XML and related formats. Document Object Model is platform
What is OSI Model?
What is OSI Model? The OSI Model is used to describe networks... Model : OSI Layer Diagram:    7)  Application Layer..., voltages etc. How to remember the layer of OSI model? The easiest way
Prototyping Model
). In this model, once the designing for a prototype is complete, the development phase gets started. The Prototyping Model of systems development method (SDM) is most... of the project. For, Prototyping Model it can be said that, it is a trial
Single thread model in Struts - Struts
Single thread model in Struts   Hi Friends, Can u acheive singleThreadModel , ThreadSafe in Struts if so plx explain me.  Hi Struts 1 Actions are singletons therefore they must
Writing model classes in struts2.2.1
Creating model classes StudentAdmissionModel.java -  Model class  is a java class(POJO). It has property and method. The method  name... of string variable.  StudentAdmissionModel .java package
Component Assembly Model
Component Assembly Model is just like the Prototype model, in which first... of businesses and consumers is realized. Thus it is also an iterative development model. Component Assembly model has been developed to answer the problems faced
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 View Architecture - JSP-Interview Questions
Model View Architecture  Describe the architectural overview of Model view architecture?  Hi friend, Model-view-controller (MVC..., the model represents the information (the data) of the application and the business
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
Web 2.0 Model
Web 2.0 Model       Web 2.0 includes two major model move, one is ?user generated content? and other... are the best examples of Web 2.0. In the model of Web 2.0 O?Reilly had presented
The Document Object Model (DOM) APIs
The Document Object Model (DOM) APIs       The DOM Packages                 The Document Object Model implementation
Autocomplete textbox with database in jsp and follow the MVC model
with database mysql follow MVC Model but it not perform. So please Help me sir... language="java" import ="java.sql.*" %> <% String name
Open Source Business Model
Open Source Business Model What is the open source business model... technologies such as Java, Perl, TCL, and a host of web-specific technology companies such as Send mail. The open source business model relies on shifting
Advertisements
 

 

 

DMCA.com