Skip to main content

Generation of Java Code from UML Sequence and Class Diagrams

  • Conference paper
  • First Online:
Information Science and Applications (ICISA) 2016

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 376))

  • 4288 Accesses

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.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 259.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 329.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 329.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Pilone, D., Pitman, N.: UML 2.0 in a nutshell. O‘Reilly (2005)

    Google Scholar 

  2. Object Management Group, Unified Modeling LanguageTM (OMG UML), Superstructure Version 2.4.1. OMG, Inc., August 2011

    Google Scholar 

  3. Usman, M., Nadeem, A.: Automatic generation of Java code from UML diagrams using UJECTOR. Int. J. Softw. Eng. Appl. 3(2), 21–38 (2009)

    Article  Google Scholar 

  4. Long, Q., Liu, Z., Li, X., Jifeng, H.: Consistent code generation from UML models. In: Australian Software Engineering Conference (ASWEC 2005), Brisbane (2005)

    Google Scholar 

  5. 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

    Google Scholar 

  6. 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)

    Google Scholar 

  7. Class Diagram. http://bloger-classdiagram.blogspot.com/p/class-diagram.html

  8. UML. http://www.sparxsystems.com/downloads/resources/booklets/uml_dictionary.pdf

  9. Sequence Diagram. http://www.uml-diagrams.org/sequence-diagrams.html

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Preyanoot Kluisritrakul .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics