I am working on the Java desktop application using Swing. As the application is data centric, I am using the JDBC for connection with mySql. I would like to store database connection (connectionString), username and password in the seperate file. What will be the best approach for this?
(In .net app.config store these informations)