Chapter 11. Using JDBC and SQL to Query Databases Efficiently
As you already know, relational databases are at the heart of any serious Web application. And, as we saw in Chapter 10, databases are queried via SQL. The question then becomes, how can we use Java to send SQL to the database and then use it again to parse the results (if any) returned?
The answer, of course, is through the Java Database Connectivity (JDBC) API, a key part of any J2EE infrastructure.
Get Building Scalable and High-Performance Java™ Web Applications Using J2EE™ 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.