Patent ID: 8522259

Claim:
An apparatus for processing data in an application comprising a presentation layer and a business layer, the apparatus comprising: a business application framework in communication with and decoupling, but operating independently of, operation of the presentation layer and the business layer, the business application framework comprising: a delegate component, implemented by a processing device including memory and a processor, that receives a request to process an event from a presentation layer component, the event requiring a response from at least one component in the business layer; a controller component, implemented by the processing device and instantiated by and in communication with the delegate component, for processing the event; a routing logic component, implemented by the processing device and instantiated by and in communication with the controller component, for instantiating at least one of a plurality of handler components to handle processing of the event by the business layer; an event component, implemented by the processing device and in communication with the routing logic component, for: determining, via an event factory class, which of the plurality of handler components should be instantiated to handle the event, and setting, via an event request class instantiated by a component in the presentation layer, data to be processed by one or more components in the business layer; and a handler component, implemented by the processing device, instantiated by and in communication with the routing logic component and implementing the at least one of the plurality of handler components, that invokes the one or more components in the business layer in order to generate the response to the event.