A method and apparatus of an architectural pattern for creating
applications for a data processing system. A graphical user interface is
created in which the graphical user interface includes a plurality of
components. Processes for presenting the plurality of components and
receiving user input are handled by a first set of graphical objects,
wherein in response to selected user input, a first event is generated. An
application object is created in which the application process controls an
order in which the graphical objects present the set of components and
process the event and wherein the application generates a second event. A
transport object is created in which the transport object processes the
second event and forwards the second event for processing to a destination
within the plurality of destinations. A plurality of destination objects
are created in which each destination object within the plurality of
destinations objects handles accessing a destination within the plurality
of destinations.