Separation of concerns in service-oriented applications based on pervasive design patterns

  • Authors:
  • Cristian Mateos;Marco Crasso;Alejandro Zunino;Marcelo Campo

  • Affiliations:
  • ISISTAN Research Institute - CONICET, UNICEN, Tandil, Argentina;ISISTAN Research Institute - CONICET, UNICEN, Tandil, Argentina;ISISTAN Research Institute - CONICET, UNICEN, Tandil, Argentina;ISISTAN Research Institute - CONICET, UNICEN, Tandil, Argentina

  • Venue:
  • Proceedings of the 2010 ACM Symposium on Applied Computing
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Service-Oriented Computing (SOC) allows developers to build applications by reusing and invoking Web-accessible services. SOC promotes loose coupling between applications and services, which has been mostly addressed by using techniques for Separation of Concerns (SoC). Contemporary SOC development models based on SoC either rely on difficult-to-adopt, ad-hoc programming facilities and languages or fail at isolating applications from details of the application-service interaction. We propose DI4WS, a SOC programming model that combines the well-known Adapter and Dependency Injection patterns. We show that DI4WS allows reducing couplings to services, which has a positive effect on application maintenance, without requiring developers to learn such facilities or languages. DI4WS follows a contract-last approach to service invocation, whereby developers first code the logic of their applications and then non-invasively "adapt" and "inject" required services. An empirical comparison of DI4WS with two related approaches to decouple services is also reported, showing that the DI4WS versions of 4 evaluated applications used less memory and ran faster than the others.