paper we present a Component Assessment procedure for qualification, and introduce
a preliminar approach for adaptation.
When a required application is not available, the assembly procedure could be ini-
tiated by previously executing a selection procedure of proper components. They could
be fetched from a repository or being discovered from some mobile device. In any
case evaluation should be thoroughly done [5,6]. Our Assessment Procedure intends
to compare behavioural aspects from components against a given set of requirements.
The requirement specification is assumed in the form of a component interface – the
necessary set of component services. Thus our approach, which compares components
interfaces, actually evaluates a component against an expected set of services. This im-
plies to evaluate services’ signatures at a syntactic level – e.g identifiers, parameters,
and data types.
Additionally, components will be enriched by adding meta-data – an adaptation
mechanism called instrumentation [2]. Thus we intend to embrace semantic aspects.
The first concern is adding ‘assertions’ which help to abstract out the black box func-
tionality hidden on components. Also, it is included the ‘usage protocol’ for services
which use regular expressions to describe the expected order of use for component ser-
vices. This technique has been applied on inter-class testing [7], and also on descriptions
for components [8].
Suppose post-conditions (for example) on services from two similar components.
They should relate to a similar structure and semantic. Hence, they could be thought
as being one a ‘clone’ of the other. Thus we apply some algorithms based on Abstract
Syntax Trees (AST) from [9], which were originally intended to detect similar pieces
of code (clones) on existing programs. Then compatibility for assertions and the usage
protocol is carried out by generating ASTs.
All such techniques applied on our assessment procedure help to accomplish a con-
sistent mechanism to assure a fair component integration. As we proceed with our work,
reliability is mainly considered, since we base the whole integration process on the chal-
lenging Ubiquitous Systems.
The rest of the paper is organized as follows. Section 2 presents our proposal for
an integration process. Section 3 illustrates the proposed process with an example. Sec-
tion 4 discusses implementation alternatives. Conclusions and future work are presented
afterwards.
2 Process Framework
We consider a reference model to describe the required engineering practices on our
targeted automated Integration Process. Figure 1 depicts partitions showing components
through different phases. We add an extra step to distinguish assembly from integration
– adapted from [1]. For each phase we distil some steps as is briefly explained below.
Numbers imply a non-strict order of execution.
Qualification
1. Recovery: Fetch components from a
repository or disparate devices.
2. Assessment: Evaluate compatibility upon
expected behaviours.
10