Setting up MySQL
Before reading and writing data from a relational database, we need a running relational database. We will use MySQL in this chapter because it is freely and widely available and many developers have used it at some point in their career. You can of course use any RDBMS for which a JDBC driver is available, but if you do so, you'll need to modify the aspects of this chapter that require direct interaction with the database server.