These two packages compose a Java Database Connectivity (JDBC) API that allows accessing and processing data stored in a data source, typically a relational database. The javax.sql package complements the java.sql package by providing support for the following:
- DataSource interface as an alternative to the DriverManager class
- Connections and statements pooling
- Distributed transactions
- Rowsets
We will talk about these packages and see code examples in Chapter 10, Manage Data in a Database.