My goal is to be able to create a modular application where there will be a core (web page) to which will be attached the different modules (module maven war) so that I can access it through this heart. In Java, I followed a tutorial on modularity in Java that allowed me to make a similar app. All I had to do was use a class loader to find the URLs of the JAR files in a folder and add them, then upload them to the project. And so I could determine the number of modules present and display them in a view. In Java EE, since we use Wars archives that could contain pages, servlets, I do not know how to attach them to a web page. My ideal would be to have a core like that of the image where all the applications that can be accessed would be Wars modules developed independently of the core. Can I have pages, courses, or a tutorial where I learn to do something similar? That is to say basically create a web page (the kernel) to which I can attach modules (which are app jEE). Thank you in advance.
Sounds like a fancy version of Tomcat's manager application.
How you can solve this depends on your application container. For Tomcat (but that's not EE), you can check how the manager application works. For JBoss or WildFly, you could use its CLI (https://javavolker.wordpress.com/2014/03/20/list-all-deployed-artifacts-in-wildfly-8/), or perhaps do the same through code, depending on what's available; the CLI is available through a JAR file as well. For other application containers you will have to find out if you can hook into their internals.