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
posted 11 years ago
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.
class12.zip, 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.