O'Reilly logo

Liferay in Action: The Official Guide to Liferay Portal Development by Richard Sezov, Jr.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required