Open Access Open Access  Restricted Access Subscription or Fee Access

Code Generation Approach for Mobile Application Using Acceleo


(*) Corresponding author


Authors' affiliations


DOI: https://doi.org/10.15866/irecos.v11i2.8480

Abstract


Today, the development of mobile applications becomes more important and increasingly popular in our environment due to the intensive use of applications in mobile devices. The diversity of mobile operating systems (iOS, Android, Windows Phone, etc.) makes software engineers facing a real challenge to develop the same applications for these different platforms. Given this development complexity, we directed our work to platforms using Model Driven Architecture (MDA) approach.  This paper presents a methodology based on the MDA approach to develop mobile applications according to the principal ‘Develop Once, Use Everywhere’. Our approach exploits UML modeling and Acceleo to generate specific code in order to facilitate and accelerate the development of mobile applications. That is why we have developed two meta-models handling UML class diagrams and Android applications, then we have to set up transformation rules. The transformation rules defined in this paper can generate, from the class diagram, a classes Java files containing the necessary code of a mobile application.
Copyright © 2016 Praise Worthy Prize - All rights reserved.

Keywords


Software Engineering; MDA; UML; Acceleo; Code Generation; Mobile Applications Development; Transformation Rules

Full Text:

PDF


References


MDA- The Architecture of Choice for Changing World. http://www.omg.org/mda/.

Meta Object Facility (MOF) 2.0 Query/View/Transformation, V1.1, (2011). http://www.omg.org/spec/QVT/1.1/PDF/

Object Constraint Language (OCL), Version 2.4, (2014). http://www.omg.org/spec/OCL/2.4/PDF

Unified Modeling Language (UML), Version 2.4.1, (2011). http://www.omg.org/spec/UML/2.4.1/
http://dx.doi.org/10.3403/bsisoiec19505

Acceleo, http://www.eclipse.org/acceleo/.

Android Developers. http://developer.android.com/index.html.

A. Sabraoui, M.E. Koutbi and I. Khriss, GUI Code Generation for Android Applications Using a MDA Approach, Mobile Intell. Syst. Team (MIS), Ecole Nat. Super. d'Inf. et d'Anal. Des Syst. (ENSIAS), Rabat, Morocco, IEEE, (2012), November 5-6.

B. Min, M. Ko, Y. Seo, S. Kuk, and H. S. Kim, A UML metamodel for smart device application modeling based on Windows Phone 7 platform , TENCON 2011 - 2011 IEEE Region 10 Conference, (2011) November 21-24, Bali (page. 201-205) .
http://dx.doi.org/10.1109/tencon.2011.6129092

C. Atkinson and T. Kuhne. Model-driven development: a metamodeling foundation. Software, IEEE, 20(5):36 – 41, (2003) september.-october.
http://dx.doi.org/10.1109/ms.2003.1231149

F. A. Kraemer et al., Engineering android applications based on uml activities, Proceedings of the 14th international conference on Model driven engineering languages and systems (MODELS’11), Jon Whittle, Tony Clark, and Thomas Khne (Eds.). Springer-Verlag, Berlin, Heidelberg, (2011), (Page: 183– 197).

J. A. Monte-Mor, E. O. Ferreira, H. F. Campos, A. M. da Cunha, and L. A. V. Dias, Applying MDA Approach to Create Graphical User Interfaces, Eighth International Conference on Information Technology: New Generations, Las Vegas, NV, IEEE, (2011) April 11-13 , Page (766-771).
http://dx.doi.org/10.1109/itng.2011.206

R. Esbai, M. Erramdani, S.Mbarki, I. Arrassen, A. Meziane, M. Moussaoui, Transformation by modeling MOF 2.0 QVT: from UML to MVC2 web model”, INFOCOMP, v. 10, no. 3, p. 01-11, (2011) September.
http://dx.doi.org/10.1109/setit.2012.6481895

M. Lachgar, A. Abdali, Generating Android graphical user interfaces using an MDA approach, Information Science and Technology (CIST), 2014 Third IEEE International Colloquium in , vol., no., pp.80,85, (2014) October 20-22.
http://dx.doi.org/10.1109/cist.2014.7016598

M. Lachgar, A. Abdali, Modeling and Generating the User Interface of Mobile Devices and Web Development with DSL, Journal of Theoretical and Applied Information Technology, 10th February 2015, Vol. 72. No. 1 – (2015).

Parada, G. Abilio, and Lisane B. de Brisolara. A model driven approach for Android applications development. Computing System Engineering (SBESC), 2012 Brazilian Symposium on. IEEE, (2012).‏
http://dx.doi.org/10.1109/sbesc.2012.44

Son, Hyun Seung, Woo Yeol Kim, and Robert Young Chul Kim. MOF based Code Generation Method for Android Platform. International Journal of Software Engineering & Its Applications 7.3 (2013).‏

Yoon, Hyeon-Ju. A study on the performance of Android platform. International Journal on Computer Science and Engineering 4.4 (2012): 532-537.‏

Olivier Le Goaer ,Sacha Waltham, Yet another DSL for cross-platforms mobile development, Proceedings of the First Workshop on the Globalization of Domain Specific Languages, p.28-33, (2013) July 01-01, Montpellier, France.
http://dx.doi.org/10.1145/2489812.2489819

I. Madari, L.Lengyel, and T. Levendovszky, Modeling the User Interface of Mobile evices with DSLs, 8th International Symposium of Hungarian Researchers on Computational Intelligence and Informatics, Budapest, Hungary, (2007) November 15-17, pp. 583-589.

K. Minhyuk, S. Yong-Jin, M. Bup-Ki, K. Seunghak, and K. HyeonSoo, Extending UML Meta-model for Android Application, 2012 IEEE/ACIS 11th International Conference on Computer and Information Science, (2012) May 30 -June 1, Shanghai, China, pp.669-674.
http://dx.doi.org/10.1109/icis.2012.48

R. Mannadiar, and H. Vangheluwe, Modular synthesis of mobile device applications from domain-specific models, Proceedings of the 7th International Workshop on Model-Based Methodologies for Pervasive and Embedded Software, New York, USA, (2010), pp. 21-28.
http://dx.doi.org/10.1145/1865875.1865879

M.: McNeile: The Vision with the Hole? ;Metamaxim, (2003).

S. Link, T. Schuster, P. Hoyer, and S. Abeck, Focusing Graphical User Interfaces in ModelDriven Software Development, First International Conference on Advances in Computer-Human Interaction”, Sainte Luce, (2008) February 10-15, pp. 3-8.
http://dx.doi.org/10.1109/achi.2008.16


Refbacks

  • There are currently no refbacks.



Please send any question about this web site to info@praiseworthyprize.com
Copyright © 2005-2024 Praise Worthy Prize