SlideShare a Scribd company logo
Enterprise Service Bus
SERVICE ORIENTED ARCHITECTURE
Eng. Mahmoud Ezzat
Senior Software Engineer
Agenda
1. Architecture
2. Service-Oriented Architecture
• Overview
• What is a Service?
• Characteristics of a Service
• Reference Architecture
3. Enterprise Integration Pattern
4. Enterprise Service Bus
5. IBM Websphere ESB
• Common Used Patterns
• Service Component Architecture
Architecture
Architecture
• Architecture implies a consistent and coherent design approach.
Essential principles include:
• Consistency: The same challenges should be addressed in a uniform
way.
• Reliability: The structures created must be fit to purpose and meet the
demands for which they are designed.
• Extensibility: A design must provide a framework that can be
expanded in ways both foreseen and unforeseen.
• Scalability: The implementation must be capable of being scaled to
accommodate increasing load by adding hardware to the solution.
Service-Oriented Architecture
OVERVIEW
Service-Oriented Architecture
Overview
SOA is the architectural style that supports loosely coupled
services to enable business flexibility in an interoperable,
technology agnostic manner. SOA consists of a composite set
of business-aligned services that support a flexible and
dynamically re-configurable end-to-end business process
realization using interface-based service descriptions.
Service-Oriented Architecture
Overview
Providing a method to disconnect the service provider (service
capability which delivers a defined action) from the service requester
(client that sends the request).
Service-Oriented Architecture
WHAT IS A SERVICE?
Service-Oriented Architecture
What is a Service?
• A service is a reusable component that can be used as a building
block to form larger, more complex business-application
functionality.
• A service may be as simple as “get me some person data,” or as
complex as “process a disbursement.”
Service-Oriented Architecture
What is a Service?
• A service provides a discrete business function that operates on
data. Its job is to ensure that the business functionality is applied
consistently, returns predictable results, and operates within the
quality of service required.
• How the service is implemented, and how a user of the service
accesses it, are limited only by the SOA infrastructure choices of the
enterprise.
• From a theory point of view, it really doesn’t matter how a service is
implemented.
Service-Oriented Architecture
CHARACTERISTICS OF A SERVICE?
Service-Oriented Architecture
Characteristics of a Service?
• Supports open standards for integration: Although proprietary
integration mechanisms may be offered by the SOA infrastructure,
SOA’s should be based on open standards. Open standards ensure
the broadest integration compatibility opportunities.
• Loose coupling: The consumer of the service is required to provide
only the stated data on the interface definition, and to expect only
the specified results on the interface definition. The service is
capable of handling all processing (including exception processing).
Service-Oriented Architecture
Characteristics of a Service?
• Stateless: The service does not maintain state between invocations.
It takes the parameters provided, performs the defined function,
and returns the expected result. If a transaction is involved, the
transaction is committed and the data is saved to the database.
• Location agnostic: Users of the service do not need to worry about
the implementation details for accessing the service. The SOA
infrastructure will provide standardized access mechanisms with
service-level agreements.
Service-Oriented Architecture
REFERENCE ARCHITECTURE
Service-Oriented Architecture
Reference Architecture
Enterprise Integration Patterns
Enterprise Integration Patterns
Why Do We Need Integration?
What Makes Integration so Hard?
How can Patterns Help?
Enterprise Integration Patterns
• Integration Styles document different ways applications can be integrated. These
patterns present somewhat of a historical account of integration technologies. All
subsequent patterns follow the Messaging style.
• Channel Patterns describe the fundamental attributes of a messaging system. These
patterns are implemented by most commercial messaging systems. This section
focuses on the interrelationships between different features and highlights
implementation trade-off made by different vendors.
• Message Construction Patterns describe the intent, form and content of the messages
that travel across the messaging system. The base pattern for this section is the
Message pattern.
• Routing Patterns discuss mechanisms to direct messages from a sender to the correct
receiver. Message routing patterns consume messages from one channel and
republish the message to another channel that is determined by a varying set of
conditions. The message content is not modified. The patterns presented in this
section are special cases of the Message Router base pattern.
Enterprise Integration Patterns
• Transformation Patterns change the information content of a message. In many
cases, a message format needs to be changed due to different data formats
used by the sending and the receiving system. Data may have to be added,
taken away or existing data may have to be rearranged. The base pattern for
this section is the Message Translator.
• Endpoint Patterns describe the behavior of messaging system clients. They
illustrate different ways in which applications can produce or consume
messages.
• System Management Patterns provide the tools to keep a complex message-
based system running. A message-based integration solution can process
thousands or even millions of messages in a day. Messages are generated,
routed, transformed and consumed. The solution has to deal with error
conditions, performance bottlenecks and changes in the participating systems.
Message management patterns address these requirements.
Enterprise Integration Patterns
• Examples
http://www.enterpriseintegrationpatterns.com/toc.html
Enterprise Service Bus
IMPLEMENTATION OF ENTERPRISE
INTEGRATION PATTERNS
Enterprise Service Bus
An "Enterprise Service Bus" (ESB) is a system to which all
services are connected. Through the enterprise service bus
all connected services can also be accessed.
Implement Enterprise Integration Patterns
Enterprise Service Bus
• An ESB is used to connect the service requester to the service
provider so that messages can be routed between the two
platforms.
• The ESB is a collection of software components that manage
messaging from one part of the network to another.
• The ESB handles mismatches between the requesters and
providers, including protocol, interface or quality of service
mismatches.
Enterprise Service Bus
• The ESB processes messages exchanged between the service
endpoints.
• In contrast with regular business application components, the ESB is
concerned with the flow of the messages through the infrastructure
and not just with the business content of the messages. Rather
than performing business functions.
• The ESB performs mediation capabilities including, routing,
transformation, and logging operations on the messages.
Enterprise Service Bus
• An Enterprise Service Bus which
acts as central "bridge" or
"gateway" to all applications
exposing services underneath it.
• The term "bus" is an analogy to
the internal bus of a computer
onto which the CPU, RAM and
other chips are connected. An
enterprise service bus is typically
implemented as a server or a set
of servers, and is thus more than
just a "network".
Enterprise Service Bus
• Clients and services connected to an enterprise service bus do not
communicate directly. They communicate via the ESB.
• This is done by having the ESB essentially expose the same service
interface to potential clients, that the connected services expose to
the ESB.
Enterprise Service Bus
ESB as Single Point of Access
• One advantage of connecting clients and services via an enterprise
service bus is that clients need only look for services in a single
location: The enterprise service bus.
• If a service is moved from one server to another, you only need to
reconfigure the ESB. The clients still just access the service via the
ESB.
Enterprise Service Bus
ESB as Transaction Manager
• ESB can coordinate distributed
transactions which multiple
services participate in.
• When multiple distributed
services need to participate in a
transaction some entity typically
has to coordinate the
transaction. Rather than forcing
the client to do this, the
enterprise service bus can do so.
Enterprise Service Bus
ESB as Security Manager
• Security aspects like
authentication and
authorization can be
centralized in the enterprise
service bus. Even if a service in
an application does not have
authentication and
authorization, the enterprise
service bus can require this in
the service interface it exposes
to potential clients.
Enterprise Service Bus
ESB as Service Proxy
• An ESB may function as a gateway or
proxy for applications that do not
expose a standardized service
interface to the world. For instance,
lets say an application exposes a
Java RMI service. The rest of your
network is running on .NET which
cannot directly call the RMI service.
• To solve this problem you can
implement a service proxy in Java
which can call the RMI service. The
service proxy then exposes a web
service interface (SOAP + WSDL) via
the ESB to the .NET applications.
Enterprise Service Bus
ESB as Gateway to the World
• If some clients need to connect
to services running in the outside
world, the ESB can potentially
function as a gateway to the
world outside. Again, security
aspects etc. can be added on top
of the external service.
Furthermore, if the external
service is capable of participating
in distributed transactions, the
ESB can coordinate this too.
IBM Websphere ESB
IBM Websphere ESB
Websphere ESB is designed to provide an ESB for IT environments
built around open standards and SOA. It delivers easy to use
functionality that is built on the messaging and web services
technologies of Websphere Application Server.
IBM Websphere ESB
• Websphere Integration Developer, is the tool for use with Websphere
ESB. It is designed to build applications that will be deployed to either
Websphere ESB or Websphere Process Server.
• WebSphere ESB supports connectivity between endpoints through a
variety of protocols and application programming interfaces (APIs) such
as:
• WebServices SOAP 1.1 and 1.2
• Java Message Service (JMS) 1.1
• WebSphere MQ
• Enterprise Java Bean (EJB) Stateless Session Bean
• HTTP
• Enterprise Information Systems (EIS) integration using WebSphere Adapters
IBM Websphere ESB
COMMON USED PATTERNS
Simple Service Proxy Pattern
Service Selector Pattern
Service Translator Pattern
Service Gateway Pattern
Message Enrichment Pattern
Batch Aggregation Pattern
Multiple Source Aggregation Pattern
IBM Websphere ESB
SERVICE COMPONENT ARCHITECTURE
Service Component Architecture
• Module, A unite of deployment, where services are packaged
together.
• Modules can include:
• Service components, that hold the business function within a module.
• Imports, that are calls to services external to the module.
• Exports, that are used to expose components to callers that are external to
the module.
• Interfaces, which can be associated with one or more components.
• Stand-alone references or reference applications that are not defined as SCA
components (for exemple, JavaServer Pages).
• Other elements, for example WSDL files, Java classes, XSD files.
Service Component Architecture – Module Structure
References
• WebSphere Enterprise Service Bus - Development Guid
• IBM ESB Paper:
http://www.eecg.utoronto.ca/~jacobsen/courses/ece1770/reader06/paper-
esb1.pdf
• http://tutorials.jenkov.com/soa
• http://www.enterpriseintegrationpatterns.com/
• http://www.javaworld.com/article/2071889/soa/what-is-service-oriented-
architecture.html
• http://www.j2mesalsa.com/soa/intro.php
• http://www.secc.org.eg/recocape/Documents/SECC_Tutorials_A%20Quick%20I
ntroduction%20to%20SOA.pdf

