how to implement service oriented integration using the jbi … · 2019. 9. 11. · internals:...

12
Jason Baragry Lead Architect, SOA / Business Integration Sun Microsystems, Central & Northern Europe How to implement Service Oriented Integration using the JBI standard

Upload: others

Post on 13-Mar-2021

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: How to implement Service Oriented Integration using the JBI … · 2019. 9. 11. · Internals: remote HTTP EE Container app-a.ear ejb-c.jar ejb-b.jar app-c.ear HTTP RMI JBI Container

Jason BaragryLead Architect, SOA / Business IntegrationSun Microsystems,Central & Northern Europe

How to implement Service Oriented Integration using the JBI standard

Page 2: How to implement Service Oriented Integration using the JBI … · 2019. 9. 11. · Internals: remote HTTP EE Container app-a.ear ejb-c.jar ejb-b.jar app-c.ear HTTP RMI JBI Container

Jason BaragryLead Architect, SOA / Business IntegrationSun Microsystems,Central & Northern Europe

OpenESB: JBI-based, SOA runtime infrastructure and tooling

Page 3: How to implement Service Oriented Integration using the JBI … · 2019. 9. 11. · Internals: remote HTTP EE Container app-a.ear ejb-c.jar ejb-b.jar app-c.ear HTTP RMI JBI Container

Open ESB• Open Source Enterprise Service Bus runtime implemented

atop the Java Business Integration foundation> http://open-esb.org/

• Runs within Glassfish/Sun App Server> AS independence> JavaSE runtime

• Support through JavaCAPS.next

Page 4: How to implement Service Oriented Integration using the JBI … · 2019. 9. 11. · Internals: remote HTTP EE Container app-a.ear ejb-c.jar ejb-b.jar app-c.ear HTTP RMI JBI Container

Demo Scenario: Loan Processing• Loan Processing

Design:> Loan Request Process> Loan Processor> Loan Report Mailer

Page 5: How to implement Service Oriented Integration using the JBI … · 2019. 9. 11. · Internals: remote HTTP EE Container app-a.ear ejb-c.jar ejb-b.jar app-c.ear HTTP RMI JBI Container

Demo Scenario: Loan Processing• Loan Processing Impl:> LoanRequestProcess>WS-I BP> BPEL Orchestration

> LoanProcessor> JavaEE

> LoanReportMailer> Legacy thru JMS

Page 6: How to implement Service Oriented Integration using the JBI … · 2019. 9. 11. · Internals: remote HTTP EE Container app-a.ear ejb-c.jar ejb-b.jar app-c.ear HTTP RMI JBI Container

NMR

LoanRequestProcess

LoanProcessor

LoanRS WS ReportMail

BPEL JavaEE

JMSWS-I BP

JBI-basedInfrastructure

ReportMailApplication

Page 7: How to implement Service Oriented Integration using the JBI … · 2019. 9. 11. · Internals: remote HTTP EE Container app-a.ear ejb-c.jar ejb-b.jar app-c.ear HTTP RMI JBI Container

NMR

LoanRequestProcess

LoanProcessor

LoanRS WS ReportMail

BPEL JavaEE

JMSWS-I BP

Page 8: How to implement Service Oriented Integration using the JBI … · 2019. 9. 11. · Internals: remote HTTP EE Container app-a.ear ejb-c.jar ejb-b.jar app-c.ear HTTP RMI JBI Container

NMR

LoanRequestProcess

LoanProcessor

LoanRS WS ReportMail

BPEL Rules Engine

JMSWS-I BP

ArchitectureRefactoring

ReportMailApplication

LoanRSFile BP

Page 9: How to implement Service Oriented Integration using the JBI … · 2019. 9. 11. · Internals: remote HTTP EE Container app-a.ear ejb-c.jar ejb-b.jar app-c.ear HTTP RMI JBI Container

Internals: remote

HTTP

EE Container

app-a.ear

ejb-c.jar

ejb-b.jar

app-c.ear HTTP

RMI

JBI Container

NMR

BPEL SE

BPEL process

EE SE

SAP BC

HTTP BC

HL7 BC

HTTP

HL7

RMI

WSDL

WSDL

WSDL

WSDL

BPEL processWSDL

ejb.jarWSDL

application.earWSDL

➔ Network layer➔ SOAP/HTTP➔ JAXWS➔ Unmarshal <xml>➔ Create DOM➔ JAXB➔ WS.helloWorld(name)

• BPEL➔ NMR➔ HTTP BC➔ Marshall DOM to <xml>➔ SOAP/HTTP➔ Network layer

Page 10: How to implement Service Oriented Integration using the JBI … · 2019. 9. 11. · Internals: remote HTTP EE Container app-a.ear ejb-c.jar ejb-b.jar app-c.ear HTTP RMI JBI Container

Internals: local• BPEL➔ NMR➔ HTTP BC➔ Marshall DOM to <xml>➔ SOAP/HTTP➔ Network layer➔ SOAP/HTTP➔ JAXWS➔ Unmarshal <xml>➔ Create DOM➔ JAXB➔ WS.helloWorld(name)

Likewise: EJB to BPEL

JBI Container

NMR

BPEL SE

BPEL process

EE SE

SAP BC

HTTP BC

HL7 BC

HTTP

HL7

RMI

WSDL

WSDL

WSDL

WSDL

BPEL processWSDL

ejb.jarWSDL

application.earWSDL

Advantages:> Performance> Transaction propagation> Security context propagation

Page 11: How to implement Service Oriented Integration using the JBI … · 2019. 9. 11. · Internals: remote HTTP EE Container app-a.ear ejb-c.jar ejb-b.jar app-c.ear HTTP RMI JBI Container

More Info• JBI> http://www.jcp.org/en/jsr/detail?id=208 > http://java.sun.com/integration/ > Forum: http://forum.java.sun.com/forum.jspa?forumID=512

• OpenESB Project> http://open-esb.org/ > Forum: [email protected] > http://wiki.open-esb.java.net/

• This Demo> Screencasts:

> http://wiki.open-esb.java.net/Wiki.jsp?page=OpenESBIntroductionTutorial

Page 12: How to implement Service Oriented Integration using the JBI … · 2019. 9. 11. · Internals: remote HTTP EE Container app-a.ear ejb-c.jar ejb-b.jar app-c.ear HTTP RMI JBI Container

[email protected] Microsystems, Inc.

Q&A