Chapter 2. The portlet lifecycle

This chapter covers

  • Creating portlet URLs
  • Portlet lifecycle management
  • Portlet content generation using JSPs and servlets
  • Commonly used Portlet API classes and interfaces

In chapter 1 you saw the steps required to develop, build, and deploy a simple Hello World portlet. Understanding the portlet lifecycle is important for effectively using portlets in your portlet applications.

This chapter introduces the portlet lifecycle and some of the core concepts of Java portlet technology. We’ll first look at the requirements for an example User Registration portlet that you’ll develop using the concepts discussed in this chapter. The concept of portlet URLs is at the heart of portlet technology, so before discussing ...

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.