The EU Project Allow Ensembles aims to develop a new design principle for large-scale collective systems (CAS) based on the concepts of cells and ensembles, where cells represent a concrete functionality in a system, and the ensembles are collections of cells which collaborate in order to fulfill a certain goal in a given context. Adaptive Pervasive Flows (APF) are based on workflow technology and utilized in pervasive environments to model the cell’s behavior. During runtime, APF instances must be able to adapt their behavior, e.g. due to failures or changes in their environment, in order to be able to fulfill a certain goal. For this purpose, APFs may contain a particular type of activities, known as abstract activities. Abstract activities partially specify the flow behavior, which must then be resolved during runtime into one or multiple concrete activities, which in turn must be injected into the running flow. In the scope of this thesis, APFs are specified using an extension of the WS-BPEL language. The WS-BPEL language, provide the necessary mechanisms for extending the language for modeling custom process activities and specifying their behavior.
In this thesis we focus on the WS-BPEL language and on an extended version of the Apache ODE orchestration engine, for business process modeling and execution respectively. With respect to the injection of pervasive process fragments, which contain one or multiple activities and properties, the language and execution engine requirements and constraints are investigated. For this purpose, a State-of-the-Art analysis on generic process fragment injection approaches is first driven. Once the constraints are detected, we present the formalization of the required language extension based on WS-BPEL language, and conduct a specification of requirements and architectural design of the final prototype based on the Apache Orchestration Director Engine (Apache ODE). For integration purposes in the overall required execution environment, the Enterprise Service Bus Apache ServiceMix 4.3 is used.