mardi 14 novembre 2017

java: create runtime a pojo object from a properties file

Within a java project, I would like that my system to create runtime an object (POJO) from a configuration file and then use it in a drools-based system.

If I understand this is the only way to make controls on a data structure that does not have a fixed structure What is the best way to do this? It would be interesting to be able to cache the java class obtained so you do not have to create it all the time but only when the property file changes Can someone help me ? I'm a bit confused Thank you so much





Aucun commentaire:

Enregistrer un commentaire