Develop the portlet class files.
A portlet must implement the javax.portlet.Portlet interface. This interface defines the basic behavior that the portlet container expects from a portlet.
Create the portlet specific XML fragments and package it into a WAR file.
Deploy the Portlet web application.
Create and view the Portlets.