Skip to main content

Viatra 3: A Reactive Model Transformation Platform

  • Conference paper
  • First Online:
Theory and Practice of Model Transformations (ICMT 2015)

Abstract

Model-driven tools frequently rely on advanced technologies to support model queries, view maintenance, design rule validation, model transformations or design space exploration. Some of these features are initiated explicitly by domain engineers (batch execution) while others are executed automatically when certain trigger events are detected (live execution). Unfortunately, their integration into a complex industrial modeling environment is difficult due to hidden interference and unspecified interaction between different features. In this paper, we present a reactive, event-driven model transformation platform over EMF models, which captures tool features as model queries and transformations, and provides a systematic, well-founded integration between a variety of such tool features. Viatra 3 offers a family of internal DSLs (i.e. dedicated libraries) to specify advanced tool features built on top of existing languages like EMF-IncQuery and Xtend. Its main innovation is a source incremental execution scheme built on the reactive programming paradigm ssupported by an event-driven virtual machine.

This work was partially supported by the MONDO (EU ICT-611125) project.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    The complete source code, documentation and performance evaluation results are available from https://github.com/IncQueryLabs/incquery-examples-cps.

  2. 2.

    http://wiki.eclipse.org/EMFIncQuery/DeveloperDocumentation/EventDrivenVM contains the complete technical documentation.

  3. 3.

    https://github.com/IncQueryLabs/incquery-examples-cps/wiki/Alternative-transformation-methods#Batch.

References

  1. Ujhelyi, Z., Bergmann, G., Hegedüs, Á., Horváth, Á., Izsó, B., Ráth, I., Szatmári, Z., Varró, D.: EMF-IncQuery: an integrated development environment for live model queries. Sci. Comput. Program. 98, 80–99 (2015)

    Article  Google Scholar 

  2. Willink, E.D.: An extensible OCL virtual machine and code generator. In: Proceedings of the 12th Workshop on OCL and Textual Modelling, pp. 13–18. ACM (2012)

    Google Scholar 

  3. Giese, H., Wagner, R.: From model transformation to incremental bidirectional model synchronization. Softw. Syst. Model. (SoSyM) 8(1), 21–43 (2009)

    Article  Google Scholar 

  4. Abdeen, H., Varró, D., Sahraoui, H., Nagy, A.S., Hegedüs, Á., Horváth, Á., Debreceni, C.: Multi-objective optimization in rule-based design space exploration. In: 29th IEEE/ACM International Conference on Automated Software Engineering (ASE 2014), pp. 289–300. IEEE, Vasteras, Sweden (2014)

    Google Scholar 

  5. The Eclipse Project: Eclipse Modeling Framework. Accessed: (2007)

    Google Scholar 

  6. Bainomugisha, E., Carreton, A.L., Cutsem, T.V., Mostinckx, S., Meuter, W.D.: A survey on reactive programming. ACM Comput. Surv. 45(4), 52:1–52:34 (2012)

    MATH  Google Scholar 

  7. Bergmann, G., Ráth, I., Varró, G., Varró, D.: Change-driven model transformations. Software and Systems Modeling 11, 431–461 (2012)

    Article  Google Scholar 

  8. Dávid, I., Ráth, I., Varró, D.: Streaming model transformations by complex event processing. In: Dingel, J., Schulte, W., Ramos, I., Abrahão, S., Insfran, E. (eds.) MODELS 2014. LNCS, vol. 8767, pp. 68–83. Springer, Heidelberg (2014)

    Google Scholar 

  9. Tisi, M., Martίnez, S., Jouault, F., Cabot, J.: Lazy Execution of Model-to-Model Transformations. In: Whittle, J., Clark, T., Kühne, T. (eds.) MODELS 2011. LNCS, vol. 6981, pp. 32–46. Springer, Heidelberg (2011)

    Chapter  Google Scholar 

  10. Jouault, F., Tisi, M.: Towards incremental execution of ATL transformations. In: Tratt, L., Gogolla, M. (eds.) ICMT 2010. LNCS, vol. 6142, pp. 123–137. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  11. Wagelaar, D., Tisi, M., Cabot, J., Jouault, F.: Towards a general composition semantics for rule-based model transformation. In: Whittle, J., Clark, T., Kühne, T. (eds.) MODELS 2011. LNCS, vol. 6981, pp. 623–637. Springer, Heidelberg (2011)

    Chapter  Google Scholar 

  12. Syriani, E., Vangheluwe, H., LaShomb, B.: T-core: a framework for custom-built model transformation engines. Softw. Syst. Model. 1–29 (2013)

    Google Scholar 

  13. Yie, A., Casallas, R., Deridder, D., Wagelaar, D.: Realizing model transformation chain interoperability. Softw. Syst. Model. 11(1), 55–75 (2012)

    Article  MATH  Google Scholar 

  14. Bergmann, G., Horváth, D., Horváth, A.: Applying incremental graph transformation to existing models in relational databases. In: Ehrig, H., Engels, G., Kreowski, H.-J., Rozenberg, G. (eds.) ICGT 2012. LNCS, vol. 7562, pp. 371–385. Springer, Heidelberg (2012)

    Chapter  Google Scholar 

  15. van Pinxten, J., Basten, T.: Motrusca: interactive model transformation use case repository. In: 7th York Doctor Symposium on Computer Science & Electronics, vol. 57 (2014)

    Google Scholar 

Download references

Acknowledgements

The authors wish to thank all the contributors of the Viatra 3 and EMF-IncQuery projects, in particular Tamás Szabó.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to István Dávid .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Bergmann, G. et al. (2015). Viatra 3: A Reactive Model Transformation Platform. In: Kolovos, D., Wimmer, M. (eds) Theory and Practice of Model Transformations. ICMT 2015. Lecture Notes in Computer Science(), vol 9152. Springer, Cham. https://doi.org/10.1007/978-3-319-21155-8_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-21155-8_8

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-21154-1

  • Online ISBN: 978-3-319-21155-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics