OUK
Welcome to the Java Ranch, we hope you�ll enjoy visiting as a regular however,
your name is not in keeping with our
naming policy here at the ranch. Please
change your display name to an appropriate name as shown in the policy.
Thanks again and we hope to see you around the ranch!!
For your question: Yes, you can certainly query a local database in a java application. the only pre-requisite is that there be a driver available for the database you're going to be using.
What database do you plan on using?
Check this out for a
good tutorial