In the first situation the a request for the end point
of the variant “imageService” is made in the Mobi-
Line Product. The ServiceContext uses the descriptor
components of the framework to identify the imple-
mentation and the specification of the variant. Thus,
the service context verifies the availability of the ser-
vice in the OSGi container and sends the end point to
the mobile device.
For testing the second situation, we turned the ser-
vice “imageService” inactive in the OSGi Container
and maintained all the alternative services activated.
When a request for the end point of this variant is
made the ServiceContext requests from the Broker a
list of alternative services and their respective punctu-
ation for the utility function. Thus, the ServiceContext
will return the end point for the required variation by
considering the service active with the highest score
in the utility function in the OSGi container.
6 CONCLUSIONS
This paper presents an approach to performing the
dynamic derivation in service-oriented DSPLs based
on a run time QoS analysis. The approach was de-
scribed and evaluated in a context-aware service ori-
ented DSPL called MobiLine.
We consider, according to our evaluation, that
the approach is functional and addresses the prob-
lem specified in Section 2. Moreover, interesting next
steps are the evaluation of the proposed approach be-
havior with a large number of services and variabili-
ties. It would be interesting for future investigations
too verify the performance of the proposed approach
and empirically compares the results with another ap-
proaches or with others DSPLs.
ACKNOWLEDGEMENTS
This research is sponsored by the Brazilian National
Council for Scientific and Technological Develop-
ment (CNPq) grants in the process 381305/2011-2.
It was also partially supported by the National In-
stitute of Science and Technology for Software En-
gineering (INES
3
) , funded by CNPq and FACEPE,
grants 573964/2008-4 and APQ-1037-1.03/08. It is
also part of UbiStructure - An infrastructure for devel-
oping and executing ubiquitous applications - CNPq
14/2011, process number 481417/2011-7.
3
www.ines.org.br
REFERENCES
Abbas, N., Andersson, J., and Weyns, D. (2011). Knowl-
edge evolution in autonomic software product lines.
page 1, New York, New York, USA. ACM Press.
Alferez, G. H. and Pelechano, V. (2011). Context-Aware
Autonomous Web Services in Software Product Lines.
pages 100–109. Ieee.
Ali, R., Chitchyan, R., and Giorgini, P. (2009). Context for
goal-level product line derivation.
Cetina, C., Fons, J., and Pelechano, V. (2008). Applying
Software Product Lines to Build Autonomic Pervasive
Systems. Number ii, pages 117–126. Ieee.
de Oliveira Martins, D. A. (2013). DYMOS: Uma abor-
dagem para suporte a variabilidades din
ˆ
amicas em
Linhas de Produto de Software Orientado a Servic¸os
e Sens
´
ıvel ao Contexto. Master’s thesis, Universidade
Federal de Pernambuco, Recife, Pernambuco, Brazil.
Gomaa, H. and Hashimoto, K. (2011). Dynamic software
adaptation for service-oriented product lines. page 1,
New York, New York, USA. ACM Press.
Hallsteinsen, S., Hinchey, M., Park, S., and Schmid, K.
(2008). Dynamic software product lines. Computer,
(April):93–95.
Lee, J. (2006). A Feature-Oriented Approach to Developing
Dynamically Reconfigurable Products in Product Line
Engineering. pages 131–140. Ieee.
Lee, J. and Kotonya, G. (2010). Combining service-
orientation with product line engineering. Number
June, pages 35–41.
Lin, K.-J., Zhang, J., Zhai, Y., and Xu, B. (2010). The de-
sign and implementation of service process reconfig-
uration with end-to-end QoS constraints in SOA. Ser-
vice Oriented Computing and Applications, 4(3):157–
168.
Marinho, F. G., Andrade, R. M., Werner, C., Viana, W.,
Maia, M. E., Rocha, L. S., Teixeira, E., Filho, J. a.
B. F., Dantas, V. L., Lima, F., and Aguiar, S. (2012).
MobiLine: A Nested Software Product Line for the
domain of mobile and context-aware applications.
Science of Computer Programming.
Parra, C., Blanc, X., and Duchien, L. (2009). Context
awareness for dynamic service-oriented product lines.
pages 131–140.
Pohl, K., B
¨
ockle, G., and van der Linden, F. (2005). Soft-
ware Product Line Engineering: Foundations, Princi-
ples, and Techniques.
Yu, J., Lalanda, P., and Bourret, P. (2010). An Approach for
Dynamically Building and Managing Service-Based
Applications. pages 51–58. Ieee.
Yu, T. and Lin, K.-J. (2005). Service selection algo-
rithms for Web services with end-to-end QoS con-
straints. Information Systems and e-Business Manage-
ment, 3(2):103–126.
TowardaQoSBasedRun-timeReconfigurationinService-orientedDynamicSoftwareProductLines
465