update 2023-02-01 the microprofile specification might be what i want.
Unlike spring-boot, JakartaEE applications usually organizes application code apart from server code.
Java web projects used to be packaged into war or ear files and the server was managed separately.
I am trying to find a project layout for JakartaEE projects that comply with separation but behaves more like a springboot app and, in order to get it, i am exploring the embedded app servers approach.
So far, i am thinking on a multiproject layout, one with regular JEE style structure and another with an embedded app server consuming the first one. Gradle and maven both supports it:
For the embedded app server i found these samples so far:
A good article on this topic follows:
For the project layout i don't have much ideas yet, i am only sure about the separation of the two modules. A few questions so far:
Any comment on this topic is welcome on this thread.