More Related Content

PDF
Relational database- Fundamentals
Mohammed El Hedhly
 
PPTX
Smart city for b.tech
SouravChatterjee84
 
PDF
Differences Between Machine Learning Ml Artificial Intelligence Ai And Deep L...
SlideTeam
 
PPTX
Distributed approximate spectral clustering for large scale datasets
Bita Kazemi
 
PPTX
HBase Tutorial For Beginners | HBase Architecture | HBase Tutorial | Hadoop T...
Simplilearn
 
DOC
Ứng dụng ngôn ngữ UML trong phân tích và thiết kế website cho giảng viên Việ...
Nguyễn Anh
 
PPTX
Corba concepts & corba architecture
nupurmakhija1211
 
PPT
Chapter 01 - Introduction
César de Souza
 
Relational database- Fundamentals
Mohammed El Hedhly
 
Smart city for b.tech
SouravChatterjee84
 
Differences Between Machine Learning Ml Artificial Intelligence Ai And Deep L...
SlideTeam
 
Distributed approximate spectral clustering for large scale datasets
Bita Kazemi
 
HBase Tutorial For Beginners | HBase Architecture | HBase Tutorial | Hadoop T...
Simplilearn
 
Ứng dụng ngôn ngữ UML trong phân tích và thiết kế website cho giảng viên Việ...
Nguyễn Anh
 
