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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.