Developer & Fusion Middleware 2 _ Scott Robertson _ SOA, Portals and Enterprise Integration with JDE.pdf
Post on 22-Nov-2014
1225 Views
Preview:
DESCRIPTION
Transcript
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
The most comprehensive Oracle applications & technology content under one roof
Who are Thiess?
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)
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
The most comprehensive Oracle applications & technology content under one roof
ESS – The Web ApplicaJon
The most comprehensive Oracle applications & technology content under one roof
Example 1 -‐ Replacing Paper Forms
The most comprehensive Oracle applications & technology content under one roof
Example 2 -‐ Maintaining JDE Data
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)
The most comprehensive Oracle applications & technology content under one roof
Portlet -‐ Personal Details
ESSDetails
ESSPhoneNumbers
ESSContacts
Java (Backing Bean) SOA (En5ty Services) Portlet (Form)
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
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
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
The most comprehensive Oracle applications & technology content under one roof
What is the “Process” OperaJon For?
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
The most comprehensive Oracle applications & technology content under one roof
ESS -‐ The IntegraJon
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
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
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
The most comprehensive Oracle applications & technology content under one roof
JDE Business Services (BSSVs)
The most comprehensive Oracle applications & technology content under one roof
JDE BSSVs
Java
SOA
ESSLeaveBalances
JDE BSSV Web Services
LeaveTypeReason
Portlet
The most comprehensive Oracle applications & technology content under one roof
Issues, Lessons & Future
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)
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
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
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
The most comprehensive Oracle applications & technology content under one roof
QuesJons???
Sco$ Robertson Email: sxrobertson@thiess.com.au
Phone: (07) 3002 9895
top related