The principal elements of a portlet are:
This section discusses each of these elements, using the Helloworld sample portlet as an example. ATG Portal includes three sample portlets that you can use as a guide for developing your own portlets:
- Helloworld portlet- A bare-bones portlet that displays a text message and a form field that lets you change the text message. 
- Slot portlet – A portlet that displays an ATG slot, which can render variable content based on targeting rules. 
- Userprofiling portlet – A portlet that integrates with ATG’s personalization features, offering profile-based login and logout. 
These portlets can be found in the <ATG9dir>/Portlet directory.

