3 min read

Many of you as ( Java) programmers generate business purpose code, like “confirming an order” or “find available products”. At times, you may also want to connect to external systems and services, since your application in isolation alone will not provide you the required functionality. When the number of such connections increases, you would be generating more and more of “integration code”, mixed along with your business code. For single or simple systems and services this is fine, but what if your “Enterprise” has got many (say 100? or even more…) such systems and services to be integrated together? Here, integration becomes a prime concern, which is separate from fulfilling your business concerns. In the SOA context, we will have services fulfilling your business use cases. Existing Java tools help us to define services. But are they enough to support Service Oriented Integration (SOI)? Perhaps not, and this is where JSR-208 (Java Specification Request) introduces the Java Business Integration (JBI) specification. And in the world of integration, we have multiple Architectures to follow including the Point-to-Point, Hub-and-Spoke, Message-Bus and the Service-Bus. Each of them have their own advantages and disadvantages, and the Enterprise Service Bus (ESB) is an Architectural pattern best suited for doing SOI. This book provides a consistent style and visual representations to describe the message flows in sample scenarios, which helps the reader to understand the code samples fully. This book also presents practical advice on designing code that connects services together, based again on practical experiences gathered over the last one decade in java business integration. I believes in “Practice What You Preach” and hence equips you with enough tools to “Practice What You Read”.

What does the book have to offer? or What does it teach?

  • This book introduces ESB – The book guarantees you understand ESB and can also code for ESB.
  • This book introduces JBI – The book don’t reproduce specification, but give you just enough highlights alone.
  • Teaches you ServiceMix – ServiceMix is an Apache Open source Java ESB. The book teach you from step 1 of installation
  • Teaches you to implement practical scenarios – Proxies, Web Services gateway, web services over JMS, service versioning, etc.
  • Implementation for EIP – Gives you code on how to implement Enterprise Integration Patterns by Gregor Hohpe and Bobby Woolf
  • For more, have a glance through the Table of Contents [PDF]

Who would benefit from it?

  • Any Java/J2EE enthusiast, who wants to know something more than daily POJO, Spring & Hibernate
  • Developers & Architects who deals with integration
  • Developers & Architects who don’t consciously deal with integration – its high time for you to seperate out spaghetti integration aspects from your business purpose code – for that, you need to first understand and sense integration!
  • Even people with Non-Java background – My .NET peers, don’t envy on the lightweight approaches described in this book using java tools. The integration is done mostly in XML configurations with minimum java code, and you too can benefit from the literature.
  • Anything special about the book

    • First book published on JBI
    • First book published on Apache ServiceMix
    • First book which shows you how to integrate following ESB, using lightweight tools.
    • A book with code, which makes you feel running and seeing the code in action, even without actually running the code (nothing prevents you from trying the samples). You can go though a Sample Chapter here: JBI-Bind-Web-Services-in-ESB-Gateway.pdf [1 MB]
    • No heavy Workshops, IDEs, Studios, Plugins or 4GB RAM required – Use a text editor and Apache Ant, and you can run the samples.
    • Based on existing knowledge on web services
    • Authored and reviewed by practicing Architects, who are developers too in their everyday role.

    What this book is not about?

    • Not a collection of white papers alone – The book provide you implementation samples.
    • Not a repetition of ServiceMix online documentation – The book provide practical scenarios as samples
    • Not about JBI Service Provider Interface (SPI) – Hence this book is not for tool vendors, but for developers

    Fine, if you think you need some starters before the real chill, you can go through the article titled Aggregate Services in ServiceMix JBI ESB

    Subscribe to the weekly Packt Hub newsletter

    * indicates required


    Please enter your comment!
    Please enter your name here