SlideShare a Scribd company logo
1 of 53
Download to read offline
Topic 4

       Enterprise Service Bus
             and JBI
    Dr.Thanachart Numnonda
  Sun Microsystems (Thailand)
Asst.Prof.Thanisa Kruawaisayawan
            KMITL
Agenda
 What   is ESB?
 ESB   Differences
 What   is JBI?
 OpenESB    &GlassFish
 Usage   Scenario

                              2
What is ESB?




               3
SOA Framework Recap

    User Interface Dashboard (KPI)

User Interface + Single Window (Portal)

Business Process Management (BPEL)

    Build Re-usable Services (ESB)

      External/Internal Systems

                                          4
ESB
   Enterprise Service Bus (ESB) is the software
    middleware
   ESB acts as a mediator between different, often
    incompatible protocols and middleware products
   ESB is the backbone of SOA
   You can't buy SOA, but you can buy an ESB
The role of ESB in SOA
Features of an ESB
•   Web Services Support
     –   ESB offers an ability to invoke SOAP and WSDL
         based Web Services
•   Adapters
     –   Many ESB vendors will provide adapters to integrate
         with different thrd-part applications, such as
         PeopleSoft, SAP
     –   Used for applications which do not directly have
         SOAP or XML interface
•   Invocation
     –   ESB supports synchronous and asynchronous calls to
         services and sometimes callbacks
Features of an ESB (Cont.)
•   Mediation and protocol independence
     –    Variety of protocols can be reconciled for complex
          route across a variety of platform
     –    Allows to connect with different protocols such as
          HTTP, FTP, SMTP, JDBC
•   Routing
     –    Allows us to route the messages to different services
          based on their content, origin or other attributes
•   Transformation
     –    Data represented as XML can be transformed using
          XSLT or XQuery before they are delivered to
          services.
     –    Some ESB supports various XML, e.g. HL7, SWIFT
Features of an ESB (Cont.)
•   Orchestration
     –    Offers the ability to coordinate multiple services to
          expose them as a single proxy service
     –    Many ESBs delegate this functionality to a BPEL
          engine
•   Security
     –    Provides additional security capabiulity, SSL, SAML
•   Control over the deployment, usage and
    maintenance of services
ESB Features
Benefits of ESB
•   Reduce time to integrate new and existing
    applicatioms
•   Increase flexibility because system dependencies are
    reduced
•   Simultaneous centralized management of services
•   Centralized management ability (e.g. BAM)
•   Encourage use of industry standard interface
•   Greater agility and responsiveness to change
ESB Differences




                  12
Heterogeneous ESBs
ESB Differences
• Point-to-Point Connection
   – consumer has to know the endpoint, it sends each request to
     a specific receiver
   – The problem with this type of connection is that the call fails
     if the physical receiver is not available.
• Mediating Conenction
   – identifies the provided service by a tag or symbolic that the
     ESB interprets to find an appropriate provider
   – ESB plays the role of a mediator or broker
Point-to-Point Connection
Mediating Connection
Interceptor (based on Point-to-Point)
ESB Differences
• Protocol Driven ESB
  – the ESB defines a protocol, and the providers and consumers
    send and receive messages according to this protoco
  – Example; Web Services, which require a SOAP protocol,
• API Driven ESB
  – the ESB defines platform-specific APIs (such as Java
    interfaces), and the providers and consumers use these APIs
    for service implementations and service calls (see
    Connecting to an API-driven ESB).
Protocol-Driven ESB
API-Driven ESB
Commercial ESBs
•   IBM WebSphere ESB
•   Sonic ESB
•   Oracle Service Bus
•   Software AG/WebMethods ESB
•   Microsoft Biztalk
•   TIBCO ActiveMatrix and BusinessWorks
Opensource ESB
•   Mule
•   Apache ServiceMix
•   OpenESB (GlassFish v2)
•   Project Fuji (OpenESB v3)
What is JBI?




               23
Why JBI?
•   Many ESB products in the market
•   Each has its own pattern and specification
•   Each may use different protocols and different
    forms of communication
•   Need different ways / patterns of implementation
•   Need a ESB standard to avoid vendor lock-in
•   The ideas is this: someone implements the spec and
    then they can in turn implement engine that are
    pluggable within that container.

                                                    24
What is JBI?
•   JBI (Java Business Integration) is a specification
    published by JCP (JSR 208)
•   JBI is a message-based, pluggable meta-container
•   It is a container of containers.
•   JBI allows pluggable components to be added into
    a standard architecture




                                                     25
What Is JBI?
• Standard “meta-container”
  for integrated services
• Provides for plug-in:
   – Service Engines (SE):
     business logic
   – Binding Components:
     communications protocols
• Standard deployment
  model
• Loose coupling via WSDL
  message exchanges
  between WSDL described
  Services
JBI Architecture
Service Engines
•   Sevice Engines (SEs) are JBI components that
    enable pluggable business logic
•   SEs is a standard container for hosting WSDL-
    defined service providers as well as service
    consumers used internally by JBI
