Appendix B. Setting up the Application Database – Apache Derby

To set up some kind of database running on your development environment, we use Apache Derby database. Apache Derby is a light weight in memory database, which is easy to setup and takes less resources, and is also perfect for testing out new concepts and trying out things that we are doing right now.

To download Apache Derby, hit over the Apache Derby website at http://db.apache.org/derby/derby_downloads.html, and download the latest release. Once the downloaded ZIP file is extracted, we will have some important folder named bin and lib folder as shown:

Setting up the Application Database – Apache Derby

The lib folder contains the jar ...

Get Spring: Developing Java Applications for the Enterprise 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.