Corba concepts & corba architecture
nupurmakhija1211
 
Chapter 01 - Introduction
César de Souza
 

What's hot (20)

PPTX
Enterprise Service Bus
Return on Intelligence
 
PPTX
ESB Presentation
F K
 
PPTX
Introduction to Microservices
MahmoudZidan41
 
PPSX
ESB Overview
Bahaa Farouk
 
PPT
Platform as a Service (PaaS) Providers
Cloud Computing Wire
 
PPTX
Microservices Decomposition Patterns
Firmansyah, SCJP, OCEWCD, OCEWSD, TOGAF, OCMJEA, CEH
 
PDF
Design patterns for microservice architecture
The Software House
 
PPTX
Microservices
SmartBear
 
PDF
Testing Microservices
Nagarro
 
PPTX
Api testing
Keshav Kashyap
 
PPTX
REST & RESTful Web Services
Halil Burak Cetinkaya
 
PPTX
Microsoft Azure - Introduction
Pranav Ainavolu
 
PPTX
Introduction to DevOps
Francesco Garavaglia
 
PPTX
.Net Core
Bertrand Le Roy
 
PPTX
Azure App Service Deep Dive
Azure Riyadh User Group
 
PDF
Introduction to WSO2 ESB
WSO2
 
PPTX
Why Enterprise Service Bus (ESB)
VTR Ravi Kumar
 