•   OpenESB offers varous SEs
     –   BPEL SE
     –   XSLT SE
     –   JavaEE SE
Binding Components
•   Binding Components (BCs) offer protocol
    independence
•   BCs provide transport protocols for external
    services
•   BCs converts a message that is bound to a specific
    protocol or transport into the normalized protocols
•   Example BCs
     –   File, HTTP, FTP, SMTP, Database (JDBC)
     –   CICS, DCOM, CORBA
Normalized Message Router
•   NMR mediates the message exchange between Ses
    and Bcs within the framework
•   NMR is the core of the bus
•   Allows services to interoperate by passing
    messages between all the components
•   NMR is bidirectional
Overview of Message Routing
JBI Runtime
OpenESB & GlassFish




                      33
What is Open ESB?
• Project Open ESB implements an Enterprise Service
  Bus (ESB) runtime using JBI as the foundation
   – This allows easy integration of web services to
      create loosely coupled enterprise class composite
      applications.
• It also provides various tools for the development,
  deployment, and management of composite
  applications



                                                          34
Open ESB Architecture




                        35
Design-Time                                           Runtime                                             Management

      IDE                                                                                                    Web Server
                              Java EE
                                                                 BPEL       XSLT      FTP
                                                                                     Many More
   Composite                                                      SE         SE       BC
                                                                                       SEs…                  Composite
                              EJBs
   Application                                                                                               Application

                 App Server
                                           Java EE
    Project                   Servlets       SE                            JBI Bus                            Manager
                                                                 HTTP        FTP      FTP
                                                                                     Many More
                                                                  BC         BC       BC
                                                                                       BCs…

     BPEL                                                                                                     BPEL
     Editor                                                                                   3rd Party       Monitor
                                                     Open Standard Based                       Service
                                                                                              Platforms
                                                     Service Bus
                                         WS-Reliable Messaging
     XSLT                                WS-Security                                                          XSLT
                                                                                          3rd Party
     Editor                              WS-FastInfoSet, …
                                                                                           Service            Monitor
                                                                                          Platforms



                                                                                                               IEP
   IEP Editor                 Java EE
                                                                 HTTP        FTP      FTP
                                                                                     Many More                Monitor
                                                                  BC         BC       BC
                                                                                       BCs…
                              EJBs
                 App Server




                                           Java EE
   Many More                  Servlets       SE                            JBI Bus                           Many More
    Many More
    Editors                                                      BPEL       XSLT      FTP                     Many More
                                                                                                              Editors
                                                                                     Many More
     Editors                                                      SE         SE       BC
                                                                                       SEs…                    Monitors
JBI Support in GlassFish
• A JBI runtime has been integrated with GlassFish V2
• GlassFish admin console now supports JBI
• Java EE Service Engine act as the bridge between Java
  EE applications and JBI
• A Java EE application archive (ear/war/jar) can be
  packaged in a JBI composite application
• JBI runtime has been enhanced to adhere to the
  appserver clustering architecture
   – Each instance in the appserver cluster will also have a JBI
     runtime in it
JBI in Admin Console
OpenESB Web Site
•   https://open-esb.dev.java.net/
•   Latest GlassFishESB v2.1 with NetBeans 6.1
•   Documents / Examples
•   43 JBI Components
JBI Components : Examples
• Service Engines • Binding Comps
  –   BPEL SE        –   MQSeries BC
  –   XSLT SE        –   Database BC
  –   JavaEE SE      –   HL7 BC      • Nolonger Maintain
  –   IEP SE         –   SAP BC
                                       – JavaScript SE
  –   POJI SE        –   SMTP BC
                                       – Aspect SE
  –   Scripting SE   –   HTTP BC       – JDBC BC
  –   WLM SE         –   JMS BC        – SMTP BC
                     –   File BC       – SQL SE
                     –   CICS BC
                     –   DCOM BC
                     –   CORBA BC
                     –   ...
Usage Scenario




                 42
Usage Scenario: Loan Processing
                • Loan Requestor Service:
                  – LoanRequestProcess
                     • WS-I BP
                     • BPEL Orchestration
                  – LoanProcessor
                     • JavaEE
                  – TransformReport
                     • XSLT
                  – LoanReportStore
                     • Business Partner thru FTP
                  – LoanReportMailer
                     • Legacy thru JMS
JBI-based
Infrastructure
                  BPEL     JavaEE   XSLT



                            NMR

                 WS-I BP    JMS      File
JBI-based         BPEL       JavaEE        XSLT
Infrastructure     Loan        Loan
                                          Transform
                  Request    Processor
                                           Report
                  Process       EJB

                                NMR
                  WS-I BP       JMS          File
                 LoanRS WS   ReportMail   ReportStore
BPEL       JavaEE        XSLT
  Loan        Loan
                         Transform
 Request    Processor
                          Report
 Process       EJB

               NMR
 WS-I BP       JMS          File
LoanRS WS   ReportMail   ReportStore
Architecture     BPEL       XSLT         JavaEE
Refactoring      Loan                     Loan
                           Transform
                Request                 Processor
                            Report
                Service                    EJB

                              NMR
                WS-I BP       JMS          File
               LoanRS WS   ReportMail   ReportStore
