SlideShare a Scribd company logo
Spring Integration - A cheaper & better alternative Srini Kumar http://www.srinikumar.com 24 / 04 / 2009
Agenda A brief on EAI  EAI Options / patterns SOA Stack / ESB Need for a simple cleaner solution What is Spring Integration  Oops did I waste all my money Conclusion References
Brief on EAI Enterprise Application Integration (EAI) is an application of technology defined as the integration of data and services between applications. Need for EAI Impossible to have a single application catering to every  IT need of an Enterprise. Multiple Applications with different technologies and protocols need to collaborate to help the business run smoothly.
Options / Patterns based on EAI Patterns from Gregor Hohpe File Transfer Have each application produce files of shared data for others to consume, and consume files that others have produced. Shared Database Have the applications store the data they wish to share in a common database and share tables. Remote Procedure Invocation  Have each application expose some of its services so that they can be invoked by others  Example: EJB Services, SOAP Messaging Have each application connect to a common messaging system, and exchange data and invoke behavior using messages Example: JMS architecture
Will EAI options suffice As applications become old integration become difficult.  Integrating each end point will create a Spaghetti File Transfer, Shared Database, RPC and Messaging are disparate because not one of them is fit for all approaches JMS, REST and SOAP are platform agnostic and they fail when they have FTP end points  ESB  Middle ware was born to solve all these issues
ESB’s provide Flexible Routing Messaging - Transformation Mediation   – using Adapters Complex Event Processing Consume and provide services – Invocation Helps in logging, auditing and authentication
ESB & other products in  a Reference Architecture
Is there an Alternative Spring Integration the cheaper alternative Don’t need to spend on SOA stack, no installations Can replace heavy ESB solutions Spring Integration is better Built on top of Spring Framework; Spring Integration applications are simple Java programs that are configured using Spring's schemas. Benefits from the same dependency injection and aspect runtime available to regular Spring bean With Spring Integration, the application context  is  the bus. The bus exists as long as the context is available.
How different than ESB ESB Spring Service bus exists between disparate systems.  Becomes spaghetti over time Spring Integration has multiple light weight messaging buses between disparate systems. This helps integration of new systems  not affecting the entire architecture and help in easy maintenance as well.
Spring Integration or ESB still confused Comparisons… ESB are highly robust and configuration based Spring is focused on Integration, not on ESB ESB are lot heavier and focuses on SOA deployment rather than integration ESB should be used for complex routing  ESB has lot more integration options as of now
Spring Integration  - Terminology Spring integration deals with notion of messages traveling thro channels A Message Channel represents the "pipe" of a pipes-and-filters  Channel Adapter connects a Message Channel to some other system.  The message starts its life at an endpoint, typically greeted by an adapter. Endpoint connects the code to the messaging system. As the message moves through the processing pipeline, it may be transformed, routed to other channels, split up, responded to, or aborted and sent on a dead message channel, all inside the bus.
Spring Integration - Advantages  Ease of adoption Programming model familiar to existing spring users. Easy Integration of messaging to existing application. Integrates seamlessly with Spring Security and Spring Web Services. Lightweight Does not require install of heavyweight software. Quick to start and stop as part of the spring Application Context. Non Intrusive Framework decouples components from messaging infrastructure. Testable Simple unit testing of POJO components. Quick and simple integration testing.
Spring Integration - Need improvements  Still new,  needs more time to mature There are several vendors and solutions, Spring needs to try that out where adapters are well established, Still adapters such as SFTP are not supported Persistent channel implementation combined with Spring Integration has a few limitations.  Need to write your own logic for now.
What else to expect Messaging gateway for Spring MVC Integration with Spring batch Spring security for end points Adapters for Spring application events Different adapters such as SFTP are being worked on
References Enterprise Integration Patterns (the book)  – by Gregor Hohpe and Bobby Woolf (Addison Wesley 2004) – website: http://www.eaipatterns.com http://www.springframework.org/spring-integration Getting started with Spring Integration by Joshua Long -  http://www.infoq.com/articles/Spring-Integration-Joshua-Long http://www.ibm.com/developerworks/library/ar-archtemp/ http://www.chariotsolutions.com/slides/pdfs/ete2008-intro-to-spring-integration-philly-emerging-tech.pdf
Thank you Any Q&A

More Related Content

What's hot (14)

PPT
Implementing an Esb using Mule
AbdulImrankhan7
 
PPTX
Mule esb whole_web_services
Naresh Naidu
 
PPT
An introduction to Apache Camel
Kapil Kumar
 
PDF
Mule ESB - Integration Simplified
Rich Software
 
