What good is data stored in DTOs and output as messages? Not much. This chapter will be an extension of the last chapter, but we will add a database backend to the application.
MySQL was used for the database in this chapter, though any database will work with Stripes. Stripes is a web framework only; it does not span into the database/ORM sector as some other frameworks do. As far as good design goes, it is recommended to have Controller and View code (ActionBeans and JSPs), and Model code that handles storing and retrieving data. As such, database code should ...