BPEL       XSLT        RulesEngine     JavaEE
             Loan
                       Transform       Loan
            Request                               ReportStore
                        Report       Processor
            Service

                        NMR
  JMS       WS-I BP       JMS          File
LoanRS Q   LoanRS WS   ReportMail   ReportStore
Resources
   Some contents are borrowed from the presentation
    slides of Sang Shin, Java™ Technology Evangelist,
    Sun Microsystems, Inc.
   Business Process Execution Language for Web
    Services, Matjaz B. Juric
   Java SOA Cookbook, Eben Hewitt
   Building SOA-Based Composite Applications Using
    NetBeans IDE 6, David Salter
   SOA in Practice, Nicolai M. Josuttis


                                                        49
Thank you
thanachart.numnonda@sun.com
     twitter.com/thanachart
 www.facebook.com/thanachart
     www.thaijavadev.com


                               50
Enterprise Service Bus and JBI
Enterprise Service Bus and JBI
Enterprise Service Bus and JBI

More Related Content

Similar to Enterprise Service Bus and JBI

Service Oriented Architecture (SOA) [2/5] : Enterprise Service Bus
Service Oriented Architecture (SOA) [2/5] : Enterprise Service BusService Oriented Architecture (SOA) [2/5] : Enterprise Service Bus
Service Oriented Architecture (SOA) [2/5] : Enterprise Service BusIMC Institute
 
WSO2 ESB and SOA
WSO2 ESB and SOAWSO2 ESB and SOA
WSO2 ESB and SOAWSO2
 
ESB and Mule ESB solution
ESB and Mule ESB solutionESB and Mule ESB solution
ESB and Mule ESB solutionSwati Bansal
 
Enterprise service bus(esb)
Enterprise service bus(esb)Enterprise service bus(esb)
Enterprise service bus(esb)prksh89
 
ESB and SOA
ESB and SOAESB and SOA
ESB and SOAWSO2
 
JBI and PEtALS Presentation at SOA4ALL architecture meeting
JBI and PEtALS Presentation at SOA4ALL architecture meetingJBI and PEtALS Presentation at SOA4ALL architecture meeting
JBI and PEtALS Presentation at SOA4ALL architecture meetingChristophe Hamerling
 
Integration of Web Service Stacks in an Esb
Integration of Web Service Stacks in an EsbIntegration of Web Service Stacks in an Esb
Integration of Web Service Stacks in an EsbWen Zhu
 
Enterprise Integration with the WSO2 ESB
Enterprise Integration with the WSO2 ESB Enterprise Integration with the WSO2 ESB
Enterprise Integration with the WSO2 ESB WSO2
 
Biztalk ESB Toolkit Introduction
Biztalk ESB Toolkit IntroductionBiztalk ESB Toolkit Introduction
Biztalk ESB Toolkit IntroductionSaffi Ali
 
Do We Need Esb Any More
Do We Need Esb Any MoreDo We Need Esb Any More
Do We Need Esb Any Morekaraznie
 
Esb buyers guide_final
Esb buyers guide_finalEsb buyers guide_final
Esb buyers guide_finalWSO2
 
A Buyers Guide to an Enterprise Service Bus (ESB)
A Buyers Guide to an Enterprise Service Bus (ESB)A Buyers Guide to an Enterprise Service Bus (ESB)
A Buyers Guide to an Enterprise Service Bus (ESB)WSO2
 
Webbinar slides
Webbinar slidesWebbinar slides
Webbinar slidesWSO2
 

Similar to Enterprise Service Bus and JBI (20)

Service Oriented Architecture (SOA) [2/5] : Enterprise Service Bus
Service Oriented Architecture (SOA) [2/5] : Enterprise Service BusService Oriented Architecture (SOA) [2/5] : Enterprise Service Bus
Service Oriented Architecture (SOA) [2/5] : Enterprise Service Bus
 
WSO2 ESB and SOA
WSO2 ESB and SOAWSO2 ESB and SOA
WSO2 ESB and SOA
 
ESB and Mule ESB solution
ESB and Mule ESB solutionESB and Mule ESB solution
ESB and Mule ESB solution
 
Enterprise service bus(esb)
Enterprise service bus(esb)Enterprise service bus(esb)
Enterprise service bus(esb)
 
ESB and SOA
ESB and SOAESB and SOA
ESB and SOA
 
Wso2 esb
Wso2 esbWso2 esb
Wso2 esb
 
Wso2 esb
Wso2 esbWso2 esb
Wso2 esb
 
JBI and PEtALS Presentation at SOA4ALL architecture meeting
JBI and PEtALS Presentation at SOA4ALL architecture meetingJBI and PEtALS Presentation at SOA4ALL architecture meeting
JBI and PEtALS Presentation at SOA4ALL architecture meeting
 
Integration of Web Service Stacks in an Esb
Integration of Web Service Stacks in an EsbIntegration of Web Service Stacks in an Esb
Integration of Web Service Stacks in an Esb
 
