Patent ID: 7409692

Claim:
A computer program product, tangibly embodied in a machine-readable storage device comprising instructions operable to cause a data processing apparatus to: implement a reusable component encapsulating functionality, multiple instances of the reusable component being usable at the same time; the reusable component having at least one visual representation; the reusable component having a programming interface for programmatic interaction with the reusable component; the reusable component having a data-binding interface for data communication with the reusable component; and the reusable component having a visual interface for access to the at least one visual representation of the reusable component; receive an event subscription directed to a subscribing component when the subscribing component has not been instantiated, the event subscription specifying subscriptions to one or more events generated by sub-components embedded by the subscribing component; cache events generated by the sub-components that are specified by the event subscription while the subscribing component has not been instantiated; forward any cached events to an instance of the subscribing component after the subscribing component is instantiated; receive one or more context mappings for a component, the context mappings being specified by a component embedder to exchange context data with the component, the context data comprising interface data and configuration data; if the component has not been instantiated, cache the specified context mappings; and create the specified context mappings for the component after the component has been instantiated.