CHAPTER 9

image

Adding Persistence to Your Spring Application

In this chapter, you are going to add some persistence to your My Documents application. So far you have been using bean definitions and some hard-coded logic to retrieve information about the documents and types of documents. For testing purposes, hard-coded data is fine, but in a real-world application like the My Documents Spring application, you need some other mechanisms to retrieve all the information because the data can grow and it will be a hard to keep putting the data in like that.

The Spring Framework supports a persistence mechanisms using JDBC (Java Database Connectivity) to ...

Get Introducing Spring Framework: A Primer 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.