Abstract
Software models at different levels of abstraction and from different perspectives contribute to the creation of compilable code in the implementation phase of the SDLC. Traditionally, the development of the code is a human-intensive act and prone to misinterpretation and defects. The defect elimination process is again an arduous time-consuming task with increased time-to-deliver and cost. Hence, a novel approach is proposed to generate the code with the activity diagram and sequence diagram as the focus. The activity diagram and sequence diagrams and are defined as part of the UML definition to define the object flow of the system and interaction between the objects, respectively. An XMI schema is a text representation of any software model that is exported from a modeling tool. The modeling tool BoUML exports the required schema from the given input models such as sequence diagrams and activity diagrams. The proposed JC_Gen extracts artifacts from the XMI schema of these two models to generate the code automatically. The focus is mainly on class definition, member declaration, methods’ definition, and function call in generated code.