For organizing a HATS project to run as a portlet, the structure and content of the project needs to be altered to meet the portlet specification. Since HATS supports the JSR 168 standard, it automates the process of converting a regular HATS project into a portlet. Note that, the WebSphere Portal Toolkit is a prerequisite for this conversion process. There a two ways that a HATS portlet can be created as follows:

  1. You can create a new one using the HATS Create a Project wizard and designating that the project should be created as a portlet.
  2. You can generate one from an existing HATS application. This ensures that the time spent on creating your HATS application will not be wasted when you move it to WebSphere Portal.