DEVFYI - Developer Resource - FYI

Does the database server have to be running Java or have Java support in order for my remote JDBC client app to access the database?

JDBC Interview Questions and Answers


(Continued from previous question...)

Does the database server have to be running Java or have Java support in order for my remote JDBC client app to access the database?

The answer should always be no. The two critical requirements are LAN/internet connectivity and an appropriate JDBC driver. Connectivity is usually via TCP/IP, but other communication protocols are possible. Unspoken, but assumed here is that the DBMS has been started to listen on a communications port. It is the JDBC driver's job to convert the SQL statements and JDBC calls to the DBMS' native protocol. From the server's point of view, it's just another data request coming into the port, the programming language used to send the data is irrelevant at that point.

(Continued on next question...)

Other Interview Questions