These two packages compose the Java Database Connectivity (JDBC) API, which allows accessing and processing data stored in a data source, typically a relational database. The package javax.sql complements the java.sql package by providing support for:
- DataSource interface as an alternative to the DriverManager
- Connection pooling and statement pooling
- Distributed transactions
- Rowsets
We will talk more about using these packages and see code examples in Chapter 16, Database Programming.