Dear Ranchers,
I'm using
Java Swing and Oracle Database at present for doing a project. But in each and every java file i want to add database connection parameters.
Is that possible to use a particular file to store the username and password and also the DbConnection details so that i can include that file in all the pages.
If my client asks for another database, so that i don't want to change the code in whole pages, else change the particular file
My Question is
If I put username and password in a particular file..
How can i include that file in each java file where i call the database connection.
Please help me ranchers..
Thanks in advance
regards
Aravind Prasad