Create portlets and portlet projects

 

+

Search Tips   |   Advanced Search

 

Portlet projects

The main difference between a portlet project and a Web project is that the portlet project has an extra deployment descriptor...

WEB-INF/portlet.xml

Two types of portlet projects.

To create a portlet project, use the New Portlet Project wizard.

To enable Web 2.0 features, click Show advanced settings, this will take you the project facets page. Select the Web 2.0 checkbox to apply the Web 2.0 facets. Web 2.0 enables support for:

A project facet is a specific unit of functionality that you can add to a project when that functionality is required. When a project facet is added to a project, it can add natures, builders, classpath entries, and resources to a project, depending on the characteristics of the particular project. Web 2.0 facets define the characteristics of your Web 2.0 enabled portlet. The Web 2.0 facets specify the requirements and constraints that apply to your portlet project.

 

Portlet Type

You can select one of the following portlet types:


JSR 286 JSR 168 API IBM portlet API
Portlet Type Faces portlet Struts portlet Basic portlet Empty portlet Faces portlet Struts portlet Basic portlet Empty portlet Faces portlet Struts portlet Basic portlet Empty portlet
WebSphere Portal V6.0 Not available Not available Not available Not available
WebSpherePortal V6.1 ✓ * X
WebSpherePortal V6.1.0.1 with WAS V6.1 ✓* X
WebSpherePortal V6.1.0.1 with WAS V7.0 ✓* X X
WAS V6.1 X X X X ✓** X X ✓** X X X X
WAS V7.0 ✓*/** X X ✓** X X X X X X X X
✓ supported. * supported without JSR 286 events. **supported without WebSphere Portal specific features. X not supported.

 

Related concepts

Creating Faces portlets and projects

Creating Struts portlets and projects

JavaServer Faces portlet applications