permaculture playing cards
The moose likes JDBC and Relational Databases and the fly likes JDBC and RMI? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC and RMI?" Watch "JDBC and RMI?" New topic


Nelson Nadal
Ranch Hand

Joined: Jun 06, 2002
Posts: 170
In java stand alone application, a database needs ODBC name before it can access the database.

I know that if I have client software(i.e. Oracle Client) I can access database from Oracle db server. I just need to make ODBC again.

How about if there is client java application that needs to access database from another pc? I mean if I dont have that client (i.e. Oracle client), do I need the RMI technology? Thanks
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
No mate it is not always ODBC. We have vendor specific JDBC drivers as well, and it is better to use those instead. You talked about oracle specifically thats why i am telling you the two drivers of oracle, that i know.,
OCI driver

We can use either, whether our database is on same machine or on some other machine. We use OCI driver usually when using TNS names of ORACLE. I would like to give some parameters that are used while connecting DB.

RMI is something not meant for this.

[ November 25, 2004: Message edited by: Adeel Ansari ]
I agree. Here's the link:
subject: JDBC and RMI?
It's not a secret anymore!