Oracle SOA Parallel Processing by Using Flow Activity Lab#12
Oracle SOA Parallel Processing by Using Flow Activity Lab#12
Description BISP is committed to provide BEST learning material to the beginners and advance learners. In the same series, we have prepared a complete end-to end Hands-on Beginners G ide !or "racle So#. The doc ment !oc ses on Parallel Processing b$ sing %low activit$. &oin o r pro!essional training program and learn !rom e'perts.
www.bispsol tions.com
www.bisptrainigs.com
www.h$periong r .com
Page -
!ontents
+ontents....................................................................................................................................... / Parallel Processing b$ sing %low activit$ ....................................................................................3 %low activit$( ............................................................................................................................... 3 %low activit$ "verview( ................................................................................................................ 3 %low activit$ semantics(............................................................................................................... 3 "b4ective o! Pro4ect( .................................................................................................................... 5 Stepwise Proced re o! Pro4ect Parallel Processing b$ sing %low activit$.....................................5
www.bispsol tions.com
www.bisptrainigs.com
www.h$periong r .com
Page /
www.bispsol tions.com
www.bisptrainigs.com
www.h$periong r .com
Page 3
Ob$ective o% Pro$ect
%low activit$ is a str ct red activit$ sed !or parallel processing all other nested activities sim ltaneo sl$ so here in pro4ect e'ample we have simpl$ ta=en two n mbers i.e > mber # ?> mber B as inp t ? will get res lt as #ddition ,S btraction ,; ltiplication ,*ivision sim ltaneo sl$ or we can sa$ conc rrentl$ with the help o! %low activit$ in a bpel orchestration .
www.bispsol tions.com
www.bisptrainigs.com
www.h$periong r .com
Page 5
Step &( %ill all its blan= spaces >ame 7ParallelProcess9 ----@>ameSpace 76eave as it is9---@Template7Select S$nchrono s BPE6 Process9---@ Service >ame7ParallelProcess9----@ mar= E'pose as a S"#P service ---@+lic= "=
www.bispsol tions.com
www.bisptrainigs.com
www.h$periong r .com
Page A
Step ( +lic= on ParallelProcess.'sd ? it is a tomaticall$ generated 'sd !or s$nc bpel process. >ow ma=e changes on 'sd rename inp t element as > mber# ? create new element ? name it as > mberB ? set integer t$pe !or both the inp ts. 0ename res lt as > mber# ? create another elements > mberB , #ddition, S btraction, ; ltiplication ? *ivision with their t$pes as shown in the ne't snap.
Step ) This is the complete 'sd Process --@se8 ence--@> mber# ?> mberB Process0esponse --@ se8 ence --@ > mber# ,> mberB , #ddition, s btraction, ; ltiplication, *ivision .
www.bispsol tions.com
www.bisptrainigs.com
www.h$periong r .com
Page B
Step + *rag ? drop %low #ctivit$ !rom component palette !or nesting other activities on it ? e'pand !low activit$ b$ clic=ing pl s sign CDE www.bispsol tions.com www.bisptrainigs.com www.h$periong r .com Page F
Step 1, "bserve !low activit$ that it has several parallel drop activities
Step 11 *rag ? drop assign activit$ into !low activit$ inside drop activit$ ? rename it as #ddition , S btraction, ; ltiplication, *ivision.
www.bispsol tions.com
www.bisptrainigs.com
www.h$periong r .com
Page G
www.bispsol tions.com
www.bisptrainigs.com
www.h$periong r .com
Page 2
Step 1& +lic= > mber# nder BPE6 )ariables---@ insert into e'pression ---@ D 7#dd sign9 --@ insert into e'pression ---@ +lic= > mberB nder BPE6 )ariables ---@ insert into e'pression---@ ".
www.bispsol tions.com
www.bisptrainigs.com
www.h$periong r .com
Page -,
Step 1' Similarl$ +lic= on S btraction assign activit$ ? open it to b ild 'path e'pression >ow drag ? drop E'pression on S btraction inside " tp t )ariable. +lic= > mber# nder BPE6 )ariables---@ insert into e'pression ---@ - 7min s sign9 --@ insert into e'pression ---@ +lic= > mberB nder BPE6 )ariables ---@ insert into e'pression---@ ".
+lic= on ; ltiplication assign activit$ ? open it to b ild 'path e'pression >ow drag ? drop E'pression on ; ltiplication inside " tp t )ariable. +lic= > mber# nder BPE6 )ariables---@ insert into e'pression ---@ H 7asteris= sign9 --@ insert into e'pression ---@ +lic= > mberB nder BPE6 )ariables ---@ insert into e'pression---@ ".
Step 1)( Similarl$ +lic= on *ivision assign activit$ ? open it to b ild 'path e'pression >ow drag ? drop E'pression on *ivision inside " tp t )ariable. +lic= > mber# nder BPE6 )ariables---@ insert into e'pression ---@ div --@+lic= > mberB nder BPE6 )ariables ---@ insert into e'pression---@ ".
www.bispsol tions.com
www.bisptrainigs.com
www.h$periong r .com
Page -/
Step 1* *rag ? drop assign activit$ below !low activit$ ? rename it as #ssigno tp t , +lic= on it to open
www.bispsol tions.com
www.bisptrainigs.com
www.h$periong r .com
Page -3
Step 2, #ssign o tp t completed ? also BPE6 process completed >ow +lic= on +ompile Icon shown below
B ild S ccess! l
www.bispsol tions.com
www.bisptrainigs.com
www.h$periong r .com
Page -5
Step 21 *eplo$ Parallel Processing Pro4ect b$ right clic=ing on le!t pane on ParalelProcessing --@*eplo$ ---@ParallelProcessing ---@ #pplication server ---@devsoa 7select server domain9 --@#dminServer---@ >e't ---@ %inish
*eplo$ment !inished
Step 22( +lic= "n browser ---@ Start Enterprise manger -----@ login sing credentials 7 sername ( weblogic ? password ( welcome-9 , now clic= twice on ParallelProcessingC-.,E composite then +lic= on Test to test the composite instance .
www.bispsol tions.com
www.bisptrainigs.com
www.h$periong r .com
Page -A
Step 2-( Inp t I!ill re8 ired data in all blan= !ields ? clic= to TestJebService > mber# KA, > mberBKA
www.bispsol tions.com
www.bisptrainigs.com
www.h$periong r .com
Page -B
Step 2& 0e8 ired o tp t is shown below ,>ow clic= on La"nch Flow .race to view !low trace o! composite .
www.bispsol tions.com
www.bisptrainigs.com
www.h$periong r .com
Page -F
Step 2) "bserve !low diagram ? notice that all operations are processing conc rrentl$ ? in a parallel wa$ . +lic= on each operation one b$ one ? observe that the processing time o! all operations are similar ie ,,(-5(AB
www.bispsol tions.com
www.bisptrainigs.com
www.h$periong r .com
Page -G
www.bispsol tions.com
www.bisptrainigs.com
www.h$periong r .com
Page -2
So !rom here we concl ded that the !low activit$ is processing conc rrentl$.
www.bispsol tions.com
www.bisptrainigs.com
www.h$periong r .com
Page /,