Friday, November 6, 2009

RIA with Oracle Portal/BPEL

Hello,

I was looking ways to use our Existing infrastructure effectively, for the RI application development.

The Below Link Helped me to Start planning my Development.

http://www.jamesward.com/blog/2006/11/02/flex-your-oracle-portal/

We always develop an Application using Blazeds or Flex with remote service or WebService and deploy it to 10.1.3 container (as Blazeds works only on 1.5) and integrate it as a partner application with portal.

This works Fine ..However Instead of Calling the Flex app as an external App ,i integrated it within a portlet and deployed to Oracle Portal 10.1.4

Development Steps.

a. Developed a Bpel WebService and deployed it to a Bpel Container .

b. I used soap-UI to Test the Service.

For eg:http://hostname:port/orabpel/domain/DivIdentifierService/1.0DivIdentifierService?wsdl


c.Developed the Flex App And consumed the BPEL Web-Service.(show the data returned by the Bpel-webservice in a DataGrid)

Compiled it

d.Created a page group called swf( you can name it what ever..)

e.Used a webDav Client(Oracle Drive) to upload the .swf file to the PageGroup

Path of my swf File.
/portal/page/portal/PageGroupName/DisplayName/FlexBpel.swf


f.Create a PDK Portlet (pdk version 10.1.2.0.2) using the Wizard just click and finish it. ( i selected a jsp file instead of a html file)

Used a div tag to embed the .swf file

g.Deployed the app, Register the provider, Published the Portlet.

Works Fine.

Tried to present the above in a picture






Please let me know your thoughts.




Thanks
Prem

No comments: