I have two java programs. The first is authorized by the seller and creates a product in the store. The second is authorized by the buyer and buys it.
He is interested in how correctly in the first program to write / rewrite a parameter in the config.properties order to read it in the second.
I can only write the config with my hands and read parameters from it, or create a dynamic one, but it lives while the program is running, and I need to read the parameter when executing another program.
Please do not suggest me to change the architecture of the application.