Appendix B. Introduction to the Portlet API

To help you understand the foundation undergirding Liferay’s platform and get started writing portlets according to the Java Portlet Standard, this appendix takes a closer look at the Portlet API. Because many reading this book may have never worked with portlets before, I want to make sure that I at least give you a quick and dirty introduction to the portlet specification to show how it differs from the servlet specification. Of course, this discussion didn’t fit well into the book, so it’s here. For a more in-depth view of the Portlet API, see Portlets in Action by Ashish Sarin (Manning, 2011).

B.1. Portlets as fragments of a web page

Portlets are web applications that run in a portion of a web ...

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