Hi I wonder if anyone could advise whether JDBC can be used to allow Java code in a Java application (NOT a Java applet) to query a database on a local machine (i.e. the same machine on which the java code is run). My client wants an application to do some processing (for which I am considering Java as a possible development environment) -- and access a database to do this processing, but without using the internet or a browser. I would be grateful of any recommendations you may have on this topic. Kind regards
Joined: May 10, 2001
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
Joined: Aug 19, 2002
Hi Dave Thanks very much for the quick response and useful link to the short course on JDBC... it's much appreciated. I don't know about a database yet.. I'm exploring some different ideas whilst I firm up the exact needs of my client. Thanks again for your help. Kind regards John