Thursday, May 6, 2010

Getting Started with Oracle BPM 11g

You have access to Oracle BPM 11g once you install SOA Suite 11g PS2. Please see my previous post for details.

Once I install, I like to do a simple test to see if everything is ok. So here's a very simple BPM demo.

In this very simple scenario, a user with the role SalesRep will enter an order. This order will then be written to a file.

Creating the BPM application
Create a new BPM Application in JDeveloper 11.1.1.3







Create the Order Data Object








myOrder.xsd is available at Appendix A



Create a new Process Data Object based on Order



Define Process Role - SalesRep






Map SalesRep role to user weblogic



Do the same for the role Process Owner

Create the Write2File Service



Drag & Drop a File Adapter to the External References lane










Return to BPM design time. Write2File has been automatically added as
an external service.




Configure Write2File Implementation



Implement the Human Task











Task Data Mapping

No mapping is required for EnterOrder as this is the initiating task.

For Write to File --> Map as follows



Deploy











Test
Go to http://localhost:8001/bpm/workspace
Enter login credentials (weblogic/welcome1)







Monday, May 3, 2010

Installing SOA Suite 11g Patchset 2

Download the following software from otn.oracle.com or edelivery.oracle.com

http://www.oracle.com/technology/software/products/middleware/htdocs/fmw_11_download.html


1. WLS 10.3.3
2. SOA Suite (11.1.1.2.0)
3. SOA Suite (11.1.1.3.0) Update
4. JDeveloper 11.1.1.3 Studio

Pre-requisites:
· Oracle DB
o XE will suffice

Required Software

RCU
o ofm_rcu_win_11.1.1.3.0_disk1_1of1.zip
WLS
o wls1033_oepe111150_win32.zip
SOA
o ofm_soa_generic_11.1.1.2.0_disk1_1of1.zip
o ofm_soa_generic_11.1.1.3.0_disk1_1of1.zip
JDeveloper
o JDev11g-11.1.1.3-Part1_of2.zip
o JDev11g-11.1.1.3-Part2_of2.zip

Step 1 - Create Schema using RCU
Unzip rcu zip and run \rcuHome\BIN\rcu.bat


Step 2 – Install WLS
Unzip wls1033_oepe111150_win32.zip to a directory of your choice
Run wls1033_oepe111150_win32.exe


Step 3 - Install SOA 11.1.1.2
Unzip ofm_soa_generic_11.1.1.2.0_disk1_1of1.zip to a directory of your choice
Open a CMDWindow and execute -
setup.exe –jreLoc yourFMWHome\jdk160_18

Specify the FMW home from WLS 10.3.3

Step 4 - Install SOA 11.1.1.3 Patchset
Unzip ofm_soa_generic_11.1.1.3.0_disk1_1of1.zip

Open a CMD Window in the directory \Disk1 and execute -
setup.exe –jreLoc yourFMWHome\jdk160_18

Specify the FMW Home from above.


Step 5 - Configure SOA / BPM

run config.cmd from \Oracle_SOA1\common\bin and create a new Weblogic Domain




Step 6 - Start WLS Admin / Managed Server








Installing JDev11g 11.1.1.3
If you downloaded from edelivery you will have jdev part 1 and 2
part 1 is the Jdev studio, part 2 contains the extensions for SOA and BPM.

Unzip JDev to install
Start JDev
Menu --> Help --> Check for Updates
select soa-jdev-extension.zip
do the same for bpm-jdev-extension.zip

More background info at http://itnewscast.com/middleware/soa-suite-11g-releases

Getting started with Oracle SOA Suite 11g

I just got my hands on this excellent introduction to Oracle SOA Suite 11g.


The book starts off with a general introduction to SOA - past - present -future and then go into the nuts and bolts of Oracle's SOA offering.
Highlights are the tight component integration, end to end monitoring and management, java based BAM along with a very intuitive IDE which greatly eases the development of SOA apps.

The book covers the development of a sample Purchase Order process during which one gets to know all the Oracle SOA components - Mediator, BPEL, Human Workflow, Oracle Adapters, Event Delivery Network and BAM. There is also a chapter dedicated to Security (leveraging Oracle Web Services Manager). A new addition with 11g is the
B2B component (it was there is 10.1.2 but not in 10.1.3) which can act as a pre-/post processor for the SOA composites (your canonical business processes). The chapter on B2B is a must for those interested in the secure and reliable exchange of documents between trading partners.

Here's the link -

Getting started with Oracle SOA Suite 11g from Packt

For a taste go to
https://www.packtpub.com/sites/default/files/sample_chapters/9782-getting-started-with-oracle-soa-suite-11g-r1-sample-chapter-17-event-delivery-network.pdf

and pick up the free chapter on Event Delivery Network.

Friday, April 16, 2010

JDeveloper 11g - embedded WLS

I had an issue while testing an ADF bounded taskflow and needed to access the WLS logs.

So where are they?


Login to AdminConsole –

http://127.0.0.1:7101/console

(weblogic/weblogic1)


or


Thursday, March 11, 2010

ADF 11g Declarative Components example

Here is a simple example of creating a declarative component to ensure a consistent look and feel for "Address" (Street, City, PostalCode, Country).

Nice definition from an OOW 2009 preso from Lynn M.
Declarative components are -
-Component definitions that are reusable across applications
-When changed, affect all pages that use them
-Made up of any number of other components
-Do not have data binding in their definition
-Published for use in the Component Palette

Now to the lab.

First the SQL to create the demo table -

Drop table myCusts;

Create Table myCusts
(
cust_nr varchar2(20) not null,
cust_name varchar2(40) not null,
cust_email varchar2(40) not null,
cust_telnr varchar2(40) not null,
cust_addressStreet varchar2(40) not null,
cust_addressCity varchar2(40) not null,
cust_addressZip varchar2(10) not null,
cust_addressCountry varchar2(40) not null,
cust_age number(3),
cust_salary number(8),
comments varchar2(255))
;
alter table myCusts add
primary key (cust_nr)
;