aspose file tools
The moose likes JDBC and the fly likes Using JDBC on local m/c to query local db Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Using JDBC on local m/c to query local db" Watch "Using JDBC on local m/c to query local db" New topic
Author

Using JDBC on local m/c to query local db

John Micawary
Greenhorn

Joined: Aug 19, 2002
Posts: 2
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
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
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


Dave
John Micawary
Greenhorn

Joined: Aug 19, 2002
Posts: 2
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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Using JDBC on local m/c to query local db
 
Similar Threads
Cancel database query....
Next / Previous in XSLT
Delay in JDBC ResultSet
Attaching Pictures
Is Oracle Client required?????