Chapter 9. Integrating portlets with databases

This chapter covers

  • Using the Spring JDBC module for data access
  • Addressing cross-cutting concerns using aspect-oriented programming (AOP)
  • Spring’s support for transaction management
  • Working with the Hibernate ORM framework

So far in this book, we’ve looked at portlets that store data in memory. In this chapter, we’ll look at how you can create portlets that interact with databases to store and retrieve data. Because there are multiple mechanisms you can use to integrate a portlet with a database, we’ll focus on widely used frameworks for data access: the Spring JDBC module and the Hibernate ORM (object-relational mapping) framework. Haven’t heard of these or not quite sure how to use them? ...

Get Portlets in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.