PPTX
Azure App Service
BizTalk360
 
PPTX
Introduction to microservices
Paulo Gandra de Sousa
 
PDF
Web Services (SOAP, WSDL, UDDI)
Peter R. Egli
 
Enterprise Service Bus
Return on Intelligence
 
ESB Presentation
F K
 
Introduction to Microservices
MahmoudZidan41
 
ESB Overview
Bahaa Farouk
 
Platform as a Service (PaaS) Providers
Cloud Computing Wire
 
Microservices Decomposition Patterns
Firmansyah, SCJP, OCEWCD, OCEWSD, TOGAF, OCMJEA, CEH
 
Design patterns for microservice architecture
The Software House
 
Microservices
SmartBear
 
Testing Microservices
Nagarro
 
Api testing
Keshav Kashyap
 
REST & RESTful Web Services
Halil Burak Cetinkaya
 
Microsoft Azure - Introduction
Pranav Ainavolu
 
Introduction to DevOps
Francesco Garavaglia
 
.Net Core
Bertrand Le Roy
 
Azure App Service Deep Dive
Azure Riyadh User Group
 
Introduction to WSO2 ESB
WSO2
 
Why Enterprise Service Bus (ESB)
VTR Ravi Kumar
 
Azure App Service
BizTalk360
 
Introduction to microservices
Paulo Gandra de Sousa
 
Web Services (SOAP, WSDL, UDDI)
Peter R. Egli
 
Ad

Viewers also liked (17)

PPT
Enterprise service bus(esb)
prksh89
 
PPT
ESB Concepts
Tarandeep Sawhney
 
PDF
The Enterprise Service Bus is Dead! Long live the Enterprise Service Bus, Rim...
confluent
 
PPT
Introduction to Enterprise Service Bus
Folio3 Software
 
PPTX
M baa s as the new enterprise middleware
kidozen
 
PPT
Re-using Integration Patterns as Design Knowledge
Sandeep Purao
 
PDF
ESB and SOA
WSO2
 
PPTX
ESB What it is?
Shanmugam Kandaswamy
 
PDF
Understanding JMS Integration Patterns
WSO2
 
PPTX
Pattern Driven Enterprise Architecture
Asanka Abeysinghe
 
PDF
WebLogic JMS System Best Practices
Trivadis
 
PPTX
JDC2008 - Enterprise Integration and Service Oriented Design
Hossam Karim
 
PPT
Implementation in mule esb
Vamsi Krishna
 
PPT
Sessie 17 gamification
Vereniging Vlaamse Jeugddiensten
 
PDF
JMS - Java Messaging Service
Peter R. Egli
 
ODP
SOA & ESB Presentation
erichleipold
 
PPT
Oracle WebLogic Server Basic Concepts
James Bayer
 
Enterprise service bus(esb)
prksh89
 
ESB Concepts
Tarandeep Sawhney
 
The Enterprise Service Bus is Dead! Long live the Enterprise Service Bus, Rim...
confluent
 
Introduction to Enterprise Service Bus
Folio3 Software
 
M baa s as the new enterprise middleware
kidozen
 
Re-using Integration Patterns as Design Knowledge
Sandeep Purao
 
ESB and SOA
WSO2
 
ESB What it is?
Shanmugam Kandaswamy
 
Understanding JMS Integration Patterns
WSO2
 
Pattern Driven Enterprise Architecture
Asanka Abeysinghe
 
WebLogic JMS System Best Practices
Trivadis
 
JDC2008 - Enterprise Integration and Service Oriented Design
Hossam Karim
 
Implementation in mule esb
Vamsi Krishna
 
Sessie 17 gamification
Vereniging Vlaamse Jeugddiensten
 
JMS - Java Messaging Service
Peter R. Egli
 
SOA & ESB Presentation
erichleipold
 
Oracle WebLogic Server Basic Concepts
James Bayer
 
Ad

Similar to Introduction to Enterprise Service Bus (20)

