Developer and Fusion Middleware 1 | Mark Nelson | Continuous Integration for ...
Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and enteprise integration with JDE.pdf
1. SOA,
Portals
and
Enterprise
Integra5on
with
JDE
Sco$
Robertson
The most comprehensive Oracle applications & technology content under one roof
2. Who
are
Thiess?
The most comprehensive Oracle applications & technology content under one roof
3. 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
4. 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
5. ESS
–
The
Web
ApplicaJon
The most comprehensive Oracle applications & technology content under one roof
6. Example
1
-‐
Replacing
Paper
Forms
The most comprehensive Oracle applications & technology content under one roof
7. Example
2
-‐
Maintaining
JDE
Data
The most comprehensive Oracle applications & technology content under one roof
8. ESS
–
Web
ApplicaJon
Overview
User
Interface
WebCenter
InteracJon
10.3.0
Java
Web
ApplicaJon
(10g)
Web
Services
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
9. Portlet
-‐
Personal
Details
Portlet
(Form)
Java
(Backing
Bean)
SOA
(En5ty
Services)
ESSDetails
ESSPhoneNumbers
ESSContacts
The most comprehensive Oracle applications & technology content under one roof
10. 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
11. Portlet
-‐
Submit
Portlet
Java
SOA
User
clicks
update
Variables
updated
in
bu$on
backing
bean
Java
backing
bean
update
method
called
User
details
modified
in
database
Status
boolean
variable
set
to
SOA
response
HTML
page
constructed
using
boolean
status
The most comprehensive Oracle applications & technology content under one roof
12. “EnJty”SOA
JDE
Database
Tables
SOA
XML
En5ty
<details>
F060116
ALPH
<salutaJon>MR</salutaJon>
Select
MCU
<firstName>John</firstName>
DOB
Insert
<lastName>Smith</lastName>
P019
<preferredName>Jono</preferredName>
P020
Update
...
<dateOfBirth>1979-‐01-‐01</dateOfBirth>
Delete
<jobNumber>9999</jobNumber>
F060117
<project>XYZ</project>
SALU
Process
PRNM
<department>ABC</department>
...
...
</details>
The most comprehensive Oracle applications & technology content under one roof
13. What
is
the
“Process”
OperaJon
For?
The most comprehensive Oracle applications & technology content under one roof
14. What
does
the
“Process”
OperaJon
do?
Process
operaJon
called
with
XML
EnJty
input
Non-‐key
Yes
Delete
record(s)
in
relevant
fields
blank?
table(s)
using
key
fields
No
Select
from
table(s)
using
key
fields
of
EnJty
input
Are
record(s)
Yes
Update
record(s)
in
relevant
found?
table(s)
using
key
fields
No
Insert
record(s)
into
relevant
table(s)
The most comprehensive Oracle applications & technology content under one roof
15. ESS
-‐
The
IntegraJon
The most comprehensive Oracle applications & technology content under one roof
16. 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
17. ESS
-‐
IntegraJon
THIESS
EXTERNAL
PAYROLL
SYSTEM
Oracle
SOA
11.1.1.3.0
JD
Edwards
8.12
JDE
Database
The most comprehensive Oracle applications & technology content under one roof
18. IntegraJon
-‐
Process
Thiess
FTP
Server
3rd
Party
Payroll
Users
update
JDE
details
through
ESS
SOA
creates
XML
file
Thiess
Export
File
Export
file
retrieved,
from
updated
users
and
users
updated
Import
Success?
SOA
updates
all
details
3rd
Party
Export
File
Creates
XML
export
file
in
JDE
containing
ALL
users
New/Updated
details
available
in
ESS
The most comprehensive Oracle applications & technology content under one roof
19. JDE
Business
Services
(BSSVs)
The most comprehensive Oracle applications & technology content under one roof
20. Portlet
JDE
BSSVs
Java
SOA
ESSLeaveBalances
JDE
BSSV
Web
Services
LeaveTypeReason
The most comprehensive Oracle applications & technology content under one roof
21. Issues,
Lessons
&
Future
The most comprehensive Oracle applications & technology content under one roof
22. 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
23. 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
24. 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
25. 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
26. QuesJons???
Sco$
Robertson
Email:
sxrobertson@thiess.com.au
Phone:
(07)
3002
9895
The most comprehensive Oracle applications & technology content under one roof