International Conference on Evaluation of Novel Approaches to Software Engineering

ENASE 2008: Evaluation of Novel Approaches to Software Engineering pp 75-90

Language Support for Service Interactions in Service-Oriented Architecture

  • Sven De Labey
  • Jeroen Boydens
  • Eric Steegmans
Conference paper

DOI: 10.1007/978-3-642-14819-4_6

Volume 69 of the book series Communications in Computer and Information Science (CCIS)
Cite this paper as:
De Labey S., Boydens J., Steegmans E. (2010) Language Support for Service Interactions in Service-Oriented Architecture. In: Maciaszek L.A., González-Pérez C., Jablonski S. (eds) Evaluation of Novel Approaches to Software Engineering. ENASE 2008. Communications in Computer and Information Science, vol 69. Springer, Berlin, Heidelberg

Abstract

The Open Services Gateway initiative (OSGi) is a platform for running service-oriented Java applications. OSGi provides a central service registry to allow application components (so-called bundles) to share functionality. From the viewpoint of programming language development, OSGi leaves a lot of room for improvement. Its service query language, for instance, bypasses important compile-time guarantees and it works only for service metadata that never changes during the lifetime of a service. A second problem is that the event notification system requires programmers to write a considerable amount of boilerplate logic for reacting to service events. This obfuscates the business logic, which in turn decreases code comprehension and increases the odds for introducings bugs when implementing client-service interactions.

This paper evaluates OSGi as a platform for programming client-service interactions in Java. After focusing on problems that relate to OSGi’s integrated service query language and its event notification system, we propose a solution based on a programming language extension. We also show how this extension is transformed to regular Java code so as to maintain interoperability with the OSGi specification.

Keywords

Service-Oriented Architecture Language Concepts 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 2010

Authors and Affiliations

  • Sven De Labey
    • 1
  • Jeroen Boydens
    • 2
  • Eric Steegmans
    • 1
  1. 1.Department of Computer ScienceK.U. LeuvenLeuvenBelgium
  2. 2.KHBO Department of Industrial Engineering Science & TechnologyOostendeBelgium