Connecting to the Relational Database

Modern relational databases are complex applications that support access by multiple users. These users are considered connections by the database application. When an application connects to a relational database, it must create some internal representation to manage the database connection. This is usually referred to as a connection handle or just a connection for short.

Once the connection is established, the application must be able to use the connection by moving data back and forth across the connection, executing transactions and performing other relevant operations. This requires what is known as a database driver.

JDBC is not specific to any one database vendor, instead it is vendor-neutral. This ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.