Chapter 3. A data-driven portlet made easy

This chapter covers

  • Designing a portlet for database interaction
  • Liferay’s Service Builder code generator
  • Architecting applications using DAOs and DTOs
  • Defining relationships using Service Builder

For the rest of this book, we’ll use a case study to illustrate the examples. You’ll be building a site for a fictitious company. The example company is a combination of two things I love: fountain pens and technology. Normally, you wouldn’t expect those to go together, but as you’ll see, this may be possible (at least in theory).

If you’re a business entrepreneur who wants to pursue this idea, you have my blessing. Just know that I had the idea first, so I’ll be looking for my cut.

3.1. Introducing ...

Get Liferay in Action: The Official Guide to Liferay Portal Development now with O’Reilly online learning.

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