Topics in This Chapter
A Simple Database
How JSTL Locates Data Sources
Creating Data Sources
Querying a Database
Updating a Database
Executing Database Transactions
Implementing Database Custom Actions
The vast majority of commercial websites are driven by relational databases. Because databases are so pervasive on the Web, JSTL provides a set of actions for database connectivity and access. The central theme of this chapter is how you can make the most of those actions.
First however, a cautionary note. Most often, it's desirable to separate presentation logic from business logic; for example, many Web applications are implemented with the Model-View-Controller (MVC) architecture, where business components manipulate ...