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 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.