File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

book expectations... (refactoring databases)

 
manuel aldana
Ranch Hand
Posts: 308
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what i find always difficult with schema changes is that is has the biggest possible impact on the whole application, because data is the brain and the main thing (enterprise) applications are relying on.

that means you have to change lots of things:
- domain model, which often maps more or less directly to the schema
- view components (e.g. webapp struts or jsf beans)
- business layer, which is working on or passing around data
- migration of old data to the new schema

so i think changing the data-model is the most expensive thing you can have, and that's why many hardly do data model changes, though it is often the most neccessary thing to do. i always get

so my questions to the authors or people who know this book:
1) does this book discuss above difficutlties?
2) is it totally focused on relational databases or does it discuss other database approaches too (OODBMS, XMLDBMS)?

thanks.
[ July 25, 2006: Message edited by: manuel aldana ]
 
Scott Ambler
author
Ranch Hand
Posts: 608
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so i think changing the data-model is the most expensive thing you can have, and that's why many hardly do data model changes, though it is often the most neccessary thing to do.


Yes, it's necessary so you need to get good at it. That's what this book is all about, we're bringing a common coding technique to the data community (finally!).

The greater the coupling, the greater the difficulty of refactoring something. We definitely talk about this, and highly suggest that you encapsulate database access so as to reduce coupling.

so my questions to the authors or people who know this book:
1) does this book discuss above difficutlties?
2) is it totally focused on relational databases or does it discuss other database approaches too (OODBMS, XMLDBMS)?



The focus is completely on relational databases.

- Scott
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic