Chapter 16. Getting Started with Databases

Welcome to Day 16! Today, you'll see one of the most important topics in JSP programming—working with databases. It's common for JSP pages to interact with databases on the server, and you'll see how that works today and tomorrow. This is one of the most rewarding—but also most complex—areas of JSP programming. Here are the topics you'll see today:

  • Understanding databases

  • Understanding Java database connectivity (JDBC)

  • Taking a look at basic SQL

  • Connecting to a database

  • Extracting data from a database

  • Understanding record sets

Today's work will start with an overview of the whole idea of databases, introducing them and how to access them using Java, and tomorrow will be a code-intensive day showing you how to ...

Get Sams Teach Yourself JavaServer Pages™ in 21 Days 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.