Differences Between Client- and Server-Side JDBC Connections

A difference between JDBC on the client and in the database server lies in establishing a connection with the database environment.

You can write JDBC classes so that they can run both at the client and at the server by employing a single conditional statement for constructing the URL. An external connection requires the host name and port number, while the internal connection requires "jdbc:default:connection".