Enterprise Integration with the WSO2 ESB
Enterprise Integration with the WSO2 ESB Enterprise Integration with the WSO2 ESB
Enterprise Integration with the WSO2 ESB
 
Mule ESB Fundamentals
Mule ESB FundamentalsMule ESB Fundamentals
Mule ESB Fundamentals
 
Enterprise Service Bus Part 1
Enterprise Service Bus Part 1Enterprise Service Bus Part 1
Enterprise Service Bus Part 1
 
Biztalk ESB Toolkit Introduction
Biztalk ESB Toolkit IntroductionBiztalk ESB Toolkit Introduction
Biztalk ESB Toolkit Introduction
 
Do We Need Esb Any More
Do We Need Esb Any MoreDo We Need Esb Any More
Do We Need Esb Any More
 
Wso2 tutorial
Wso2 tutorialWso2 tutorial
Wso2 tutorial
 
Esb buyers guide_final
Esb buyers guide_finalEsb buyers guide_final
Esb buyers guide_final
 
A Buyers Guide to an Enterprise Service Bus (ESB)
A Buyers Guide to an Enterprise Service Bus (ESB)A Buyers Guide to an Enterprise Service Bus (ESB)
A Buyers Guide to an Enterprise Service Bus (ESB)
 
Webbinar slides
Webbinar slidesWebbinar slides
Webbinar slides
 
Presentation
PresentationPresentation
Presentation
 
Mule ESB
Mule ESBMule ESB
Mule ESB
 

More from Thanachart Numnonda

Thailand Digital Industry Survey Result 2021
Thailand Digital Industry Survey Result 2021Thailand Digital Industry Survey Result 2021
Thailand Digital Industry Survey Result 2021Thanachart Numnonda
 
ประวัติ (ศาสตร์) อันแสนสุขของ แถมสุข
ประวัติ (ศาสตร์) อันแสนสุขของ แถมสุขประวัติ (ศาสตร์) อันแสนสุขของ แถมสุข
ประวัติ (ศาสตร์) อันแสนสุขของ แถมสุขThanachart Numnonda
 
ข้อบังคับ สมาคมสถาปนิกเทคโนโลยีสารสนเทศประเทศไทย
ข้อบังคับ สมาคมสถาปนิกเทคโนโลยีสารสนเทศประเทศไทยข้อบังคับ สมาคมสถาปนิกเทคโนโลยีสารสนเทศประเทศไทย
ข้อบังคับ สมาคมสถาปนิกเทคโนโลยีสารสนเทศประเทศไทยThanachart Numnonda
 
Software Trends Towards AEC 2015
Software Trends Towards AEC 2015Software Trends Towards AEC 2015
Software Trends Towards AEC 2015Thanachart Numnonda
 
How would cloud computing Effect to Software Industry?
How would cloud computing  Effect to Software Industry?How would cloud computing  Effect to Software Industry?
How would cloud computing Effect to Software Industry?Thanachart Numnonda
 
Impact of cloud computing to Asian IT Industry
Impact of cloud computing  to Asian IT IndustryImpact of cloud computing  to Asian IT Industry
Impact of cloud computing to Asian IT IndustryThanachart Numnonda
 
พิชิตคู่แข่ง แซงหน้าด้วยไอที ยุคใหม่
พิชิตคู่แข่ง แซงหน้าด้วยไอที ยุคใหม่พิชิตคู่แข่ง แซงหน้าด้วยไอที ยุคใหม่
พิชิตคู่แข่ง แซงหน้าด้วยไอที ยุคใหม่Thanachart Numnonda
 
รายชื่อผู้สมควรได้รับใบประกาศเกียรติคุณโครงการวิทยาศาสตร์สู่ความเป็นเลิศ]
รายชื่อผู้สมควรได้รับใบประกาศเกียรติคุณโครงการวิทยาศาสตร์สู่ความเป็นเลิศ]รายชื่อผู้สมควรได้รับใบประกาศเกียรติคุณโครงการวิทยาศาสตร์สู่ความเป็นเลิศ]
รายชื่อผู้สมควรได้รับใบประกาศเกียรติคุณโครงการวิทยาศาสตร์สู่ความเป็นเลิศ]Thanachart Numnonda
 
พิชิตคู่แข่ง แซงหน้าด้วยไอที ยุคใหม่
พิชิตคู่แข่ง แซงหน้าด้วยไอที ยุคใหม่พิชิตคู่แข่ง แซงหน้าด้วยไอที ยุคใหม่
พิชิตคู่แข่ง แซงหน้าด้วยไอที ยุคใหม่Thanachart Numnonda
 
ไอซีทีกับการเปลี่ยนแปลงของสังคมไทย
ไอซีทีกับการเปลี่ยนแปลงของสังคมไทย ไอซีทีกับการเปลี่ยนแปลงของสังคมไทย
ไอซีทีกับการเปลี่ยนแปลงของสังคมไทย Thanachart Numnonda
 
