IBM Rational Application Developer Version 9.1 offers integration with the IBM® WebSphere® Portal Version 8.5 server to leverage capabilities from the new server version. It also offers tooling support for the new portal features like Web Application Bridge filter classes and using JCDI capabilities for Java Server Faces (JSF) portlet applications. Here's the glimpse of new and enhanced portal tools features in IBM Rational Application Developer Version 9.1.
WebSphere Portal V8.5 Server support
IBM Rational Application Developer V9.1 has tooling capabilities integrated for the IBM® WebSphere® Portal Version 8.5 server. You can create portlets targeted to WebSphere Portal Version 8.5 runtime and then publish your application to the server to test them. Stubs for WebSphere Portal V8.5 are included to compile the portlet projects in absence of a local WebSphere Portal server.
Developing Web Application Bridge filter projects
IBM Rational Application Developer V9.1 has introduced tools to help you develop Web Application Bridge (WAB) filters for WebSphere Portal V8.0. Web Applications Bridge supports the integration of heterogeneous web applications to WebSphere Portal Server. Web Application Bridge (WAB) uses reverse proxy technology to integrate web-based content providers to WebSphere Portal. Web Application Bridge filter (i.e. WAB Filter) is based on the servlet filter API that can be used to manipulate the request that goes from WebSphere Portal to the content provider site as well as the response received from the content provider site.
The WAB tools in Rational® Software Delivery Platform provide the following capabilities:
- Create WAB Filter Project
- Create WAB Filter
- Deploy WAB Filter
Creating WAB filter project and WAB filters
WAB filter project is a web project that contains Web Application Bridge filter classes. To create a WAB filter project. There are two types of WAB Filters supported
- Request Filter type is used to manage the request that goes from the IBM WebSphere Portal to the content provider site.
- Response Filter type is used to manage the response received from the content provider site to the IBM WebSphere Portal.
Deploying WAB filters
Apart from providing the capabilities to create the WAB filter classes, Rational Application Developer Version 9.1 offers the capability to deploy them to WebSphere Portal Server from your workspace itself. You can use the Deploy WAB Filter option in the project's context menu to publish the WAB filter project to the WebSphere Portal server.
Java Context and dependency injection (JCDI) for portlet projects
Contexts and dependency injection (CDI) for the Java™ EE platform is an implementation based on the JSR 299 specification. Rational Application Developer Version 9.1 will enable users to create portlet applications that leverage JCDI by selecting the option in Portlet Project Creation wizard itself.
To enable a portlet application with JCDI capabilities,
- Launch the Portlet Project wizard, using File -> New -> Portlet project menu.
- Select the Modify button provided against the Portlet configuration section in portlet configuration wizard.
- Choose the option to add support for JCDI in Portlet project configuration dialog.
The JCDI enabled portlet project would have a file named beans.xml created under WebContent/Web-Inf folder of the portlet project and a node called Named Beans would be available in the Page data view.
Note: JCDI option is available in portlet project wizard for JSR286 Faces and JSR168 Faces portlet projects only.
You can get more details and how to use information about these new tooling features from IBM Rational Application Developer V91 Infocenter.