Wednesday, January 17, 2007

Event Delegation Model explained

Event delegation model for Java was a good design as against the previous 1.0 model that SUN had come up with.But as is the case with all design models/patterns we need to understand it properly to utilize the model/pattern as it was intended by the creator. My attempt to explain to a junior why the event-delegation model is better over its counterpart. Takes a very simple example to understand the model.

Click here for the document.

For detailed info on the same plzz visit the SUN link here.

1 comment:

Vikash Kumar said...

I am of opinion that Java is a language designed very beautifully and thats what I love about it. The Java designers have utilized the design patterns in the most productive manner they could and Even delegation model is a perfect example of this.
Even the design of IO Streams is very impressive. I would love to read about it on your blog in future :)