- 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.