Canonical schemas
Introduction
Canonical Schema is doing the same using for Canonical data model which designed to communicate between different data formats, actually this pattern used to decease the cost of integration developments while you are doing enterprise application integration and also it is used heavily in SOA solutions.
Problem
suppose you have five different schemas and you are going to integrate between them what you can do?
Solution without Canonical Schema
you will do integration and mapping between each schema you need to integrate with the other one.so you will do the below design pattern.
the problem of this solution that you are was a lot of time for mapping and integrating each schema.
Solution Using Canonical Schema
you can create common schema called(Canonical Schema) and at any given time you can translate to or from this schema. it is seems you have only one schema and any other schema can transform to it, i think it will be better for you now.so kindly find the pattern design using Canonical Schema in the image below:
I hope that helped.
3 Comments »
Leave a reply to mohammedatef83 Cancel reply
-
Archives
- June 2023 (1)
- April 2022 (2)
- May 2021 (1)
- September 2020 (1)
- August 2020 (1)
- July 2020 (2)
- March 2019 (1)
- June 2013 (1)
- May 2013 (3)
- March 2013 (1)
- February 2013 (1)
- September 2012 (2)
-
Categories
-
RSS
Entries RSS
Comments RSS
Good article. Appreciated if you can provide a sample
Comment by suresh | August 13, 2014 |
will do it soon.
Comment by mohammedatef83 | August 13, 2014 |
please try this article
Comment by mohammedatef83 | August 13, 2014 |