Home

 

Choosing other frameworks

JavaServer Faces (JSF) and Struts technology can be incorporated into a portlet development strategy. RAD v7.5 provides tooling support to help in the creation and code generation for creating a JSF portlet or Struts portlet.

JavaServer Faces (JSF)

Faces-based application development can be applied to portlets, similar to the way that Faces development is implemented in Web applications. Faces support in Rational Application Developer simplifies the process of writing Faces portlet applications and eliminates the need to manage many of the underlying requirements of portlet applications.

Rational tools provide a set of wizards that help you create Faces portlet-related artifacts. In many cases, these wizards are identical to the wizards used to create standard Faces artifacts

Refer to Developing Web applications using JSF.

Struts

Struts-based application development can also be applied to portlets, similar to the way that Struts development is implemented in Web applications. The Struts Portal Framework (SPF) was developed to merge these two technologies. SPF support in Application Developer simplifies the process of writing Struts portlet applications and eliminates the need to manage many of the underlying requirements of portlet applications.

The Struts portlet tooling supports development of portlet applications based on both the JSR 168 API and the IBM portlet API. There are differences in the runtime code included with projects, tag libraries supported, Java class references, and configuration architecture, but, unless otherwise noted, these differences are managed by the product tooling.

In addition, multiple wizards are present to help you create Struts portlet-related artifacts. These are the same wizards used in Struts development. Refer to the Application Developer Struts documentation for usage details.

Web development using Struts for non-portal applications is covered in Developing Web applications using Struts.