2
I have a product that is distributed in several independent MAVEN WEB projects that access a single MYSQL base. I decided to divide 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 made no sense to deliver everything in a single package.
It turns out that these modules have some common functionalities and I created a library with common classes, so that all projects use this library.
Similarly, 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, facilitating changes at runtime. I thought about putting it in this library, but I would continue with the same problem, because each project has its own JAR of this library, besides, it would be necessary to extract the JAR, change the *.properties and compress it again, which makes the procedure impossible.
There is also the possibility of placing all these keys in a table in the database, since all modules access it.
Is there any more elegant solution to this situation?