Automated Bytecode Generation from UML Models
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing methods for generating bytecode from software design models require manual programming and lack automation, leading to inconsistencies and the need for manual verification, which can introduce errors and increase development time.
Innovation Solution
A method that automatically generates executable bytecode from autobytecode models created from Unified Modeling Language (UML) class and activity diagrams, using a system with a UML tool, JVM, and a syntax verifier to identify execution sequences and generate bytecode without human intervention, ensuring syntactic correctness and consistency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If manual programming is used to generate bytecode from design models, then flexibility and control are improved, but development time and error probability increase
Solution Approach 1:
The patent performs syntax verification on UML diagrams before bytecode generation, and automatically generates executable bytecode from verified design models. This preliminary automated processing eliminates manual programming steps, reducing both development time and errors while maintaining code consistency with the original design intent.
2Productivity
If automated bytecode generation is implemented, then productivity is improved, but complexity of the generation system increases
Solution Approach 1:
The patent introduces an intermediate autobytecode model that serves as a bridge between UML design diagrams and final bytecode. This intermediary representation simplifies the generation process by providing a structured intermediate format that automatically maps to executable bytecode, reducing the apparent system complexity while maintaining high productivity.
3Reliability
If syntax verification is performed on diagram components, then software quality is improved, but processing time increases
Solution Approach 1:
The patent performs syntax verification on UML diagrams as a preliminary step before bytecode generation. By verifying the correctness of diagram components (classes, attributes, methods, relationships) upfront, the system ensures high software quality and prevents errors from propagating to the generated bytecode, making the verification time an investment that pays off in reduced debugging time later.
Data Source
AI summary
Unified Modeling Language is a general purpose modelling language used in the field of software development to easily visualize the systems by specifying the static and dynamic aspects of the system. The conventional way of implementing design models is by writing programs in high level languages like java by a programmer. Our method automatically generates platform independent executable code in the form of bytecode without a programmer and it can be executed on any platform. The design models comprising of class and activity diagrams after parsing and syntax verification are converted to an autobytecode model. The autobytecode model is further processed to determine the execution sequence comprising of loops, sequential and conditional statements. The execution sequence, the actions and attributes associated with the nodes in the execution sequence are analyzed to automatically generate complete bytecode directly from the autobytecode model created from design models.