PPTX
Spring integration with the Java DSL
Ben Wilcock
 
PDF
quickguide-einnovator-11-spring-integration
jorgesimao71
 
PPT
Implementing an ESB using Mule
elliando dias
 
PPTX
Niranjan mule esb
niranjan1234567
 
PPTX
JDC2008 - Enterprise Integration and Service Oriented Design
Hossam Karim
 
PDF
Syer Monitoring Integration And Batch
Dave Syer
 
PPTX
Ashok mule esb
askumar037
 
PPTX
Sai mule esb batch
saikiran6423
 
PPTX
Mule esb kranthi
kranthikumar1210
 
PPTX
Mule slides
naveenkodumuri12
 
Implementing an Esb using Mule
AbdulImrankhan7
 
Mule esb whole_web_services
Naresh Naidu
 
An introduction to Apache Camel
Kapil Kumar
 
Mule ESB - Integration Simplified
Rich Software
 
Spring integration with the Java DSL
Ben Wilcock
 
quickguide-einnovator-11-spring-integration
jorgesimao71
 
Implementing an ESB using Mule
elliando dias
 
Niranjan mule esb
niranjan1234567
 
JDC2008 - Enterprise Integration and Service Oriented Design
Hossam Karim
 
Syer Monitoring Integration And Batch
Dave Syer
 
Ashok mule esb
askumar037
 
Sai mule esb batch
saikiran6423
 
Mule esb kranthi
kranthikumar1210
 
Mule slides
naveenkodumuri12
 

Similar to Spring Integration (20)

PPTX
Sprintintegration ajip
Makarand Bhatambarekar
 
PPTX
Choosing The Right ESB
Mohammed Fazuluddin
 
PPTX
Overview of ESB at Azilen Tech Meetup
Azilen Technologies Pvt. Ltd.
 
PDF
Russell 2012 introduction to spring integration and spring batch
GaryPRussell
 
PDF
Do We Need Esb Any More
karaznie
 
PDF
The Past, Present and Future of Enterprise Integration
Kasun Indrasiri
 
PPT
WebServices and Workflow technologies
Nitin Pande
 
PPTX
Enterprise integration primer
Charles Wade
 
PDF
ESB and SOA
WSO2
 
PDF
Service Oriented Architecture (SOA) [2/5] : Enterprise Service Bus
IMC Institute
 
PDF
Enterprise Servie Bus - Enterprise Application Integration
Sherif Rasmy
 
PDF
WSO2 ESB and SOA
WSO2
 
PPSX
Getting started with Enterprise Application Integration (EAI) using Enterpris...
Tamim Khan
 
PDF
WSO2 Intro Webinar - Simplifying Enterprise Integration with Configurable WS...
WSO2
 
PDF
Enterprise Application Integration Technologies
Peter R. Egli
 
PPTX
Enterprise Spring Building Scalable Applications
Gordon Dickens
 
PPTX
An Integration Platform to Support Vision 2025
BizTalk360
 
PDF
Building enterprise depth APIs with the IBM hybrid integration portfolio
Kim Clark
 
DOCX
Enterprise Service Bus Features and Advantages.docx
cirek63365
 
PDF
Make easier Integration of your services with Fuse Solutions - RedHat 2013
Charles Moulliard
 
Sprintintegration ajip
Makarand Bhatambarekar
 
Choosing The Right ESB
Mohammed Fazuluddin
 
Overview of ESB at Azilen Tech Meetup
Azilen Technologies Pvt. Ltd.
 
Russell 2012 introduction to spring integration and spring batch
GaryPRussell
 
Do We Need Esb Any More
karaznie
 
The Past, Present and Future of Enterprise Integration
Kasun Indrasiri
 
WebServices and Workflow technologies
Nitin Pande
 
Enterprise integration primer
Charles Wade
 
ESB and SOA
WSO2
 
Service Oriented Architecture (SOA) [2/5] : Enterprise Service Bus
IMC Institute
 
Enterprise Servie Bus - Enterprise Application Integration
Sherif Rasmy
 
WSO2 ESB and SOA
WSO2
 
Getting started with Enterprise Application Integration (EAI) using Enterpris...
Tamim Khan
 
WSO2 Intro Webinar - Simplifying Enterprise Integration with Configurable WS...
WSO2
 
Enterprise Application Integration Technologies
Peter R. Egli
 
Enterprise Spring Building Scalable Applications
Gordon Dickens
 
An Integration Platform to Support Vision 2025
BizTalk360
 
Building enterprise depth APIs with the IBM hybrid integration portfolio
Kim Clark
 
Enterprise Service Bus Features and Advantages.docx
cirek63365
 
