Abstract
There are two approaches of object-oriented model based code generation, namely structural and behavioral. The structural approach generates code from static models, such as class diagrams. In contrast, the target code covering system behaviors could be generated by mapping from the behavior diagrams to object-oriented languages. This paper presents an approach to generating Java code from the UML class and sequence diagrams. XML metadata Interchange (XMI) is used as the intermediate model during the transformation process. Automated generation of object-oriented code from UML diagrams would result in cost reduction, increased efficiency, and accuracy of product.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Pilone, D., Pitman, N.: UML 2.0 in a nutshell. O‘Reilly (2005)
Object Management Group, Unified Modeling LanguageTM (OMG UML), Superstructure Version 2.4.1. OMG, Inc., August 2011
Usman, M., Nadeem, A.: Automatic generation of Java code from UML diagrams using UJECTOR. Int. J. Softw. Eng. Appl. 3(2), 21–38 (2009)
Long, Q., Liu, Z., Li, X., Jifeng, H.: Consistent code generation from UML models. In: Australian Software Engineering Conference (ASWEC 2005), Brisbane (2005)
Vadakkumcheril, T., Mythily, M., Valarmathi, M.L.: A Simple Implementation of UML Sequence Diagram to Java Code Generation through XMI Representation. International Journal of Emerging Technology and Advanced Engineering 3(12), December 2013
Parada, G.A., Siegert, E., Brisolara, L.B.: Generating Java code from UML class and sequence diagrams. In: IEEE Brazilian Symposium on Computing System Engineering, pp. 99–101 (2011)
Class Diagram. http://bloger-classdiagram.blogspot.com/p/class-diagram.html
UML. http://www.sparxsystems.com/downloads/resources/booklets/uml_dictionary.pdf
Sequence Diagram. http://www.uml-diagrams.org/sequence-diagrams.html
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer Science+Business Media Singapore
About this paper
Cite this paper
Kluisritrakul, P., Limpiyakorn, Y. (2016). Generation of Java Code from UML Sequence and Class Diagrams. In: Kim, K., Joukov, N. (eds) Information Science and Applications (ICISA) 2016. Lecture Notes in Electrical Engineering, vol 376. Springer, Singapore. https://doi.org/10.1007/978-981-10-0557-2_106
Download citation
DOI: https://doi.org/10.1007/978-981-10-0557-2_106
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-10-0556-5
Online ISBN: 978-981-10-0557-2
eBook Packages: EngineeringEngineering (R0)