Chapter 7Database Access

In the previous chapters we’ve primarily focused on handling the interaction between the client and the server and only skimmed over the topic of persisting our data. In this chapter, we’ll cover how to work with relational databases using the clojure.java.jdbc library. We’ll then discuss how to write a simple application to generate a PDF report from database records that will teach you about serving binary content in your web application.

Get Web Development with Clojure, 2nd Edition 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.