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.
- 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 ScholarDigital Library
- 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 ScholarCross Ref
- 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 ScholarCross Ref
- J. Conallen, "Modeling Web application architectures with {UML}," Commun. {ACM}, vol. 42, no. 10, pp. 63--70, 1999 Google ScholarDigital Library
- M. Petre, "UML in Practice," in Proceedings of the 2013 International Conference on Software Engineering, 2013, pp. 722--731. Google ScholarDigital Library
- 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 ScholarDigital Library
- 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 ScholarCross Ref
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- S. Schreier, "Modeling RESTful Applications," in Proceedings of the Second International Workshop on RESTful Design, 2011, pp. 15--21 Google ScholarDigital Library
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- 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 Scholar
- 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 ScholarDigital Library
- 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 Scholar
- R. T. Fielding and R. N. Taylor, "Architectural Styles and the Design of Network-Based Software Architectures," University of California, Irvine, 2000. Google ScholarDigital Library
- 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 Scholar
- S. Tilkov, M. Eigenbrodt, S. Schreier, and O. Wolf, REST und HTTP: Entwicklung und Integration nach dem Architekturstil des Web. Heidelberg: dpunkt, 2015.Google Scholar
- M. Masse, REST API Design Rulebook. Sebastopol: O'Reilly Media, 2011.Google Scholar
- H. Zhao and P. Doshi, "Towards Automated RESTful Web Service Composition," in 2009 IEEE International Conference on Web Services, 2009, pp. 189--196. Google ScholarDigital Library
- 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 Scholar
- 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 ScholarCross Ref
Index Terms
- Towards text-based domain-specific modeling language for representational state transfer compliant services
Recommendations
Declaratively defining domain-specific language debuggers
GCPE '11Tool support is vital to the effectiveness of domain-specific languages. With language workbenches, domain-specific languages and their tool support can be generated from a combined, high-level specification. This paper shows how such a specification ...
Declaratively defining domain-specific language debuggers
GPCE '11: Proceedings of the 10th ACM international conference on Generative programming and component engineeringTool support is vital to the effectiveness of domain-specific languages. With language workbenches, domain-specific languages and their tool support can be generated from a combined, high-level specification. This paper shows how such a specification ...
Bootstrapping domain-specific meta-languages in language workbenches
GPCE 2016: Proceedings of the 2016 ACM SIGPLAN International Conference on Generative Programming: Concepts and ExperiencesIt is common practice to bootstrap compilers of programming languages. By using the compiled language to implement the compiler, compiler developers can code in their own high-level language and gain a large-scale test case. In this paper, we ...
Comments