Hello! There is the following task: to create a prototype site with the implementation of modules. For example: 1) a module that displays a simple web page 2) a module that displays images on a web page.
The web page settings are stored in the page table (ID, path, page title, html content), and the imgage table stores links to the pictures and the page on which to display them (ID, ID, pages, URL images).
It is necessary to create such a project so that we put a valid jar file somewhere - and the pages are displayed, removed - are not displayed. I put the image display module - images started to appear on the pages, removed - stopped displaying.
How to implement it?
I can pull data from a database, I can create an MVC project without modules. But with the modules I can not understand.
How to do that right? And how then to launch such a project with the ability to add and remove jar files?