Properties between two applications
Posted on 2004-03-29
I will be dividing my application into two domains. The first is the core.jar that will have some core classes. It will have its own properties file from which it will read the properties for various actions.
Now my second jar, applications.jar will be built upon core.jar. I will use only the jar of the core.
I want to modify the properties which get set in the core.jar file. How should i go about doing it.
One way is i can have a properties file outside my core.jar in a fixed path which the core.jar reads to set the propertoes. But this gives a very tight coupling between the jar and the loation of the file.
Is there any other way to go about doing it ?? I hope that i have made myself clear.