Chapter 4. Accessing Databases with JDBC

Accessing Databases with JDBC

Most web applications use a database. Database accessing and programming therefore play a significant role in web development. In this chapter, you examine how data can be stored, retrieved, and manipulated. In Java, the technology that enables database access and manipulation is called Java Database Connectivity (JDBC).

JDBC has two parts: the JDBC Core Application Programming Interface (API) and the JDBC Optional Package API. The JDBC Core API is the main part of JDBC and when people talk about JDBC, they often are referring to this part.

The JDBC Core API is part of the Java 2, Standard Edition (J2SE) and ...

Get Java for the Web with Servlets, JSP, and EJB: A Developer’s Guide to J2EE Solutions 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.