An entity is abstracted through implementation of a proxy object of the
present invention, including functions for a software application to
programmatically interact with the entity at runtime, as well as optional
compile and design time implementation classes to support the development
and customization of declarative proxy object definitions. In one
embodiment, builder and resource interfaces are provided to assist in the
creation of the implementation classes. In one embodiment, an extension
interface is also provided to facilitate extension of an implementation
of the proxy object. Software applications including programmatic usage
of proxy object functions are compiled into object codes with proxy
objects and meta data files. The compiled object codes are executed using
a runtime engine, which includes proxy context objects to facilitate
interaction on an instance basis, and an asynchronous event router to
route asynchronous events for the entity.