skip to main content
10.1145/3427423.3427454acmotherconferencesArticle/Chapter ViewAbstractPublication PagessietConference Proceedingsconference-collections
research-article

Towards text-based domain-specific modeling language for representational state transfer compliant services

Published:28 December 2020Publication History

ABSTRACT

This paper discusses the development of text-based domain-specific modeling language. The covered domain is representational state transfer (REST) architectural style. With domain-specific modeling language, we can develop software in a higher level of abstraction than general-purpose programming language. Domain analysis is performed to classify different kinds of resources into several resource types, namely resource, individual resource, projection resource, container resource, list resource, collection resource, transitional resource, and subresource. The design of modeling language is represented in metamodel and the implementation of modeling language is represented in EBNF-like grammar using Xtext domain-specific language (DSL) framework. In conclusion, we have successfully developed a domain-specific modeling language and its validators. The problem faced lies in the code generator in the behavioral modeling aspect, especially the business logic. It is very difficult to generalize the various business logic at a high level of abstraction. So that in the future, the modeling language needs to be limited to a narrower domain so that it can be fully executable.

References

  1. R. T. Fielding and R. N. Taylor, "Principled Design of the Modern Web Architecture," ACM Trans. Internet Technol., vol. 2, no. 2, pp. 115--150, 2002 Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. F. Halili and E. Ramadani, "Web Services: A Comparison of Soap and Rest Services," Mod. Appl. Sci., vol. 12, no. 3, p. 175, 2018 Google ScholarGoogle ScholarCross RefCross Ref
  3. J. Tihomirovs and J. Grabis, "Comparison of SOAP and REST Based Web Services Using Software Evaluation Metrics," Inf. Technol. Manag. Sci., vol. 19, no. 1, pp. 92--97, 2017 Google ScholarGoogle ScholarCross RefCross Ref
  4. J. Conallen, "Modeling Web application architectures with {UML}," Commun. {ACM}, vol. 42, no. 10, pp. 63--70, 1999 Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. M. Petre, "UML in Practice," in Proceedings of the 2013 International Conference on Software Engineering, 2013, pp. 722--731. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. S. Ceri, P. Fraternali, and A. Bongio, "Web Modeling Language ({WebML}): a modeling language for designing Web sites," Comput. Networks, vol. 33, no. 1--6, pp. 137--157, 2000 Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. G. Kramler, E. Kapsammer, W. Retschitzegger, and G. Kappel, "Towards Using UML 2 for Modelling Web Service Collaboration Protocols," in Interoperability of Enterprise Software and Applications, 2006, pp. 227--238.Google ScholarGoogle ScholarCross RefCross Ref
  8. M. E. Cambronero, G. Diaz, J. J. Pardo, and V. Valero, "Using UML Diagrams to Model Real-Time Web Services," in Second International Conference on Internet and Web Applications and Services (ICIW'07), 2007, p. 24 Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. M. Glinz, S. Berner, S. Joos, J. Ryser, N. Schett, and Y. Xia, "The {ADORA} Approach to Object-Oriented Modeling of Software," in Notes on Numerical Fluid Mechanics and Multidisciplinary Design, Springer International Publishing, 2001, pp. 76--92. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. S. Schreier, "Modeling RESTful Applications," in Proceedings of the Second International Workshop on RESTful Design, 2011, pp. 15--21 Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. F. Haupt, F. Leymann, and C. Pautasso, "A Conversation Based Approach for Modeling {REST} {APIs}," in 2015 12th Working {IEEE}/{IFIP} Conference on Software Architecture, 2015 Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. A. Ivanchikj, C. Pautasso, and S. Schreier, "Visual modeling of {RESTful} conversations with {RESTalk}," Softw. Syst. Model., vol. 17, no. 3, pp. 1031--1051, 2016 Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. A. Ivanchikj and C. Pautasso, "Modeling Microservice Conversations with RESTalk," in Microservices: Science and Engineering, A. Bucchiarone, N. Dragoni, S. Dustdar, P. Lago, M. Mazzara, V. Rivera, and A. Sadovykh, Eds. Cham: Springer International Publishing, 2020, pp. 129--146.Google ScholarGoogle Scholar
  14. F. Pérez Andrés, J. de Lara, and E. Guerra, "Domain Specific Languages with Graphical and Textual Views," in Applications of Graph Transformations with Industrial Relevance, 2008, pp. 82--97. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. H. Grönninger, H. Krahn, B. Rumpe, M. Schindler, and S. Völkel, "Textbased Modeling," in 4th International Workshop on Software Language Engineering, 2007.Google ScholarGoogle Scholar
  16. R. T. Fielding and R. N. Taylor, "Architectural Styles and the Design of Network-Based Software Architectures," University of California, Irvine, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. P. Selonen, "From Requirements to a RESTful Web Service: Engineering Content Oriented Web Services with REST," in REST: From Research to Practice, E. Wilde and C. Pautasso, Eds. New York, NY: Springer New York, 2011, pp. 259--278.Google ScholarGoogle Scholar
  18. S. Tilkov, M. Eigenbrodt, S. Schreier, and O. Wolf, REST und HTTP: Entwicklung und Integration nach dem Architekturstil des Web. Heidelberg: dpunkt, 2015.Google ScholarGoogle Scholar
  19. M. Masse, REST API Design Rulebook. Sebastopol: O'Reilly Media, 2011.Google ScholarGoogle Scholar
  20. H. Zhao and P. Doshi, "Towards Automated RESTful Web Service Composition," in 2009 IEEE International Conference on Web Services, 2009, pp. 189--196. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. F. Valverde and O. Pastor, "Dealing with REST services in model-driven web engineering methods," V Jornadas Cient{\'\i}fico-Técnicas en Serv. Web y SOA, JSWEB, pp. 243--250, 2009.Google ScholarGoogle Scholar
  22. F. Rademacher, M. Peters, and S. Sachweh, "Design of a Domain-Specific Language Based on a Technology-Independent Web Service Framework," in Software Architecture, 2015, pp. 357--371.Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. Towards text-based domain-specific modeling language for representational state transfer compliant services

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Other conferences
      SIET '20: Proceedings of the 5th International Conference on Sustainable Information Engineering and Technology
      November 2020
      277 pages
      ISBN:9781450376051
      DOI:10.1145/3427423

      Copyright © 2020 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 28 December 2020

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Acceptance Rates

      SIET '20 Paper Acceptance Rate45of57submissions,79%Overall Acceptance Rate45of57submissions,79%
    • Article Metrics

      • Downloads (Last 12 months)8
      • Downloads (Last 6 weeks)1

      Other Metrics

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader