To visualize a group of classes in a Eclipse like class diagram can be useful in terms of understanding the overall business logic.
This project was inspired by the eclipse plugin called ObjectAid, that is not being maintained anymore.
Sample video:
This is a multi-module application that processes Java source code to render it as a class diagram.
The 3 modules to achieve the purpose of this project are:
- objectmorph-logic
- objectmorph-renderer
- objectmorph-app
This modules takes advantage of JavaParser frameworks that retrieves Java class elements and allows a seamless manipulation.
This module is built upon J2HTML, PlainDraggable, and LeaderLine frameworks, with an orchestration of the aforementionned module, with the aim to construct HTML pages based on Java source code elements.
This module allows the consumption of objectmorph-renderer module through REST endpoints.
Through Github Actions, there is a RELEASE workflow which is triggered manually. It creates a tag, and prepares the POM files to the next SNAPSHOT version.
The tag creation triggers another workflow whose duty is to create and publish, in Docker hub, a new Docker image with the latest tag and version number tag.
Render.com allows to deploy Spring Boot applications available as Docker images as Web Service.
objectmorph-app is deployed under Render, and is accessible with the following url:
https://objectmorph-app.onrender.com/
This project offers an easy way to deploy Spring Boot enabled application so that submitting Java source code files can be done easily through all kinds of interfaces.
Eventually, the returned HTML code can be viewed in a browser and displays the source code as a class diagram.