Professional Documents
Culture Documents
? JBI Architecture JBI Component Packaging Component Lifecycle System Management & Administration JBI Messaging Model NMR Message Exchange Patterns Integration Scenario What Next ? Why JBI ? Provides a service-oriented integration framework Creates a multi-vendor pool of integration components Give users the choice of components to use including developing custom components Eliminates vendor lock-in WHY JBI ? (Cont.)
Point to Point Integr ation N*N-N conne ctions 2*(N1) adapt ors per comp onent Service Oriented Integrati on 2N connecti ons 2 adaptors per compone nt
D Ad apt ors
What is JBI ? Standards-based architecture for integration solutions Allows third-party components to be plugged in into a standard integration infrastructure Components communicate via WSDL-based mediated message exchanges
JBI Architecture
JBI Architecture
JBI ENVIORNMENT
Local Providers /Consumers
SE
DC
SE
DC
Installation Deployment Control
NMR
DC DC Protocol Handlers
JMX Apps
Monitoring
BC
BC
JBI Component Packaging Service Engines Business Logic Providers Orchestrate Service Consumption and provision. Binding Components To communicate using remote protocols. To normalize/denormalize messages. Shared Libraries Group of Libraries that can be used by all the components. Service Units Artifacts meant to be deployed for a specific component. Provides the run time configurations for the component. Service Assemblies Collection of service units. Deployed in JBI Environment
A component starts in the so-called empty state: it is either not yet installed, or has been uninstalled
The started state means that the component is actively offering and consuming services (accepting and creating new MessageExchange instances via its DeliveryChannel). The stopped state means that the component is no longer offering and consuming services. The shutdown state means that the component is no longer offering and consuming services, and that all resources used by the component have been released. This state is generally entered prior to full shutdown of the JBI system
onUninstall()
shutdown
onInstall()
init()
shutDown()
stop()
started
start()
stopped
System Management and Administration Java Management eXtensions (JMX) based Provides life cycle services for SEs and BCs Install SE/BC Start SE/BC Stop SE/BC Shutdown SE/BC Uninstall SE/BC Provides life cycle services for composite applications Deploy Service Assembly Start Stopping Service Assembly
Concrete Model
Binding types: A binding type identifies the type of protocol to which the service is being "bound". Endpoint: Designates the communications endpoint information needed by a service consumer to interact with a service provider, using a particular protocol. Service : A service is a collection of endpoints that offer access to the same service
NMR
The Normalized Message Router (or NMR) receives message exchanges from JBI components and routes them to the appropriate component for processing. This decouples the service producers from service consumers. Point-to-point solutions, where each of n components requires n-1 interfaces for full communication, are replaced by a bus solution where each component requires a single interface to the bus for global communication. Benefits of NMR distributed - to remove geographical constraints message-based - to promote loose coupling open standards-based - to preserve investment and encourage participation reliable - to meet the requirements of mission-critical business operations
A Normalized Message
NMR
HTTP/SOAP BC
DC Protocol Conversion/Message Normalization
Message Flow