PacktLib: Service Oriented Java Business Integration

Service Oriented Java Business Integration

Credits

About the Author

Acknowledgement

About the Reviewers

Preface

Why Enterprise Service Bus

Boundary-Less Organization

Integration

Integration Architectures

Enterprise Service Bus versus Message Bus

Making the Business Case for ESB

Enterprise Service Bus

Summary

Java Business Integration

SOA—The Motto

JBI in J2EE—How they Relate

JBI in Detail

Provider—Consumer Contract

Message Exchange Patterns (MEP)

ESB—Will it Solve all Our Pain Points

Summary

JBI Container—ServiceMix

ServiceMix—Under the Hood

ServiceMix Architecture

Other ESBs

Installing ServiceMix

ServiceMix Components—a Synopsis

Your First JBI Sample—Binding an External HTTP Service

Summary

Binding— The Conventional Way

Binding—What it Means

Apache SOAP Binding

Sample Bind a Stateless EJB Service to Apache SOAP

Summary

Some XFire Binding Tools

Binding in XFire

Web Service Using XFireConfigurableServlet

Web Service using XFire Spring XFireExporter

Web Service Using XFire Spring Jsr181 Handler

XFire Export and Bind EJB

XFire for Lightweight Integration

Summary

JBI Packaging and Deployment

Packaging in ServiceMix

Deployment in ServiceMix

Packaging and Deployment Sample

Running the Packaging and Deployment Sample

Summary

Developing JBI Components

Need for Custom JBI Components

ServiceMix Component Helper Classes

Create, Deploy, and Run JBI Component

Summary

Binding EJB in a JBI Container

Component versus Services

Binding EJB Sample

Reconciling EJB Resources

Summary

POJO Binding Using JSR181

POJO

ServiceMix servicemix-jsr181

POJO Binding Sample

Accessing JBI Bus Sample

Summary

Bind Web Services in ESB—Web Services Gateway

Web Services

HTTP

ServiceMix's servicemix-http

Web Service Binding Sample

Summary

Access Web Services Using the JMS Channel

JMS

Web Service and JMS

JMS in ServiceMix

Protocol Bridge

Web Service in the JMS Channel Binding Sample

Summary

Java XML Binding using XStream

Java XML Binding

XStream in a Normalized Message Router Sample

Summary

JBI Proxy

Proxy—A Primer

ServiceMix JBI Proxy

JBI Proxy Sample Implementing Compatible Interface

JBI Proxy Sample implementing In-Compatible interface

Invoke External Web Service from the ServiceMix Sample

Summary

Web Service Versioning

Service Versioning—A Means to SOA

Strategy to Version Web Service

Web Service Versioning Approaches

Web Service Versioning Sample using ESB

Web Service Versioning Operational Perspective

Summary

Enterprise Integration Patterns in ESB

Enterprise Integration Patterns

ServiceMix EAI Patterns

EAI Patterns—Code and Run Samples in ESB

Summary

Sample Service Aggregation

Provision Service Order—Business Integration Sample

Summary

Transactions, Security, Clustering, and JMX

Cross Cutting Concerns—Support Inside ServiceMix

Sample Demonstrating Transaction

Sample demonstrating Security

Sample Demonstrating Clustering

Sample demonstrating JMX

Summary