Expose ADF Task Flow as Portlet using JSF Portlet Bridge

060

If you need to execute a Task Flow in an application that is deployed in another server, and don’t want to distribute it as ADF Library, you can expose this Task Flow as a Portlet using Oracle JSF Portlet Bridge. The Oracle JSF Portlet Bridge enables application developers to expose their existing Oracle ADF applications and Task Flows as JSR 286 Portlets. This way, your web application and Portlet Producer application are the same, because the Portlet Producer application is your existing web application with additional Portlet artifacts.

Run as a Portlet

Right-click on EditEmployeesTaskFlow.xml and choose Run as a Portlet. This option automatically create the portlet.xml file, and the application is deployed to the IntegratedWebLogicServer, using the context root portletBridgeTester-Portlets-context-root.

Consuming the Portlet

Use the WebCenter Portal application (aka WebCenter Spaces) to consume the portletized task flow. Because the Oracle JSF Portlet Bridge uses WSRP 2.0 features, you should register the producer using the WSRP v2 WSDL URL listed in the WSRP Producer Test Page.

Blogs

The views expressed on this blog are my own and do not reflect the views of the company I work (or have worked for) neither Oracle Corporation. The opinions expressed by visitors on this blog are theirs, not mine. The information in this blog is written based on personal experiences. You are free to use the information on this blog but I am not responsible and will not compensate to you if you ever happen to suffer a loss/inconvenience/damage because of/while making use of this information.