Roast up an ESB this Christmas

1,613 views

Published on

Introduction to the benefits of an ESB. Using both JBI and EIP to create an SOA architecture.

Published in: Technology, Education
  • Be the first to comment

  • Be the first to like this

Roast up an ESB this Christmas

  1. 1. Roast upupupup anESB this ChristmasChristmasChristmasChristmas this ChristmasChristmasChristmasChristmas JBI/EIP – Mmmm, tastes delicious!
  2. 2. Santa has a problem, just before Christmas! • He uses RSS feeds • Google reader provide a public feed of his shared articlesarticles • Tech Crunch provide their public feed through feedproxy • Santa needs to view both feeds together, but they have different formats! ••http://www.google.com/reader/public/atom/user%2F04 645384363521891399%2Fstate%2Fcom.google%2Fbroa dcast • http://feedproxy.google.com/TechCrunch
  3. 3. Google vs Tech Crunch Format
  4. 4. Recipe Ingredients • 1 portion of Java, J2SE 6 is best • • 1 portion of Java, J2SE 6 is best • 3 spoons of Apache Maven, this will be for building • 1 tin of already prepared Enterprise Service Bus (ESB), FUSE will do fine Note: FUSE contains • Apache ServiceMix • 1 cup of Enterprise Integration Patterns (EIP), Apache Camel is preferable • 5oz of Spring bean container, helps everything blend well • Apache ServiceMix • A healthy amount of Service Oriented Architecture (SOA) • 2 dashes of Java Business Integration (JBI) • 10g of Open Services Gateway Initiative (OSGi), Apache Karaf mixed with Eclipse Equinox should be in the FUSE tin
  5. 5. Chopping up Modules HTTP AGGR TECHC / GOOGLE
  6. 6. Cooking with Apache Maven >mvn install>mvn install http://repo1.maven.o rg/maven2/
  7. 7. Self Raising EIP/JBI
  8. 8. Here’s One IHere’s One I Made Earlier Time to run the FUSE ESB and look at the finished services
  9. 9. Recipe Ingredients • 1 portion of Java, J2SE 6 is best • • 1 portion of Java, J2SE 6 is best • 3 spoons of Apache Maven, this will be for building • 1 tin of already prepared Enterprise Service Bus (ESB), FUSE will do fine Note: FUSE contains • Apache ServiceMix • 1 cup of Enterprise Integration Patterns (EIP), Apache Camel is preferable • 5oz of Spring bean container, helps everything blend well • Apache ServiceMix • A healthy amount of Service Oriented Architecture (SOA) • 2 dashes of Java Business Integration (JBI) • 10g of Open Services Gateway Initiative (OSGi), Apache Karaf mixed with Eclipse Equinox should be in the FUSE tin
  10. 10. Java Business Integration (JBI) • JSR standard • Service Unit • Service Assembly• Service Assembly
  11. 11. OSGi • Install on a• Install on a running system • Start and Stop Bundles • Monitoring (Apache Karaf) •• Logging • Configuration
  12. 12. FUSE ESB
  13. 13. Enterprise Integration PatternsPatterns
  14. 14. Pros and Cons 5 Possible Tiers of Abstraction Class Bean Distance from Java Steep Learning Curve – all new External DependencyBean EIP Route Service Unit Service Assembly High Reusability Rapid Development and Deployment Scalable and Clusterable Configurable and Extendable Monitoring and Logging tools External Dependency Working with bugs/issues Over flexibility = Excessive Configuration Debugging more difficult Loose typing more prone to error Abstraction worsens Performance? Monitoring and Logging tools Based on Standards Out of the Box Functionality Open Source Growing Feature set Large Support Community

×