IBM Rational Application Developer V9.5 Beta (Feb) had the portlet tooling capabilities integrated for the WebSphere Liberty Profile and with the Beta refresh, it offers the tooling to create JSF 2.2 portlet projects targeted for the IBM WebSphere Application Server Liberty profiles. You can create and maintain resources for JSF 2.2 portlet applications by using JSR 286 as well as JSR 168 portlet API.
To create and publish the JSF portlet projects on WebSphere® Application Server Liberty Profile, you need to ensure the following pre-requisites features are properly configured in your IBM WAS Liberty profile. These features are hosted on WASdev along with IBM WAS Liberty profile.
- Portlet Container feature
- Portlet Serving features
- JSF Portlet Bridge feature (Beta)
The enhancements for JSF2.2 tooling in IBM Rational Application Developer v95 Beta (June) and JSF 2.2 Portlet bridge Beta adds the support for following features as per the JSF2.2 specification
- Generating the portlet configuration artifacts like portlet.xml and faces-config.xml,
- Updated code generation in facelet code as JSF 2.2 feature have different name spacing than JSF2.0
- The file upload component in palette view
- JSF 2.2 HTML 5 Support
- JSF 2.2 Stateless views
Once the portlet project is deployed on the Liberty profile, you can configure the WSRP (i.e. web services for remote portlets) producer on IBM WebSphere Liberty profile and consume these portlets on WebSphere Portal server through WSRP by placing them on a portal page.
You can read more about the configuration of environment and creation of JSF portlet project in the knowledge center.
For more information about JSF 2.2 portlet support , visit our Knowledge Center.