The present invention extends to methods, systems, and computer program
products for mapping between anonymous modules in an event environment.
Through the use of one or more event type to executable module bindings,
a binding/dispatch manager maps events, for example, peer-to-peer, grid,
or parallel processing computing events, to appropriate methods for
processing the events. When an event is received from an event
infrastructure, the binding/dispatch manager refers to annotations (e.g.,
based on the shape of the parameters) to identify an appropriate method
for processing the event. Parameters are transferred to the appropriate
method, which processes the parameters and returns any results to the
binding/dispatch manager. In some embodiments, the binding/dispatch
manager then forwards a response to the event infrastructure.