Cloud Computing กับการใช้งานในองค์กรต่างๆ
Cloud Computing กับการใช้งานในองค์กรต่างๆCloud Computing กับการใช้งานในองค์กรต่างๆ
Cloud Computing กับการใช้งานในองค์กรต่างๆThanachart Numnonda
 
3G กับอนาคต ธุรกิจแอพพลิเคชันในเมืองไทย
3G กับอนาคต ธุรกิจแอพพลิเคชันในเมืองไทย3G กับอนาคต ธุรกิจแอพพลิเคชันในเมืองไทย
3G กับอนาคต ธุรกิจแอพพลิเคชันในเมืองไทยThanachart Numnonda
 
บทความ Google vs. Android
บทความ Google vs. Android  บทความ Google vs. Android
บทความ Google vs. Android Thanachart Numnonda
 
Technology Trends & The Impact for Software Industry
Technology Trends & The Impact for Software IndustryTechnology Trends & The Impact for Software Industry
Technology Trends & The Impact for Software IndustryThanachart Numnonda
 
อยากอยู่ 110 ปี
อยากอยู่ 110 ปี อยากอยู่ 110 ปี
อยากอยู่ 110 ปี Thanachart Numnonda
 
Java Programming: คลาสอินพุตและเอาต์พุต
Java Programming: คลาสอินพุตและเอาต์พุตJava Programming: คลาสอินพุตและเอาต์พุต
Java Programming: คลาสอินพุตและเอาต์พุตThanachart Numnonda
 

More from Thanachart Numnonda (20)

Thailand Digital Industry Survey Result 2021
Thailand Digital Industry Survey Result 2021Thailand Digital Industry Survey Result 2021
Thailand Digital Industry Survey Result 2021
 
ประวัติ (ศาสตร์) อันแสนสุขของ แถมสุข
ประวัติ (ศาสตร์) อันแสนสุขของ แถมสุขประวัติ (ศาสตร์) อันแสนสุขของ แถมสุข
ประวัติ (ศาสตร์) อันแสนสุขของ แถมสุข
 
Planning on Mobile Strategy
Planning on Mobile StrategyPlanning on Mobile Strategy
Planning on Mobile Strategy
 
ข้อบังคับ สมาคมสถาปนิกเทคโนโลยีสารสนเทศประเทศไทย
ข้อบังคับ สมาคมสถาปนิกเทคโนโลยีสารสนเทศประเทศไทยข้อบังคับ สมาคมสถาปนิกเทคโนโลยีสารสนเทศประเทศไทย
ข้อบังคับ สมาคมสถาปนิกเทคโนโลยีสารสนเทศประเทศไทย
 
Software Trends Towards AEC 2015
Software Trends Towards AEC 2015Software Trends Towards AEC 2015
Software Trends Towards AEC 2015
 
Personal Cloud
Personal CloudPersonal Cloud
Personal Cloud
 
How would cloud computing Effect to Software Industry?
How would cloud computing  Effect to Software Industry?How would cloud computing  Effect to Software Industry?
How would cloud computing Effect to Software Industry?
 
Impact of cloud computing to Asian IT Industry
Impact of cloud computing  to Asian IT IndustryImpact of cloud computing  to Asian IT Industry
Impact of cloud computing to Asian IT Industry
 
พิชิตคู่แข่ง แซงหน้าด้วยไอที ยุคใหม่
พิชิตคู่แข่ง แซงหน้าด้วยไอที ยุคใหม่พิชิตคู่แข่ง แซงหน้าด้วยไอที ยุคใหม่
พิชิตคู่แข่ง แซงหน้าด้วยไอที ยุคใหม่
 
รายชื่อผู้สมควรได้รับใบประกาศเกียรติคุณโครงการวิทยาศาสตร์สู่ความเป็นเลิศ]
รายชื่อผู้สมควรได้รับใบประกาศเกียรติคุณโครงการวิทยาศาสตร์สู่ความเป็นเลิศ]รายชื่อผู้สมควรได้รับใบประกาศเกียรติคุณโครงการวิทยาศาสตร์สู่ความเป็นเลิศ]
รายชื่อผู้สมควรได้รับใบประกาศเกียรติคุณโครงการวิทยาศาสตร์สู่ความเป็นเลิศ]
 
พิชิตคู่แข่ง แซงหน้าด้วยไอที ยุคใหม่
พิชิตคู่แข่ง แซงหน้าด้วยไอที ยุคใหม่พิชิตคู่แข่ง แซงหน้าด้วยไอที ยุคใหม่
พิชิตคู่แข่ง แซงหน้าด้วยไอที ยุคใหม่
 
ไอซีทีกับการเปลี่ยนแปลงของสังคมไทย
ไอซีทีกับการเปลี่ยนแปลงของสังคมไทย ไอซีทีกับการเปลี่ยนแปลงของสังคมไทย
ไอซีทีกับการเปลี่ยนแปลงของสังคมไทย
 
