Chapter 8. JDBC and databases

Overview

This chapter presents an overview of the JDBC specification, particularly as it applies to EJB development. Readers who are already familiar with JDBC in other environments will find its use within EJBs similar to their previous experience; however, there are some small technical differences that have profound practical consequences, as we shall see. We will discuss how the container provides DataSource objects that allow clients to open and close database connections, and how the database connections are, in fact, container-supplied proxies for real connections. This will lead to a discussion of connection management and connection pooling, and how to author EJBs to take advantage of these facilities. ...

Get Applied Enterprise JavaBeans™ Technology 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.