I have a product that is distributed in several independent MAVEN WEB projects that access a single MYSQL database. I decided to split it into several projects so that each module stays on a different server, dividing the load. And also because they are modules with different purposes and it did not make sense to deliver everything in one package.
It happens that these modules have some common features and I've created a library with common classes, so all projects use this library.
In the same way, each module has its own * .properties file. I would like to unify these files into a single * .properties file, so that all modules could access it, making it easy to change at runtime. I thought about putting it in this library, but I would still have the same problem, since each project has its own JAR from that library, in addition, it would be necessary to extract the JAR, change the * .properties, and compress it again, which makes it unfeasible the procedure.
It is also possible to place all these keys in a table in the database, since all modules access it.
Is there a more elegant solution to this situation?