Известия Иркутского государственного университета: Серия "Математика" (Dec 2022)

Object Models as Microservices: a Query Language

  • D. N. Gavrilin,
  • I.A. Kustova,
  • A.V. Mantsivoda

DOI
https://doi.org/10.26516/1997-7670.2022.42.121
Journal volume & issue
Vol. 42, no. 1
pp. 121 – 137

Abstract

Read online

We are designing an application development technology based on an extended object-oriented approach, in which object models are enriched to the functionality of microservices. This variation is called microservice object-oriented programming. An object model as a microservice is an autonomous information system that behaves as a persistent storage and interacts with other models and external actors through the API. Moreover, understanding object models as microservices provides a fundamentally new low-code technology based on model visualization. This paper presents a query language for object models that works efficiently with persistent models. It is a subset of the Libretto language. The logical semantics of the language is described, as well as the method of compiling it into SQL, based on the use of an intermediate relational language. A SQL query language compiler has been implemented within the Ontobox platform. It shows high efficiency and is now actively used in real-life application development tasks solving.

Keywords