UJECTOR: A Tool for Executable Code Generation from UML Models

Automated translation of UML models to executable code is a growing area of interest due to its benefits such as cost reduction and accuracy. However, major challenges in this area include checking consistency of UML models, and ensuring accuracy, maintainability, and efficiency of the generated code. This paper presents a tool called UJECTOR for automatic translation of UML models to executable Java code. The tool uses UML class diagram, sequence diagrams and activity diagrams for automated code generation. The tool generates structural code from the class diagram, and then adds behavioral aspects from sequence and activity diagrams. A case study is used for experimental validation of the code generation tool. The results show that the generated code is consistent with UML models, fully functional, and understandable.