Cloud Computing กับการใช้งานในองค์กรต่างๆ
Cloud Computing กับการใช้งานในองค์กรต่างๆCloud Computing กับการใช้งานในองค์กรต่างๆ
Cloud Computing กับการใช้งานในองค์กรต่างๆ
 
3G กับอนาคต ธุรกิจแอพพลิเคชันในเมืองไทย
3G กับอนาคต ธุรกิจแอพพลิเคชันในเมืองไทย3G กับอนาคต ธุรกิจแอพพลิเคชันในเมืองไทย
3G กับอนาคต ธุรกิจแอพพลิเคชันในเมืองไทย
 
บทความ Google vs. Android
บทความ Google vs. Android  บทความ Google vs. Android
บทความ Google vs. Android
 
IT trends for co-creation
IT trends for co-creationIT trends for co-creation
IT trends for co-creation
 
Technology Trends & The Impact for Software Industry
Technology Trends & The Impact for Software IndustryTechnology Trends & The Impact for Software Industry
Technology Trends & The Impact for Software Industry
 
อยากอยู่ 110 ปี
อยากอยู่ 110 ปี อยากอยู่ 110 ปี
อยากอยู่ 110 ปี
 
Open
OpenOpen
Open
 
Java Programming: คลาสอินพุตและเอาต์พุต
Java Programming: คลาสอินพุตและเอาต์พุตJava Programming: คลาสอินพุตและเอาต์พุต
Java Programming: คลาสอินพุตและเอาต์พุต
 

Recently uploaded

Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...Peter Ward
 
20200128 Ethical by Design - Whitepaper.pdf
20200128 Ethical by Design - Whitepaper.pdf20200128 Ethical by Design - Whitepaper.pdf
20200128 Ethical by Design - Whitepaper.pdfChris Skinner
 
How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...
How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...
How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...Hector Del Castillo, CPM, CPMM
 
EUDR Info Meeting Ethiopian coffee exporters
EUDR Info Meeting Ethiopian coffee exportersEUDR Info Meeting Ethiopian coffee exporters
EUDR Info Meeting Ethiopian coffee exportersPeter Horsten
 
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...Operational Excellence Consulting
 
Psychic Reading | Spiritual Guidance – Astro Ganesh Ji
Psychic Reading | Spiritual Guidance – Astro Ganesh JiPsychic Reading | Spiritual Guidance – Astro Ganesh Ji
Psychic Reading | Spiritual Guidance – Astro Ganesh Jiastral oracle
 
Introducing the Analogic framework for business planning applications
Introducing the Analogic framework for business planning applicationsIntroducing the Analogic framework for business planning applications
Introducing the Analogic framework for business planning applicationsKnowledgeSeed
 
WSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdfWSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdfJamesConcepcion7
 
digital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingdigital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingrajputmeenakshi733
 
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdfGUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdfDanny Diep To
 
Driving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerDriving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerAggregage
 
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdftrending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdfMintel Group
 
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptx
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptxGo for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptx
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptxRakhi Bazaar
 
1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdfShaun Heinrichs
 
Pitch Deck Teardown: Xpanceo's $40M Seed deck
Pitch Deck Teardown: Xpanceo's $40M Seed deckPitch Deck Teardown: Xpanceo's $40M Seed deck
Pitch Deck Teardown: Xpanceo's $40M Seed deckHajeJanKamps
 
Interoperability and ecosystems: Assembling the industrial metaverse
Interoperability and ecosystems:  Assembling the industrial metaverseInteroperability and ecosystems:  Assembling the industrial metaverse
Interoperability and ecosystems: Assembling the industrial metaverseSiemens
 
14680-51-4.pdf Good quality CAS Good quality CAS
14680-51-4.pdf  Good  quality CAS Good  quality CAS14680-51-4.pdf  Good  quality CAS Good  quality CAS
14680-51-4.pdf Good quality CAS Good quality CAScathy664059
 
Unveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic ExperiencesUnveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic ExperiencesDoe Paoro
 
Memorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMMemorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMVoces Mineras
 
TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024Adnet Communications
 

Recently uploaded (20)

Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...
 
20200128 Ethical by Design - Whitepaper.pdf
20200128 Ethical by Design - Whitepaper.pdf20200128 Ethical by Design - Whitepaper.pdf
20200128 Ethical by Design - Whitepaper.pdf
 
How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...
How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...
How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...
 
EUDR Info Meeting Ethiopian coffee exporters
EUDR Info Meeting Ethiopian coffee exportersEUDR Info Meeting Ethiopian coffee exporters
EUDR Info Meeting Ethiopian coffee exporters
 
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
 
Psychic Reading | Spiritual Guidance – Astro Ganesh Ji
Psychic Reading | Spiritual Guidance – Astro Ganesh JiPsychic Reading | Spiritual Guidance – Astro Ganesh Ji
Psychic Reading | Spiritual Guidance – Astro Ganesh Ji
 
Introducing the Analogic framework for business planning applications
Introducing the Analogic framework for business planning applicationsIntroducing the Analogic framework for business planning applications
Introducing the Analogic framework for business planning applications
 
WSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdfWSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdf
 
