O'Reilly logo

J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software by Art Taylor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The javax.sql Package

The javax.sql package was originally introduced as part of the JDBC 2.0 Standard Extensions, an optional package that was not part of the JDBC core package. In JDBC 3.0, it is considered part of the core JDBC API, though drivers are not required to support all of the features to be compliant. The java.sql package includes the methods listed in Table 5-3.

The javax.sql package does not replace the JDBC API but instead supplements the API. For the javax.sql package to be used, an existing JDBC implementation must be in place.

The DataSource Class

The DataSource class, the implementation of javax.sql.DataSource, provides an abstraction for a connection to a database. The DataSource encapsulates the details of the database connection, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required