JDBC is used substantially in the WebAuction application. However, it is not used explicitly during development. Instead, as in the context of a real application, the JDBC access is encapsulated in an EJB. The WebAuction application uses Container Managed Persistence (CMP), which automatically generates JDBC code to map the relational data in the database to an object form.
There is one instance in which explicit JDBC is used in the WebAuction application. It is necessary to use the database to keep a sequence for the WebAuction application to generate new ID numbers for auction items. An EJB is used to encapsulate this SQL.