
Enterprise Service Bus integration solutions for Java developers
Binildas A. Christudas
Yearly subscription | $220.00 | Monthly subscription | $21.99 |
Overview of Service Oriented Java Business Integration
- Vendor-independent integration of components and services through JBI explained with real-world examples
- Hands-on guidance to ESB-based Integration of loosely coupled, pluggable services
- Enterprise Integration Patterns (EIP) in action, in code
- ESB integration solutions using Apache open-source tools
[ Detailed Information ]
Language : EnglishPaperback : 436 pages [ 235mm x 191mm ]
Release Date : March 2008
ISBN : 1847194400
ISBN 13 : 978-1-847194-40-4
Author(s) : Binildas A. Christudas
[ Book Links ]
[ In Detail ]
|
The goal of Java Business Integration (JBI) is to allow components and services to be integrated in a vendor-independent way, allowing users and vendors to plug and play.
Java Business Integration (JBI) is a specification aiming to define a Service Provider Interface for integration containers so that integration components written for these containers are portable across containers and also integrate with other components or services using standard protocols and formats. JBI is based on JSR 208, which is an extension of Java 2 Enterprise Edition (J2EE).
This book first discusses the various integration approaches available and introduces the Enterprise Service Bus (ESB), a new architectural pattern that facilitates integrating services. ESB provides mediation services including routing and transformation. Java Business Integration (JBI) provides a collaboration framework that provides standard interfaces for integration components and protocols to plug into, thus allowing the assembly of Service-Oriented Integration (SOI) frameworks following the ESB pattern. Once JBI and ESB are introduced, we look at how we have been doing service integration without either of these using traditional J2EE. The book then slowly introduces ESB and, with the help of code, showcases how easily things can be done using JBI.
Get hands-on guidance to ESB based Integration using lightweight, open-source Java Business Integration tools.
What you will learn from this book :
- Assembling services and porting them across containers using JBI
- Exposing EJB as a WSDL-compliant service across firewalls
- Binding remote services to ESB to be consumed internally
- Exposing local components in ESB like POJO as externally accessible WSDL-compliant services
- Providing a web service gateway for external consumers
- Accessing web services over a reliable transport channel like JMS
- Implementing web service versioning using ESB
- Implementing service aggregation at ESB
- Transactions, Security, Clustering, and JMX in ESB
Chapter 1 begins with a quick tour on Enterprise Integration and the associated issues so that you can better understand the problem that we are trying to solve, rather than following a solution for an unknown problem. We also introduce Enterprise Service Bus (ESB) architecture and compare and contrast that with other integration architectures.
Chapter 2 introduces Java Business Integration (JBI), inspects the need for another standard for Business Integration, and looks into the details of what this standard is all about.
Chapter 3 introduces ServiceMix, which is an open-source ESB platform in the Java programming language, built from the ground up with JBI APIs and principles. It also runs through a few other ESB products.
Chapter 4 looks at how we have been binding services locally or remotely even before the ESB became popular. The chapter demonstrates how tunneling using conventional J2EE tools will help to expose even technology-specific API services. An example of such a service is an EJB service to be exposed through firewalls over HTTP, so that the service becomes technology agonistic.
Chapter 5 introduces XFire, which is a new generation Java SOAP framework to easily expose web services. Here we demonstrate the integration capabilities of XFire.
Chapter 6 teaches you JBI packaging and deployment. After going through this chapter you will be able to build, package, and deploy integration artifacts as standard JBI packages into the JBI container.
Chapter 7 teaches you how to create your own components and deploy them onto the JBI container. This chapter visits the core API from the ServiceMix as well as from the JBI specification, which will function as useful helper classes using which you can develop integration components quickly.
Chapter 8 shows you how to bind Enterprise Java Beans components to the ESB. EJB is the Distributed Component paradigm in the Java-J2EE world and the industry has a lot invested in this technology. Coexisting services with those components will help you to reuse those existing investments so that we can continue building new systems based on higher levels of SOA maturity.
Chapter 9 shows POJO Binding to the ESB using JSR181. POJO components can be easily exposed as WSDL-compliant services to the JBI bus.
Chapter 10 illustrates how to bind web services to the ServiceMix ESB, thus creating a web services gateway at the ESB layer.
Chapter 11 looks at how Java Message Service (JMS), which is a platform-dependent messaging technology, can increase the QoS features of web services by making web services accessible through the JMS channel.
Chapter 12 introduces Java XML binding and XStream, which is a simple open-source library to serialize Java objects to XML and back again. We show the XStream integration with ESB demonstrating streaming of data across the bus.
Chapter 13 visits the JDK Proxy classes and then explains the JBI Proxy in detail with examples. We show a practical use of the JBI Proxy—Proxying the external web services in the JBI bus.
Chapter 14 explains versioning in the SOA context and explains various strategies and approaches to versioning services. It also explains and demonstrates a versioning example leveraging the targetNamespace attribute. Versioning services, especially versioning of web services, is a topic of heated discussion in many forums and sites.
Chapter 15 explains that the EAI patterns are nuggets of advice made out of aggregating basic Message Exchange Pattern elements to solve frequently recurring integration problems. We can look at EAI patterns as design patterns for solving integration problems. This chapter demonstrates many of the common EAI patterns.
Chapter 16 looks into a sample use case. One of the useful applications of ESB is to provide a "Services Workbench" in which we can use various integration patterns available to aggregate services to carry out business processes.
Chapter 17 visits a few selected QoS features such as Transactions, Security, Clustering, and Management, which can impact the programming and deployment aspects using ESB.
Approach
The book covers all concepts with examples that can be built, deployed, and run by readers using the Apache Ant tool in Apache ServiceMix, which is an open-source Enterprise Service Bus that combines the functionality of a Service Oriented Architecture (SOA) and an Event Driven Architecture (EDA).
The aim of this book is to prepare an architect or developer for building integration solutions using ESB. To that end, this book takes a practical approach, emphasizing how to get things done in ServiceMix with code. When needed, it delves into the theoretical aspects of ESB, and such discussions are supplemented with working samples. The book, thus, distils some of the knowledge that has emerged over the last decade in the realm of Java Integration.
Who this book is written for
This book is aimed at Java developers and integration architects who want to become proficient with the Java Business Integration (JBI) standard. Readers should have some experience with Java and have developed and deployed applications in the past, but need no previous knowledge of JBI. The book can also be useful to anyone who is struggling to understand ESB and how it differs from other architectures and to understand its position in SOA.
This book primarily targets IT professionals in the field of SOA and Integration solutions—in other words, intermediate to advanced users. You are likely to find the book useful if you fall into any of the following categories:
- A programmer, designer, or architect in Java who wants to learn and code in JBI or ESB.
- A programmer, designer, or architect who doesn't normally code in Java can still benefit from this book, since we 'assemble integration components' using XML with little to no Java code.
- An IT Manager or an Officer who knows well about SOA or SOI but want to see something in code (you can adorn your flashy presentations with some live code too).