This recipe will guide you through the process of creating a basic portlet that conforms to the Portlet 2.0 Specification. Once created, we will deploy the portlet into GateIn to see the result.
The following are required for this recipe:
To create a simple portlet based on the Portlet 2.0 Specification:
gatein.cookbook, Artifact ID:
chapter6, and Packaging:
pom.xml, add the following dependency:
<dependency> <groupId>javax.portlet</groupId> <artifactId>portlet-api</artifactId> <version>2.0</version> <scope>provided</scope> </dependency> ...