O'Reilly logo

Stripes by Example by Brent Watson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Brent Watson 2015
Brent WatsonStripes by Example10.1007/978-1-4842-0980-6_7

7. Working with Data

Brent Watson 
(1)
316 Marine Ave, Brooklyn, USA
 
 
Brent Watson
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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required