Book Image

Service Oriented Java Business Integration

Book Image

Service Oriented Java Business Integration

Overview of this book

Table of Contents (23 chapters)
Service Oriented Java Business Integration
Credits
About the Author
Acknowledgement
About the Reviewers
Preface

Web Service Versioning Sample using ESB


We discussed the theory of web service versioning, now it is time to put that in code. Let us do that with the help of a sample use case. One thing to be noted here is that to implement the sample we make use of EIPs building blocks which are described in detail in a chapter of their own.

Sample Use Case

The sample use case is about setting up the JBI components to effectively enable the versioning mechanism in the services. All these components are configured in the ESB. An external client interacts with the ESB thus testing the versioning mechanism. The ESB is bound to the different versions of services, which are defined external and remote to the ESB. The ESB will apply the versioning rules and route the requests to the respective version of the service. The sample use case is illustrated here in the following figure:

In fact this sample is not as complicated as the figure make it look. We will see the individual components first and understand...