O'Reilly logo

Liferay Portal Systems Development by Jonas X. Yuan

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. Generic MVC Portlets

We discussed the Service-Builder and the development environment in the previous chapter. It is time to develop JSR-286 portlets for the intranet or Internet website, or WAP site. First of all, let's have a closer look at generic portlets with the Model-View-Controller (MVC) architecture. The Model represents the business or database code, the View represents the page design code, and the Controller represents the navigational code. Normally, JSP files are used to build the view for portlets.

This chapter first introduces how to develop a portlet project with the default templates, focusing on the view part and the portlet structure. It then addresses how to construct basic MVC portlets by viewing the title and adding ...

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