developer and fusion middleware 2 _ scott robertson _ soa, portals and enteprise integration with...

26
The most comprehensive Oracle applications & technology content under one roof The most comprehensive Oracle applications & technology content under one roof SOA, Portals and Enterprise Integra5on with JDE Sco$ Robertson

Upload: insync2011

Post on 22-Nov-2014

1.020 views

Category:

Documents


5 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof The most comprehensive Oracle applications & technology content under one roof

SOA,  Portals  and  Enterprise  Integra5on  with  JDE  

Sco$  Robertson  

Page 2: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

Who  are  Thiess?  

Page 3: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

Who  am  I?  

•  Worked  for  Thiess  for  just  under  5  years  •  Started  as  an  undergraduate  •  Worked  on  JD  Edwards  for  2  years  •  Moved  to  Middleware  about  3  years  ago  •  First  Middleware  project  was  an  “Employee  Self  Service”  soluJon  (named  ESS)  

Page 4: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

What  is  ESS?  

•  Integra5on  Solu5on  with  3rd  Party  Payroll:  –  Import  leave  and  payslips  –  Import  new  Employees  – Export  updated  employee  data  (stored  in  JDE)  

•  A  Web  Applica5on  for:  – Maintaining  employee  data  – Replacing  paper-­‐based  processes  

Page 5: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

ESS  –  The  Web  ApplicaJon  

Page 6: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

Example  1  -­‐  Replacing  Paper  Forms  

Page 7: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

Example  2  -­‐  Maintaining  JDE  Data  

Page 8: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

ESS  –  Web  ApplicaJon  Overview  

WebCenter  InteracJon  10.3.0  

User  Interface    

Web  Services    

Java  Web  ApplicaJon  (10g)  

JD  Edwards  8.12   Oracle  SOA  11.1.1.3.0  

JDE  Database    (Oracle  11g)  

Page 9: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

Portlet  -­‐  Personal  Details    

ESSDetails  

ESSPhoneNumbers  

ESSContacts  

Java  (Backing  Bean)   SOA  (En5ty  Services)  Portlet  (Form)  

Page 10: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

Portlet  -­‐  Request  Portlet   Java   SOA  

Portlet  requested  by  Portal  

Java  backing  bean  constructed  

Users  details  retrieved  from  database  

Variables  set  using  SOA  response  

HTML  page  constructed  using  Java  variables  

Page 11: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

Portlet  -­‐  Submit  Portlet   Java   SOA  

User  clicks  update  bu$on  

Java  backing  bean  update  method  called  

User  details  modified  in  database  

Status  boolean  variable  set  to  SOA  response  

HTML  page  constructed  using  boolean  status  

Variables  updated  in  backing  bean  

Page 12: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

 “EnJty”SOA  

F060116  ALPH  MCU  DOB    P019  P020  ...  

F060117  SALU  PRNM  ...  

JDE    Database  Tables  

<details>  

       <salutaJon>MR</salutaJon>  

       <firstName>John</firstName>  

       <lastName>Smith</lastName>  

       <preferredName>Jono</preferredName>  

       <dateOfBirth>1979-­‐01-­‐01</dateOfBirth>  

       <jobNumber>9999</jobNumber>  

       <project>XYZ</project>  

       <department>ABC</department>  

 ...  

</details>  

XML  En5ty  SOA  

Select    

Insert    

Update    

Delete    

Process    

Page 13: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

What  is  the  “Process”  OperaJon  For?  

Page 14: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

What  does  the  “Process”  OperaJon  do?  

Process  operaJon  called  with  XML  EnJty  input  

Non-­‐key  fields  blank?  

Delete  record(s)  in  relevant  table(s)  using  key  fields  

Select  from  table(s)  using  key  fields  of  EnJty  input  

Are  record(s)  found?  

Insert  record(s)  into  relevant  table(s)  

Update  record(s)  in  relevant  table(s)  using  key  fields  

No  

No  

Yes  

Yes  

Page 15: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

ESS  -­‐  The  IntegraJon  

Page 16: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

ESS  –  The  IntegraJon  

•  Exports  data  to  3rd  party  payroll  system  which:  – Manages  leave  accruals  – Pays  employees  – Creates  payslips/group  cerJficates  

•  Imports  data  from  3rd  party:  – New  employees  – Updated  leave  balances  – New  payslips/group  cerJficates  

Page 17: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

ESS  -­‐  IntegraJon  THIESS  

 

JD  Edwards  8.12  Oracle  SOA  11.1.1.3.0  

JDE  Database  

EXTERNAL  PAYROLL  SYSTEM  

Page 18: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

IntegraJon  -­‐  Process  Thiess   FTP  Server   3rd  Party  Payroll  

Users  update  JDE  details  through  ESS  

Export  file  retrieved,  and  users  updated  

SOA  updates  all  details  in  JDE  

SOA  creates  XML  file  from  updated  users  

Thiess  Export  File  

Import  Success?  

Creates  XML  export  file  containing  ALL  users  

3rd  Party  Export  File  

New/Updated  details  available  in  ESS  

Page 19: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

JDE  Business  Services  (BSSVs)  

Page 20: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

JDE  BSSVs  

Java  

SOA  

ESSLeaveBalances  

JDE  BSSV  Web  Services  

LeaveTypeReason  

Portlet  

Page 21: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

Issues,  Lessons  &  Future  

Page 22: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

Portlet  Issues  •  Conversion  from  Java  Web  App  to  Portlets  – ESS  IniJally  wri$en  as  JSF  web  applicaJon  – Asked  to  convert  into  portlets  – Should  easily  convert  using  “JSF  Portlet  Bridge”  – Some  funcJonality  did  not  work  when  converted  – Used  “faux-­‐portlets”  funcJonality  of  WCI  which  creates  portlet  from  any  URL  

– Now  portlets  cannot  be  consumed  outside  of  WCI  – Need  to  be  re-­‐wri$en  for  new  Portal(s)  

Page 23: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

IntegraJon  Issues  

•  Difficult  to  co-­‐ordinate  tesJng  •  3rd  Party  had  no  web  service  capability  – Had  to  use  large  file  via  FTP  – No  real-­‐Jme  integraJon  

•  Performance  –  ImporJng  approx.  4,000  employees  each  night  (approx.  50,000  SOA  calls)  

–  Crashed  SOA  server  – Had  to  implement  batching  

Page 24: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

Lessons  Learnt  

•  Start  with  data  design  (enJJes)  •  Use  MDS  for  XSD/WSDL  files  •  Spend  Jme  making  “correct”  portlets  instead  of  taking  quick  wins  

•  Use  JDE  BSSVs  more  •  Interface  directly  from  portlets  to  BSSVs  

Page 25: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

Future  Plans  

•  Move  portlets  to  11G  and  uJlise  ADF,  instead  of  standard  JSF  – Gives  us  new  features  – Makes  portlets  standardised  – Removes  custom  javascript  

•  Consume  11G  portlets  using  a  WebCenter  Portal  instead  of  WCI  

Page 26: Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf

The most comprehensive Oracle applications & technology content under one roof

QuesJons???  

Sco$  Robertson  Email:  [email protected]  

Phone:  (07)  3002  9895