Database Connectivity
- Uses the JDBC API
- The JDBC was developed to become a universal standard on accessing
databases. To reach this goal, a single set of Java objects
was created that could be used to access any database.
- How can this be done?
- JDBC is structured around a set of Java interfaces called
drivers.
- Each database that supports JDBC has its own set of drivers
tailored specifically for itself.
- ADVANTAGE: Programmers do not have to know the specifics of a
database that they are working on to create an application.
- How was this accomplished?
- Simple and common tasks are implemeted in simple
interfaces. Complex and abstract tasks are implemented using
extra interfaces.
- JDBC was built on SQL.
- Used more in association with relational databases than
object-oriented databases.
- Capitalizes on the experience of other database APIs.