roast up an esb this christmas
DESCRIPTION
Introduction to the benefits of an ESB. Using both JBI and EIP to create an SOA architecture.TRANSCRIPT
![Page 1: Roast up an ESB this Christmas](https://reader033.vdocuments.us/reader033/viewer/2022052906/558c11bcd8b42adf758b4618/html5/thumbnails/1.jpg)
Roast upupupup
anESBthis
ChristmasChristmasChristmasChristmasthis
ChristmasChristmasChristmasChristmas
JBI/EIP – Mmmm, tastes delicious!
![Page 2: Roast up an ESB this Christmas](https://reader033.vdocuments.us/reader033/viewer/2022052906/558c11bcd8b42adf758b4618/html5/thumbnails/2.jpg)
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%2F04645384363521891399%2Fstate%2Fcom.google%2Fbroadcast• http://feedproxy.google.com/TechCrunch
![Page 3: Roast up an ESB this Christmas](https://reader033.vdocuments.us/reader033/viewer/2022052906/558c11bcd8b42adf758b4618/html5/thumbnails/3.jpg)
Google vs Tech Crunch Format
![Page 4: Roast up an ESB this Christmas](https://reader033.vdocuments.us/reader033/viewer/2022052906/558c11bcd8b42adf758b4618/html5/thumbnails/4.jpg)
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
![Page 5: Roast up an ESB this Christmas](https://reader033.vdocuments.us/reader033/viewer/2022052906/558c11bcd8b42adf758b4618/html5/thumbnails/5.jpg)
Chopping up Modules
HTTP AGGRTECHC /
![Page 6: Roast up an ESB this Christmas](https://reader033.vdocuments.us/reader033/viewer/2022052906/558c11bcd8b42adf758b4618/html5/thumbnails/6.jpg)
Cooking with Apache Maven
>mvn install>mvn install
http://repo1.maven.org/maven2/
![Page 7: Roast up an ESB this Christmas](https://reader033.vdocuments.us/reader033/viewer/2022052906/558c11bcd8b42adf758b4618/html5/thumbnails/7.jpg)
Self Raising EIP/JBI
![Page 8: Roast up an ESB this Christmas](https://reader033.vdocuments.us/reader033/viewer/2022052906/558c11bcd8b42adf758b4618/html5/thumbnails/8.jpg)
Here’s One I Here’s One I Made Earlier
Time to run the FUSE ESB and look at the
finished services
![Page 9: Roast up an ESB this Christmas](https://reader033.vdocuments.us/reader033/viewer/2022052906/558c11bcd8b42adf758b4618/html5/thumbnails/9.jpg)
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
![Page 10: Roast up an ESB this Christmas](https://reader033.vdocuments.us/reader033/viewer/2022052906/558c11bcd8b42adf758b4618/html5/thumbnails/10.jpg)
Java Business Integration (JBI)• JSR standard• Service Unit• Service Assembly• Service Assembly
![Page 11: Roast up an ESB this Christmas](https://reader033.vdocuments.us/reader033/viewer/2022052906/558c11bcd8b42adf758b4618/html5/thumbnails/11.jpg)
OSGi
• Install on a • Install on a running system• Start and Stop Bundles• Monitoring (Apache Karaf)•• Logging• Configuration
![Page 12: Roast up an ESB this Christmas](https://reader033.vdocuments.us/reader033/viewer/2022052906/558c11bcd8b42adf758b4618/html5/thumbnails/12.jpg)
FUSE ESB
![Page 13: Roast up an ESB this Christmas](https://reader033.vdocuments.us/reader033/viewer/2022052906/558c11bcd8b42adf758b4618/html5/thumbnails/13.jpg)
Enterprise Integration
PatternsPatterns
![Page 14: Roast up an ESB this Christmas](https://reader033.vdocuments.us/reader033/viewer/2022052906/558c11bcd8b42adf758b4618/html5/thumbnails/14.jpg)
Pros and Cons
� 5 Possible Tiers of Abstraction� Class� Bean
� Distance from Java� Steep Learning Curve – all new� External Dependency� Bean
� 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