JavaBusiness Integration is a specification developed under the Java Community Process for an approach to implementing a service-oriented architecture. The JCP reference is JSR 208 for JBI 1.0 and JSR 312 for JBI 2.0. JSR 312 was removed from the JCP balloting process on 17 Dec, 2010 by the submitters without being accepted. JBI is built on a Web Servicesmodel and provides a pluggable architecture for a container that hosts service producer and consumer components. Services connect to the container via binding components or can be hosted inside the container as part of a service engine. The services model used is Web Services Description Language 2.0. The central message delivery mechanism, the normalized message router, delivers normalized messages via one of four Message Exchange Patterns, taken from WSDL 2.0:
In-Only: A standard one-way messaging exchange where the consumer sends a message to the provider that provides only a status response.
Robust In-Only: This pattern is for reliable one-way message exchanges. The consumer initiates with a message to which the provider responds with status. If the response is a status, the exchange is complete, but if the response is a fault, the consumer must respond with a status.
In-Out: A standard two-way message exchange where the consumer initiates with a message, the provider responds with a message or fault and the consumer responds with a status.
In Optional-Out: A standard two-way message exchange where the provider's response is optional.
To handle functionality that deals with installation, deployment, monitoring and lifecycle concerns amongst BCs and SEs, Java Management Extensions is used. JBI defines standardized packaging for BCs and SEs, allowing components to be portable to any JBI implementation without modification. JBI defines standard packaging for composite applications: applications that are composed of service consumers and providers. Individual service units are deployable to components; groups of service units are gathered together into a service assembly. The service assembly includes metadata for "wiring" the service units together, as well as wiring service units to external services. This provides a simple mechanism for performing composite application assembly using services.
Mule. Though not a JBI compliant container by itself, Mule provides interoperability with JBI containers. There is a separate Mule-JBI project that is to address this JBI compliance issue.
The following ESBs are certified by the JBI/JSR 208 TCK: Open ESB and Petals ESB. In addition, the ProjectGlassFish open-source Java EE application server comes with the JBI runtime from the Open ESB project. Java EE SDK also includes the JBI runtime and a BPEL orchestration engine. Oracle claims its Fusion Middleware comes with JBI implementation. TIBCO ActiveMatrix Service Grid provides a service container framework, based on the JSR 208 and SCA specifications, allowing service containers to be added as needed, as composite applications on a common foundation.
Existing JBI Components
The project on java.net is an incubator project started to foster community-based development of JBI components that conform to the Java Business Integration specification.
Books
Binildas A. Christudas, "Service-Oriented Java Business Integration", http://www.packtpub.com/service-oriented-java-business-integration