This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Thanks for that, but I was meaning more in the case of unattended operation - a server daemon for example. If there isn't a person around to put in a password, what's the best way of storing that password so that I can get to it and use it to connect to my database?