Data Model Evolution

Posted by redleafong on Stack Overflow See other posts from Stack Overflow or by redleafong
Published on 2010-06-06T04:43:22Z Indexed on 2010/06/06 4:52 UTC
Read the original article Hit count: 281

Filed under:
|

Hey guys,

When writing code I am seeing requirements to change data models (e.g. adding/changing/removing data members from a class). When these data models belong to an interface, it seems difficult to change without breaking the existing client codes. So I am wondering if there is any best practice of designing interfaces/data models in a way to minimize the impact during evolution.

The closest thing I can find from google is data contract versioning. But that seems to be a .net specific topic. I am wondering if the same practice applies to the Java world, or there is a different or generic way to deal with data model evolution.

Thanks

© Stack Overflow or respective owner

Related posts about java

Related posts about data-modeling