ABSTRACT

This chapter presents how to provide adaptive service discovery and interaction support in an open environment. It provides the approach including the architecture, discovery primitives, and mapping mechanisms, and interception modeling and composition. Service discovery and interaction managers constitute the most important part of the adaptation. They connect with the context model, the protocol specific mapping modules, and interceptors. Interceptors in Programmable Coordination Media (PCM) rely on the dynamic arrivals of the agents. PCM proxy passes the requests to Interceptor Manager after identifying them. Interceptor Manager would process the request objects sequentially according to the configuration, generate a soap message or an execution agent which is used to transfer the control, and then send them to PCM at the server side. When the agent migrates to the node where the service resides, PCM writes the agent’s interceptor configurations into Interceptor Manager during the deployment phase.