Programming in HATS Portlets

This chapter assumes that you are familiar with developing portlets for WebSphere® Portal. The HATS User's and Administrator's Guide explains how to create HATS portlets and how to convert HATS Web projects into portlet projects. You must have WebSphere Portal Toolkit installed on your HATS machine. With Portal tools, you can create, manage, deploy, and run portlets in a Rational® SDP environment. WebSphere Portal Toolkit is installed with Rational SDP. When installing Rational SDP, select the Portlet and Portal development tools check box.

You can develop HATS portlets that comply with the standard Java™ Portlet Specification API (JSR 168 or JSR 286), hereafter referred to as the standard portlet API. HATS portlets that comply with the standard portlet API (JSR 168 or JSR 286) are referred to as standard portlets. Where a distinction is required, JSR 168 or JSR 286 is noted.

Portlets can be targeted for WebSphere Portal v7.0 or WebSphere Portal v8.0.

The Portal API documentation (Javadoc) is installed with the toolkit and contains information that is useful in performing the tasks that are described in this chapter. You can use the Portal API in business logic or JSPs. A detailed example of using HATS business logic with the Portal API, titled Portlet messaging with IBM® Rational Host Access Transformation Services (HATS), can be found on the HATS Knowledge Center.