Looking for a way to solve the following problem....
Have about 40 services/products across the company. All of these services can be deployed individually or together. Unfortunately, they duplicate data. Would like to get rid of the duplication. Would it be possible to define something like an xsd per sets of tables(possibly a ddl???)? and then each product uses the ddl like a libary.
At deployment, the service A could then create tables A, B, and C and then service B is deployed, it would see table B is already there and add table D which it needs data from.
On top of this, I would be deploying admin pages that are paired with those tables, as I am not sure we would want two ways to change the same data(ie. one page through service A and one through service B).
Is there a clean way of doing something like the above? Can hibernate or some other O/R product take a ddl and some config file and spit out Java objects. Then I need something for the products in C/C++ also.
I would think this would be a very prevalent problem at large companies, and am confused as to why it would not have been solved already. Otherwise, you end up duplicating lots of data.
