The JDK 1.02 event model uses an event inheritance or bubbling approach. In this model, components are required to handle their own events. If they do not handle a particular event, the event is inherited by (or bubbled up to) the component's container. The container then either handles the event or it is bubbled up to its container and so on, until the highest-level container has been tried. In the event-delegation model, specific objects are designated as event handlers for GUI components. These objects implement event-listener interfaces. The event-delegation model is more efficient than the event-inheritance model because it eliminates the processing required to support the bubbling of unhandled events.
Posted Date:- 2021-09-04 00:53:24
Explain the difference between Context, InitialContext and Session Context.
Are entity beans allowed to create () methods?
Can more than a single table be mapped in CMP?
How does EJB invocation take place?
What do you mean by EJBDoclet?
Is having static initializer blocks legal in EJB?
How can Enterprise JavaBeans be accessed from Active Server Pages?
Differentiate, “find a method” from “select method” in EJB ?
What do you mean by in-memory replication?
What Happens When You Invoke A Thread's Interrupt Method While It Is Sleeping Or Waiting?
Which Non-unicode Letter Characters May Be Used As The First Character Of An Identifier?
How Can The Checkbox Class Be Used To Create A Radio Button?
If A Method Is Declared As Protected, Where May The Method Be Accessed?
When Is The Finally Clause Of A Try-catch-finally Statement Executed?
Enlist the technologies embraced in J2EE.
When Does The Compiler Supply A Default Constructor For A Class?
How Does Multithreading Take Place On A Computer With A Single Cpu?
Which Math Method Is Used To Calculate The Absolute Value Of A Number?
What Is The Purpose Of The File Class?
What Is The Difference Between The Paint() And Repaint() Methods?
What Is The Collection Interface?
What Advantage Do Java's Layout Managers Provide Over Traditional Windowing Systems?
How Are The Elements Of A Gridlayout Organized?
What do you mean by ‘Hot deployment’ ?
What Class Of Exceptions Are Generated By The Java Run-time System?
What Class Allows You To Read Objects Directly From A Stream?
What Is The Difference Between A Field Variable And A Local Variable?
Static variables in EJB should not be relied upon as they may break in clusters.Why?
Under What Conditions Is An Object's Finalize() Method Invoked By The Garbage Collector?
How Are This () And Super () Used With Constructors?
What Is The Difference Between A Choice And A List?
How Are The Elements Of A Gridbaglayout Organized?
Differentiate Phantom from Un-repeatable?
Differentiate Conversational from Non-conversational interactions?
How Can A Gui Component Handle Its Own Events?
What Is The Highest-level Event Class Of The Event-delegation Model?
What Restrictions Are Placed On The Values Of Each Case Of A Switch Statement?
What is the difference between JNDI context, Initial context, session context and ejb context.