A dispatching system that uses a common interface to interface with all
sub-applications, regardless of their logic models. The common interface
provides a service method or routine that the dispatching system invokes
to effect processing by the sub-application. Each sub-application
implements the common interface and shares a common context with the
other sub-applications. In one embodiment, the dispatching system
receives requests (e.g., HTTP requests), identifies the sub-applications
that should process the received requests, and invokes the service
routines of the identified sub-applications to process the received
requests. Each sub-application may have an associated match criteria that
indicates when the sub-application should process the requests.