Chapter 4. Portlet 2.0 API—caching, security, and localization

This chapter covers

  • Using expiration- and validation-based content caching
  • Localizing portlet labels and messages
  • Portlet modes and window states
  • Programmatic security
  • Uploading files using portlets
  • Using portlet request and response wrapper objects
  • Using the PortletURLGenerationListener interface
  • Designing portable portlets

In chapter 3, we discussed some of the common Portlet 2.0 API concepts and applied them to the example Book Catalog portlet. But we haven’t yet looked at how portlets can show localized content to users in different locales, cache content for better performance, make use of a custom portlet mode or window state for showing content, upload files, and ...

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.