Tutorial 6 introduces the Portlet interface. This section covers:
Let's get started. From the JPortal distribution root directory, type:
maven -Dtutorial=6 jetspeed:deploy
Recommend bringing up these files in your editor:
since we will reference them in tutorial 6.
Portlets generate content fragments (from the getContent() method) that are aggregated together in a portal page as shown below. Jetspeed takes the content generated by each portlet, and includes it in a portlet window. The location on the page for the portlet window is controlled by the administrator or user when customizing a portlet page. The Portlet interface is the contract between the portlet developer and Jetspeed defining how a portlet behaves and interacts with the Jetspeed environment.