To anticipate or not to anticipate -- that is the question, regarding adaptive middleware in the area of ubiquitous computing. Anticipation can guarantee that both the adapted and the adapting component work together safely, but it limits the scenario space to some predictable well-known cases. This holds even more when statically typed languages are used, as we assume here. A second problem is a semantic gap between the business logic that triggers the adaptation and the technological demands of the adaptation that must be solved on the implementation level. We discuss current approaches and describe a new approach combining aspect-oriented programming with structural metadata to cope with both problems. An example illustrates how our approach will work in practice. Categories and Subject Descriptors
Holger Mügge, Tobias Rho, Armin B. Cremers