Make easier Integration of your services with Fuse Solutions - RedHat 2013
Charles Moulliard
 
Ad

Recently uploaded (20)

PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
Python basic programing language for automation
DanialHabibi2
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
Python basic programing language for automation
DanialHabibi2
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Ad

Spring Integration

  • 1. Spring Integration - A cheaper & better alternative Srini Kumar http://www.srinikumar.com 24 / 04 / 2009
  • 2. Agenda A brief on EAI EAI Options / patterns SOA Stack / ESB Need for a simple cleaner solution What is Spring Integration Oops did I waste all my money Conclusion References
  • 3. Brief on EAI Enterprise Application Integration (EAI) is an application of technology defined as the integration of data and services between applications. Need for EAI Impossible to have a single application catering to every IT need of an Enterprise. Multiple Applications with different technologies and protocols need to collaborate to help the business run smoothly.
  • 4. Options / Patterns based on EAI Patterns from Gregor Hohpe File Transfer Have each application produce files of shared data for others to consume, and consume files that others have produced. Shared Database Have the applications store the data they wish to share in a common database and share tables. Remote Procedure Invocation Have each application expose some of its services so that they can be invoked by others Example: EJB Services, SOAP Messaging Have each application connect to a common messaging system, and exchange data and invoke behavior using messages Example: JMS architecture
  • 5. Will EAI options suffice As applications become old integration become difficult. Integrating each end point will create a Spaghetti File Transfer, Shared Database, RPC and Messaging are disparate because not one of them is fit for all approaches JMS, REST and SOAP are platform agnostic and they fail when they have FTP end points ESB Middle ware was born to solve all these issues
  • 6. ESB’s provide Flexible Routing Messaging - Transformation Mediation – using Adapters Complex Event Processing Consume and provide services – Invocation Helps in logging, auditing and authentication
  • 7. ESB & other products in a Reference Architecture
  • 8. Is there an Alternative Spring Integration the cheaper alternative Don’t need to spend on SOA stack, no installations Can replace heavy ESB solutions Spring Integration is better Built on top of Spring Framework; Spring Integration applications are simple Java programs that are configured using Spring's schemas. Benefits from the same dependency injection and aspect runtime available to regular Spring bean With Spring Integration, the application context is the bus. The bus exists as long as the context is available.
  • 9. How different than ESB ESB Spring Service bus exists between disparate systems. Becomes spaghetti over time Spring Integration has multiple light weight messaging buses between disparate systems. This helps integration of new systems not affecting the entire architecture and help in easy maintenance as well.
  • 10. Spring Integration or ESB still confused Comparisons… ESB are highly robust and configuration based Spring is focused on Integration, not on ESB ESB are lot heavier and focuses on SOA deployment rather than integration ESB should be used for complex routing ESB has lot more integration options as of now
  • 11. Spring Integration - Terminology Spring integration deals with notion of messages traveling thro channels A Message Channel represents the "pipe" of a pipes-and-filters Channel Adapter connects a Message Channel to some other system. The message starts its life at an endpoint, typically greeted by an adapter. Endpoint connects the code to the messaging system. As the message moves through the processing pipeline, it may be transformed, routed to other channels, split up, responded to, or aborted and sent on a dead message channel, all inside the bus.
  • 12. Spring Integration - Advantages Ease of adoption Programming model familiar to existing spring users. Easy Integration of messaging to existing application. Integrates seamlessly with Spring Security and Spring Web Services. Lightweight Does not require install of heavyweight software. Quick to start and stop as part of the spring Application Context. Non Intrusive Framework decouples components from messaging infrastructure. Testable Simple unit testing of POJO components. Quick and simple integration testing.
  • 13. Spring Integration - Need improvements Still new, needs more time to mature There are several vendors and solutions, Spring needs to try that out where adapters are well established, Still adapters such as SFTP are not supported Persistent channel implementation combined with Spring Integration has a few limitations. Need to write your own logic for now.
  • 14. What else to expect Messaging gateway for Spring MVC Integration with Spring batch Spring security for end points Adapters for Spring application events Different adapters such as SFTP are being worked on
  • 15. References Enterprise Integration Patterns (the book) – by Gregor Hohpe and Bobby Woolf (Addison Wesley 2004) – website: http://www.eaipatterns.com http://www.springframework.org/spring-integration Getting started with Spring Integration by Joshua Long - http://www.infoq.com/articles/Spring-Integration-Joshua-Long http://www.ibm.com/developerworks/library/ar-archtemp/ http://www.chariotsolutions.com/slides/pdfs/ete2008-intro-to-spring-integration-philly-emerging-tech.pdf