O'Reilly logo

Portlets in Action by Ashish Sarin

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

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