PPTX
SOA and Monolith Architecture - Micro Services.pptx
Kongu Engineering College, Perundurai, Erode
 
PPTX
Unit-I-Introduction.pptx
keerthanamp4
 
PPTX
Unit-I-Introductionwith MSA Explanation.pptx
jayakanthan8
 
PPTX
Unit-I-Introduction SOA basics MSA .PPTpptx
jayakanthan8
 
PPTX
UNIT2_Cloud Computing - Cloud Enabling Technologies
Sathishkumar Jaganathan
 
PPTX
Unit-III Service Oritented Architecture.pptx
jayakanthan8
 
PPTX
Unit-III Service Oritented Architecture.pptx
jayakanthan8
 
PPTX
Soa 14 service integration with esb
Vaibhav Khanna
 
PPTX
Service oriented architecture characteristics of soa
smithaps4
 
PDF
ITI005En-SOA (II)
Huibert Aalbers
 
PPTX
Microservice's in detailed
Mohammed Fazuluddin
 
PDF
Integrating WebSphere Service Registry and Repository V8 with Process Server
GaneshNagalingam1
 
PPTX
Understanding Service-Oriented Architecture
mohankarthik2003
 
PPT
Characteristics of SOA and benefits SOA
VahidhabanuY
 
PDF
09-01-services-slides.pdf for educations
katariraju71
 
PDF
SOA unit-3-notes-Introduction to Service Oriented Architecture
Ramco Institute of Technology, Rajapalayam, Tamilnadu, India
 
PPTX
ESB Fundamentals 3.7
StephenKardian
 
DOCX
Enterprise Service Bus Features and Advantages.docx
cirek63365
 
SOA and Monolith Architecture - Micro Services.pptx
Kongu Engineering College, Perundurai, Erode
 
Unit-I-Introduction.pptx
keerthanamp4
 
Unit-I-Introductionwith MSA Explanation.pptx
jayakanthan8
 
Unit-I-Introduction SOA basics MSA .PPTpptx
jayakanthan8
 
UNIT2_Cloud Computing - Cloud Enabling Technologies
Sathishkumar Jaganathan
 
Unit-III Service Oritented Architecture.pptx
jayakanthan8
 
Unit-III Service Oritented Architecture.pptx
jayakanthan8
 
Soa 14 service integration with esb
Vaibhav Khanna
 
Service oriented architecture characteristics of soa
smithaps4
 
ITI005En-SOA (II)
Huibert Aalbers
 
Microservice's in detailed
Mohammed Fazuluddin
 
Integrating WebSphere Service Registry and Repository V8 with Process Server
GaneshNagalingam1
 
Understanding Service-Oriented Architecture
mohankarthik2003
 
Characteristics of SOA and benefits SOA
VahidhabanuY
 
09-01-services-slides.pdf for educations
katariraju71
 
SOA unit-3-notes-Introduction to Service Oriented Architecture
Ramco Institute of Technology, Rajapalayam, Tamilnadu, India
 
ESB Fundamentals 3.7
StephenKardian
 
Enterprise Service Bus Features and Advantages.docx
cirek63365
 

Recently uploaded (20)

PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Doc9.....................................
SofiaCollazos
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 