digital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingdigital marketing , introduction of digital marketing
digital marketing , introduction of digital marketing
 
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdfGUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
 
Driving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerDriving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon Harmer
 
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdftrending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
 
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptx
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptxGo for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptx
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptx
 
1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf
 
Pitch Deck Teardown: Xpanceo's $40M Seed deck
Pitch Deck Teardown: Xpanceo's $40M Seed deckPitch Deck Teardown: Xpanceo's $40M Seed deck
Pitch Deck Teardown: Xpanceo's $40M Seed deck
 
Interoperability and ecosystems: Assembling the industrial metaverse
Interoperability and ecosystems:  Assembling the industrial metaverseInteroperability and ecosystems:  Assembling the industrial metaverse
Interoperability and ecosystems: Assembling the industrial metaverse
 
14680-51-4.pdf Good quality CAS Good quality CAS
14680-51-4.pdf  Good  quality CAS Good  quality CAS14680-51-4.pdf  Good  quality CAS Good  quality CAS
14680-51-4.pdf Good quality CAS Good quality CAS
 
Unveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic ExperiencesUnveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic Experiences
 
Memorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMMemorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQM
 
TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024
 

Enterprise Service Bus and JBI

  • 1. Topic 4 Enterprise Service Bus and JBI Dr.Thanachart Numnonda Sun Microsystems (Thailand) Asst.Prof.Thanisa Kruawaisayawan KMITL
  • 2. Agenda  What is ESB?  ESB Differences  What is JBI?  OpenESB &GlassFish  Usage Scenario 2
  • 4. SOA Framework Recap User Interface Dashboard (KPI) User Interface + Single Window (Portal) Business Process Management (BPEL) Build Re-usable Services (ESB) External/Internal Systems 4
  • 5. ESB  Enterprise Service Bus (ESB) is the software middleware  ESB acts as a mediator between different, often incompatible protocols and middleware products  ESB is the backbone of SOA  You can't buy SOA, but you can buy an ESB
  • 6. The role of ESB in SOA
  • 7. Features of an ESB • Web Services Support – ESB offers an ability to invoke SOAP and WSDL based Web Services • Adapters – Many ESB vendors will provide adapters to integrate with different thrd-part applications, such as PeopleSoft, SAP – Used for applications which do not directly have SOAP or XML interface • Invocation – ESB supports synchronous and asynchronous calls to services and sometimes callbacks
  • 8. Features of an ESB (Cont.) • Mediation and protocol independence – Variety of protocols can be reconciled for complex route across a variety of platform – Allows to connect with different protocols such as HTTP, FTP, SMTP, JDBC • Routing – Allows us to route the messages to different services based on their content, origin or other attributes • Transformation – Data represented as XML can be transformed using XSLT or XQuery before they are delivered to services. – Some ESB supports various XML, e.g. HL7, SWIFT
  • 9. Features of an ESB (Cont.) • Orchestration – Offers the ability to coordinate multiple services to expose them as a single proxy service – Many ESBs delegate this functionality to a BPEL engine • Security – Provides additional security capabiulity, SSL, SAML • Control over the deployment, usage and maintenance of services
  • 11. Benefits of ESB • Reduce time to integrate new and existing applicatioms • Increase flexibility because system dependencies are reduced • Simultaneous centralized management of services • Centralized management ability (e.g. BAM) • Encourage use of industry standard interface • Greater agility and responsiveness to change
  • 14. ESB Differences • Point-to-Point Connection – consumer has to know the endpoint, it sends each request to a specific receiver – The problem with this type of connection is that the call fails if the physical receiver is not available. • Mediating Conenction – identifies the provided service by a tag or symbolic that the ESB interprets to find an appropriate provider – ESB plays the role of a mediator or broker
  • 17. Interceptor (based on Point-to-Point)
  • 18. ESB Differences • Protocol Driven ESB – the ESB defines a protocol, and the providers and consumers send and receive messages according to this protoco – Example; Web Services, which require a SOAP protocol, • API Driven ESB – the ESB defines platform-specific APIs (such as Java interfaces), and the providers and consumers use these APIs for service implementations and service calls (see Connecting to an API-driven ESB).
  • 21. Commercial ESBs • IBM WebSphere ESB • Sonic ESB • Oracle Service Bus • Software AG/WebMethods ESB • Microsoft Biztalk • TIBCO ActiveMatrix and BusinessWorks
  • 22. Opensource ESB • Mule • Apache ServiceMix • OpenESB (GlassFish v2) • Project Fuji (OpenESB v3)
  • 24. Why JBI? • Many ESB products in the market • Each has its own pattern and specification • Each may use different protocols and different forms of communication • Need different ways / patterns of implementation • Need a ESB standard to avoid vendor lock-in • The ideas is this: someone implements the spec and then they can in turn implement engine that are pluggable within that container. 24
  • 25. What is JBI? • JBI (Java Business Integration) is a specification published by JCP (JSR 208) • JBI is a message-based, pluggable meta-container • It is a container of containers. • JBI allows pluggable components to be added into a standard architecture 25
  • 26. What Is JBI? • Standard “meta-container” for integrated services • Provides for plug-in: – Service Engines (SE): business logic – Binding Components: communications protocols • Standard deployment model • Loose coupling via WSDL message exchanges between WSDL described Services
  • 28. Service Engines • Sevice Engines (SEs) are JBI components that enable pluggable business logic • SEs is a standard container for hosting WSDL- defined service providers as well as service consumers used internally by JBI • OpenESB offers varous SEs – BPEL SE – XSLT SE – JavaEE SE
  • 29. Binding Components • Binding Components (BCs) offer protocol independence • BCs provide transport protocols for external services • BCs converts a message that is bound to a specific protocol or transport into the normalized protocols • Example BCs – File, HTTP, FTP, SMTP, Database (JDBC) – CICS, DCOM, CORBA
  • 30. Normalized Message Router • NMR mediates the message exchange between Ses and Bcs within the framework • NMR is the core of the bus • Allows services to interoperate by passing messages between all the components • NMR is bidirectional
  • 34. What is Open ESB? • Project Open ESB implements an Enterprise Service Bus (ESB) runtime using JBI as the foundation – This allows easy integration of web services to create loosely coupled enterprise class composite applications. • It also provides various tools for the development, deployment, and management of composite applications 34
  • 36. Design-Time Runtime Management IDE Web Server Java EE BPEL XSLT FTP Many More Composite SE SE BC SEs… Composite EJBs Application Application App Server Java EE Project Servlets SE JBI Bus Manager HTTP FTP FTP Many More BC BC BC BCs… BPEL BPEL Editor 3rd Party Monitor Open Standard Based Service Platforms Service Bus WS-Reliable Messaging XSLT WS-Security XSLT 3rd Party Editor WS-FastInfoSet, … Service Monitor Platforms IEP IEP Editor Java EE HTTP FTP FTP Many More Monitor BC BC BC BCs… EJBs App Server Java EE Many More Servlets SE JBI Bus Many More Many More Editors BPEL XSLT FTP Many More Editors Many More Editors SE SE BC SEs… Monitors
  • 37. JBI Support in GlassFish • A JBI runtime has been integrated with GlassFish V2 • GlassFish admin console now supports JBI • Java EE Service Engine act as the bridge between Java EE applications and JBI • A Java EE application archive (ear/war/jar) can be packaged in a JBI composite application • JBI runtime has been enhanced to adhere to the appserver clustering architecture – Each instance in the appserver cluster will also have a JBI runtime in it
  • 38. JBI in Admin Console
  • 39. OpenESB Web Site • https://open-esb.dev.java.net/ • Latest GlassFishESB v2.1 with NetBeans 6.1 • Documents / Examples • 43 JBI Components
  • 40. JBI Components : Examples • Service Engines • Binding Comps – BPEL SE – MQSeries BC – XSLT SE – Database BC – JavaEE SE – HL7 BC • Nolonger Maintain – IEP SE – SAP BC – JavaScript SE – POJI SE – SMTP BC – Aspect SE – Scripting SE – HTTP BC – JDBC BC – WLM SE – JMS BC – SMTP BC – File BC – SQL SE – CICS BC – DCOM BC – CORBA BC – ...
  • 41.
  • 43. Usage Scenario: Loan Processing • Loan Requestor Service: – LoanRequestProcess • WS-I BP • BPEL Orchestration – LoanProcessor • JavaEE – TransformReport • XSLT – LoanReportStore • Business Partner thru FTP – LoanReportMailer • Legacy thru JMS
  • 44. JBI-based Infrastructure BPEL JavaEE XSLT NMR WS-I BP JMS File
  • 45. JBI-based BPEL JavaEE XSLT Infrastructure Loan Loan Transform Request Processor Report Process EJB NMR WS-I BP JMS File LoanRS WS ReportMail ReportStore
  • 46. BPEL JavaEE XSLT Loan Loan Transform Request Processor Report Process EJB NMR WS-I BP JMS File LoanRS WS ReportMail ReportStore
  • 47. Architecture BPEL XSLT JavaEE Refactoring Loan Loan Transform Request Processor Report Service EJB NMR WS-I BP JMS File LoanRS WS ReportMail ReportStore
  • 48. BPEL XSLT RulesEngine JavaEE Loan Transform Loan Request ReportStore Report Processor Service NMR JMS WS-I BP JMS File LoanRS Q LoanRS WS ReportMail ReportStore
  • 49. Resources  Some contents are borrowed from the presentation slides of Sang Shin, Java™ Technology Evangelist, Sun Microsystems, Inc.  Business Process Execution Language for Web Services, Matjaz B. Juric  Java SOA Cookbook, Eben Hewitt  Building SOA-Based Composite Applications Using NetBeans IDE 6, David Salter  SOA in Practice, Nicolai M. Josuttis 49
  • 50. Thank you thanachart.numnonda@sun.com twitter.com/thanachart www.facebook.com/thanachart www.thaijavadev.com 50