Abstract
Nowadays web services gain more and more importance in allowing a standardized access to remote information without being tied to a specific form of presentation. The majority of such data interfaces is either based on the architectural REST style following World Wide Web specifications or the more protocol-oriented SOAP, which allows the definition of XML transfer structures.
In this paper we introduce an extensible framework for the abstraction of technological differences between service technologies like REST and SOAP. It provides the basis for the design of a domain-specific language (DSL), which allows the technology-independent declaration of web services. A code generator derived from the DSL grammar translates the service declarations into corresponding framework elements and creates stub methods for the implementation of the services’ business logic.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Fielding, R.T.: Architectural styles and the design of network-based software architectures. PhD thesis, University of California, Irvine (2000)
Gudgin, M., Hadley, M., Mendelsohn, N., Moreau, J.J., Nielsen, H.F., Karmarkar, A., Lafon, Y.: Soap version 1.2. W3C Recommendation 24 (2003)
Gulden, M., Kugele, S.: A concept for generating simplified restful interfaces. In: Proceedings of the 22nd International Conference on World Wide Web, pp. 1391–1398. ACM (2013)
Crockford, D.: The application/json media type for javascript object notation (json). The Internet Society, Request for Comments 4627 (2006)
Object Management Group: Service oriented architecture modeling language (soaml). OMG Formal Versions Of SoaML (ptc/2009-04-01) (2009)
Pautasso, C., Zimmermann, O., Leymann, F.: Restful web services vs. “big" web services: making the right architectural decision. In: Proceedings of the 17th International Conference on World Wide Web, pp. 805–814. ACM (2008)
Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design patterns: Elements of Reusable Object-Oriented Software, 40th edn. Addison-Wesley, Boston (2012)
Hadley, M., Sandoz, P.: Jax-rs: Java api for restful web services. Java Specification Request 311 (2009)
Kotamraju, J.: The java api for xml-based web services (jax-ws) 2.2. Java Specification Request 224 (2011)
Daigneau, R.: Service Design Patterns: Fundamental Design Solutions for SOAP/WSDL and RESTful Web Services. Addison-Wesley, Boston (2011)
Freed, N., Borenstein, N.: Multipurpose internet mail extensions (mime) part two: Media types. Network Working Group, Request for Comments 2046 (1996)
Gosling, J., Joy, B., Steele, G., Bracha, G.: The Java Language Specification, 2nd edn. Addison-Wesley, Reading (2000)
Kieburtz, R.B., McKinney, L., Bell, J.M., Hook, J., Kotov, A., Lewis, J., Oliva, D.P., Sheard, T., Smith, I., Walton, L.: A software engineering experiment in software component generation. In: Proceedings of the 18th International Conference on Software Engineering, pp. 542–552. ACM (1996)
Nguyen, V.C., Qafmolla, X., Richta, K.: Domain specific language approach on model-driven development of web services. Acta Polytechnica Hungarica 11(8), 121–138 (2014)
Maximilien, E.M., Wilkinson, H., Desai, N., Tai, S.: A domain-specific language for web APIs and services mashups. In: Krämer, B.J., Lin, K.-J., Narasimhan, P. (eds.) ICSOC 2007. LNCS, vol. 4749, pp. 13–26. Springer, Heidelberg (2007)
Peng, Y.Y., Ma, S.P., Lee, J.: Rest2soap: a framework to integrate soap services and restful services. In: IEEE International Conference on Service-Oriented Computing and Applications, pp. 106–109. IEEE (2009)
Upadhyaya, B., Zou, Y., Xiao, H., Ng, J., Lau, A.: Migration of soap-based services to restful services. In: 13th IEEE International Symposium on Web Systems Evolution, pp. 105–114. IEEE (2011)
Shi, X.: Sharing service semantics using soap-based and rest web services. IT Professional 8(2), 18–24 (2006)
Visser, E.: WebDSL: a case study in domain-specific language engineering. In: Lämmel, R., Visser, J., Saraiva, J. (eds.) GTTSE 2007. LNCS, vol. 5235, pp. 291–373. Springer, Heidelberg (2008)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this paper
Cite this paper
Rademacher, F., Peters, M., Sachweh, S. (2015). Design of a Domain-Specific Language Based on a Technology-Independent Web Service Framework. In: Weyns, D., Mirandola, R., Crnkovic, I. (eds) Software Architecture. ECSA 2015. Lecture Notes in Computer Science(), vol 9278. Springer, Cham. https://doi.org/10.1007/978-3-319-23727-5_29
Download citation
DOI: https://doi.org/10.1007/978-3-319-23727-5_29
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-23726-8
Online ISBN: 978-3-319-23727-5
eBook Packages: Computer ScienceComputer Science (R0)