Introduction to Enterprise Service Bus

  • 1. Enterprise Service Bus SERVICE ORIENTED ARCHITECTURE Eng. Mahmoud Ezzat Senior Software Engineer
  • 2. Agenda 1. Architecture 2. Service-Oriented Architecture • Overview • What is a Service? • Characteristics of a Service • Reference Architecture 3. Enterprise Integration Pattern 4. Enterprise Service Bus 5. IBM Websphere ESB • Common Used Patterns • Service Component Architecture
  • 4. Architecture • Architecture implies a consistent and coherent design approach. Essential principles include: • Consistency: The same challenges should be addressed in a uniform way. • Reliability: The structures created must be fit to purpose and meet the demands for which they are designed. • Extensibility: A design must provide a framework that can be expanded in ways both foreseen and unforeseen. • Scalability: The implementation must be capable of being scaled to accommodate increasing load by adding hardware to the solution.
  • 6. Service-Oriented Architecture Overview SOA is the architectural style that supports loosely coupled services to enable business flexibility in an interoperable, technology agnostic manner. SOA consists of a composite set of business-aligned services that support a flexible and dynamically re-configurable end-to-end business process realization using interface-based service descriptions.
  • 7. Service-Oriented Architecture Overview Providing a method to disconnect the service provider (service capability which delivers a defined action) from the service requester (client that sends the request).
  • 9. Service-Oriented Architecture What is a Service? • A service is a reusable component that can be used as a building block to form larger, more complex business-application functionality. • A service may be as simple as “get me some person data,” or as complex as “process a disbursement.”
  • 10. Service-Oriented Architecture What is a Service? • A service provides a discrete business function that operates on data. Its job is to ensure that the business functionality is applied consistently, returns predictable results, and operates within the quality of service required. • How the service is implemented, and how a user of the service accesses it, are limited only by the SOA infrastructure choices of the enterprise. • From a theory point of view, it really doesn’t matter how a service is implemented.
  • 12. Service-Oriented Architecture Characteristics of a Service? • Supports open standards for integration: Although proprietary integration mechanisms may be offered by the SOA infrastructure, SOA’s should be based on open standards. Open standards ensure the broadest integration compatibility opportunities. • Loose coupling: The consumer of the service is required to provide only the stated data on the interface definition, and to expect only the specified results on the interface definition. The service is capable of handling all processing (including exception processing).
  • 13. Service-Oriented Architecture Characteristics of a Service? • Stateless: The service does not maintain state between invocations. It takes the parameters provided, performs the defined function, and returns the expected result. If a transaction is involved, the transaction is committed and the data is saved to the database. • Location agnostic: Users of the service do not need to worry about the implementation details for accessing the service. The SOA infrastructure will provide standardized access mechanisms with service-level agreements.
  • 17. Enterprise Integration Patterns Why Do We Need Integration? What Makes Integration so Hard? How can Patterns Help?
  • 18. Enterprise Integration Patterns • Integration Styles document different ways applications can be integrated. These patterns present somewhat of a historical account of integration technologies. All subsequent patterns follow the Messaging style. • Channel Patterns describe the fundamental attributes of a messaging system. These patterns are implemented by most commercial messaging systems. This section focuses on the interrelationships between different features and highlights implementation trade-off made by different vendors. • Message Construction Patterns describe the intent, form and content of the messages that travel across the messaging system. The base pattern for this section is the Message pattern. • Routing Patterns discuss mechanisms to direct messages from a sender to the correct receiver. Message routing patterns consume messages from one channel and republish the message to another channel that is determined by a varying set of conditions. The message content is not modified. The patterns presented in this section are special cases of the Message Router base pattern.
  • 19. Enterprise Integration Patterns • Transformation Patterns change the information content of a message. In many cases, a message format needs to be changed due to different data formats used by the sending and the receiving system. Data may have to be added, taken away or existing data may have to be rearranged. The base pattern for this section is the Message Translator. • Endpoint Patterns describe the behavior of messaging system clients. They illustrate different ways in which applications can produce or consume messages. • System Management Patterns provide the tools to keep a complex message- based system running. A message-based integration solution can process thousands or even millions of messages in a day. Messages are generated, routed, transformed and consumed. The solution has to deal with error conditions, performance bottlenecks and changes in the participating systems. Message management patterns address these requirements.
  • 20. Enterprise Integration Patterns • Examples http://www.enterpriseintegrationpatterns.com/toc.html
  • 21. Enterprise Service Bus IMPLEMENTATION OF ENTERPRISE INTEGRATION PATTERNS
  • 22. Enterprise Service Bus An "Enterprise Service Bus" (ESB) is a system to which all services are connected. Through the enterprise service bus all connected services can also be accessed. Implement Enterprise Integration Patterns
  • 23. Enterprise Service Bus • An ESB is used to connect the service requester to the service provider so that messages can be routed between the two platforms. • The ESB is a collection of software components that manage messaging from one part of the network to another. • The ESB handles mismatches between the requesters and providers, including protocol, interface or quality of service mismatches.
  • 24. Enterprise Service Bus • The ESB processes messages exchanged between the service endpoints. • In contrast with regular business application components, the ESB is concerned with the flow of the messages through the infrastructure and not just with the business content of the messages. Rather than performing business functions. • The ESB performs mediation capabilities including, routing, transformation, and logging operations on the messages.
  • 25. Enterprise Service Bus • An Enterprise Service Bus which acts as central "bridge" or "gateway" to all applications exposing services underneath it. • The term "bus" is an analogy to the internal bus of a computer onto which the CPU, RAM and other chips are connected. An enterprise service bus is typically implemented as a server or a set of servers, and is thus more than just a "network".
  • 26. Enterprise Service Bus • Clients and services connected to an enterprise service bus do not communicate directly. They communicate via the ESB. • This is done by having the ESB essentially expose the same service interface to potential clients, that the connected services expose to the ESB.
  • 27. Enterprise Service Bus ESB as Single Point of Access • One advantage of connecting clients and services via an enterprise service bus is that clients need only look for services in a single location: The enterprise service bus. • If a service is moved from one server to another, you only need to reconfigure the ESB. The clients still just access the service via the ESB.
  • 28. Enterprise Service Bus ESB as Transaction Manager • ESB can coordinate distributed transactions which multiple services participate in. • When multiple distributed services need to participate in a transaction some entity typically has to coordinate the transaction. Rather than forcing the client to do this, the enterprise service bus can do so.
  • 29. Enterprise Service Bus ESB as Security Manager • Security aspects like authentication and authorization can be centralized in the enterprise service bus. Even if a service in an application does not have authentication and authorization, the enterprise service bus can require this in the service interface it exposes to potential clients.
  • 30. Enterprise Service Bus ESB as Service Proxy • An ESB may function as a gateway or proxy for applications that do not expose a standardized service interface to the world. For instance, lets say an application exposes a Java RMI service. The rest of your network is running on .NET which cannot directly call the RMI service. • To solve this problem you can implement a service proxy in Java which can call the RMI service. The service proxy then exposes a web service interface (SOAP + WSDL) via the ESB to the .NET applications.
  • 31. Enterprise Service Bus ESB as Gateway to the World • If some clients need to connect to services running in the outside world, the ESB can potentially function as a gateway to the world outside. Again, security aspects etc. can be added on top of the external service. Furthermore, if the external service is capable of participating in distributed transactions, the ESB can coordinate this too.
  • 33. IBM Websphere ESB Websphere ESB is designed to provide an ESB for IT environments built around open standards and SOA. It delivers easy to use functionality that is built on the messaging and web services technologies of Websphere Application Server.
  • 34. IBM Websphere ESB • Websphere Integration Developer, is the tool for use with Websphere ESB. It is designed to build applications that will be deployed to either Websphere ESB or Websphere Process Server. • WebSphere ESB supports connectivity between endpoints through a variety of protocols and application programming interfaces (APIs) such as: • WebServices SOAP 1.1 and 1.2 • Java Message Service (JMS) 1.1 • WebSphere MQ • Enterprise Java Bean (EJB) Stateless Session Bean • HTTP • Enterprise Information Systems (EIS) integration using WebSphere Adapters
  • 35. IBM Websphere ESB COMMON USED PATTERNS
  • 43. IBM Websphere ESB SERVICE COMPONENT ARCHITECTURE
  • 44. Service Component Architecture • Module, A unite of deployment, where services are packaged together. • Modules can include: • Service components, that hold the business function within a module. • Imports, that are calls to services external to the module. • Exports, that are used to expose components to callers that are external to the module. • Interfaces, which can be associated with one or more components. • Stand-alone references or reference applications that are not defined as SCA components (for exemple, JavaServer Pages). • Other elements, for example WSDL files, Java classes, XSD files.
  • 45. Service Component Architecture – Module Structure
  • 46. References • WebSphere Enterprise Service Bus - Development Guid • IBM ESB Paper: http://www.eecg.utoronto.ca/~jacobsen/courses/ece1770/reader06/paper- esb1.pdf • http://tutorials.jenkov.com/soa • http://www.enterpriseintegrationpatterns.com/ • http://www.javaworld.com/article/2071889/soa/what-is-service-oriented- architecture.html • http://www.j2mesalsa.com/soa/intro.php • http://www.secc.org.eg/recocape/Documents/SECC_Tutorials_A%20Quick%20I ntroduction%20to%20SOA.pdf