I’m working in a desktop app, and we’re using Eclipse RCP with EclipseLink.
All my database configuration is inside a class, but I’ll need these thing (database URL, password, username) configurable.
Which is the best way to do that?
I’m working in a desktop app, and we’re using Eclipse RCP with EclipseLink. All
Share
Easiest way would be to use some simple property file and java.util.Properties to read it.
You can read the file from classpath, e.g: