Answer the question
In order to leave comments, you need to log in
How to store java application config file?
How to make it possible to write the address of the database in the config file and the application accessed it?
That is, if I change this line in the config, then the connection would change without recompiling the jar.
Answer the question
In order to leave comments, you need to log in
Depends on what kind of application you have. For the simplest cases, there are properties . For enterprise-applications in one form or another, there is a context.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question