The Substitution Principle in an Object-Oriented Framework for Web Services: From Failure to Success

Diana Allam 1, 2 Hervé Grall 1, 2 Jean-Claude Royer 1, 2
2 ASCOLA - Aspect and composition languages
LINA - Laboratoire d'Informatique de Nantes Atlantique, Département informatique - EMN, Inria Rennes – Bretagne Atlantique
Abstract : Nowadays, services are more and more implemented by using object-oriented frameworks. In this context, two properties could be particularly required in the specification of these frameworks: (i) a loose coupling between the service layer and the object layer, allowing evolution of the service layer with a minimal impact on the object layer, (ii) an interoperability induced by the substitution principle associated to subtyping in the object layer, allowing to freely convert a value of a subtype into a supertype. However, experimenting with the popular CXF framework, we observed some undesirable coupling and interoperability issues, due to the failure of the substitution principle. Therefore we propose a new specification of the data binding used to translate data between the object and service layers. We show that if the CXF framework followed the specification, then the substitution principle would be recovered, with all its advantages.
Document type :
Conference papers
Complete list of metadatas

https://hal.inria.fr/hal-00908552
Contributor : Diana Allam <>
Submitted on : Sunday, November 24, 2013 - 10:11:04 PM
Last modification on : Tuesday, August 13, 2019 - 7:36:02 AM

Identifiers

  • HAL Id : hal-00908552, version 1

Citation

Diana Allam, Hervé Grall, Jean-Claude Royer. The Substitution Principle in an Object-Oriented Framework for Web Services: From Failure to Success. The 15th International Conference on Information Integration and Web-based Applications & Services (iiWAS2013), Gabriele Kotsis, Dec 2013, Vienna, Austria. ⟨hal-00908552⟩

Share

Metrics

Record views

270