GWT: Safe place for properties file with db variables-Collection of common programming errors
I have a file variables.properties in my GWT application inside the war folder. The file contains a jdbc string, username and password, hence I would not like to see it on the client side in any way.
My question: Is variables.properties somehow integrated into client side code at runtime when placed inside the war folder or is it safe to place it there?
If it is not, where should I put it? I read the file with this code:
variables = new Properties();
BufferedInputStream stream = new BufferedInputStream(new FileInputStream("variables.properties"));
variables.load(stream);
stream.close();
Thanks in advance!