You can try Knot.x. This is an open source project that allows you to enter dynamic data into static pages.
The idea is that you store static resources, such as HTML pages (defining the page layout, design, etc.) in one place (repository) and paste them into these dynamic, user data.
AEM can be used to serve static content shared by multiple users, and your JEE application can provide dynamic data if you open the JSON-based API.
It supports Handlebars templates (for AEM visualization if you want to embed data on these pages), but you can also add any template engine that you like.
I am a member of the Knot.x team, and now we are working on knotx.io , where more examples and business documentation will be provided.
At the same time, feel free to browse our Github pages. We look forward to receiving your feedback.
source share