JDBC Primer

If you’re not using an ORM framework to do BMP, then you must understand at least the basics of JDBC to implement your entity beans. Of course, you ought to understand JDBC even if you’re not interfacing with it directly. No matter which BMP approach you take, it’s always JDBC that allows the required database access to take place in the end.

This section describes the fundamental interfaces and a key exception that you need to understand to follow the explanation of BMP given in this chapter. These interfaces and classes are all defined in the java.sql package. If you’ve worked with JDBC before, this will simply be a refresher because EJB doesn’t place any new requirements on JDBC. If you’re new to JDBC but you’ve worked with relational ...

Get Special Edition Using Enterprise JavaBeans™ 2.0 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.