In the Web perspective, select File > New > Portlet. The New Portlet wizard opens.
Select the target portlet project from the Project list
box. Because the portlet is created within the context of a specific
project, any portlet that you create will inherit the API-type and code model
capabilities associated with the project.
Depending on your selection, different available types of portlets
will be listed. Select the portlet type you want to create. Because
the portlet is created within the context of a specific project, any portlet
that you create will be inherit the API-type and code model capabilities associated
with the project by default.
If you want to configure additional options, click Next.
Click Finish to immediately create the portlet.