Introduction

As we mentioned in the introduction, J2EE provides a number of different APIs that can be used across multiple operational tiers. To provide a consistent and clear coverage of these APIs, we will start at the integration tier (which accesses data from the resource tier) and discuss the APIs that apply to that tier. This means that the JDBC API or package will be where we start our discussion. That will be the focus of the first few chapters of this section of the book.

To write a database application, certain events need to take place: You must load a database driver, you must create a connection to the database, you must execute a query, and if the query has results, you must receive the results and process them. It is precisely ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.