This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes Database design and class design Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Database design and class design" Watch "Database design and class design" New topic

Database design and class design

Gamini Sirisena
Ranch Hand

Joined: Aug 05, 2008
Posts: 347
Not sure where to post this...

What are your experiences with database design and class design?

Do you design the database first and then go on to class design?

Or class design first and then the database?

Or do you do a interwound incremental process?

What would you consider a best approach?
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Database first. Always. The data model can outlast the client program by decades; your data integrity is key, if it is well designed it protects against corruption through accident or incompetence. Relational databases are also designed to work well with properly normalized data.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: Database design and class design
Similar Threads
Singleton... discuss with me please.
database design document
Class ,sequence diagrams
Help! How does 'high school' teaching work?
bulk mail and bulk sms