Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BDM- Can we eliminate classes?

 
Srinivasan Rengan
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is my question.

I am going through the JustBuildIt sample from Sun's (oops. Oracle's ) tutorial. The business domain model mentioned over there was having few things like @Wood, @Steel etc etc.

Now my point is, looking at this from an extensibility perspective, we should have not specific classes instead we would have something like MaterialCategory class which could be thought of an @Entity holding code and description (etc etc), which could be associated with something like an @Entity called Material (or something like that)

Now, can we actually do these kind of assumptions in our actual assignment or is it like we should have all the classes from the BDM present (In short, I know we can introduce new classes based on the requirement but can we eliminate something from our BDM)

Your help would greatly be appreciated.
S.
 
Rajiv Shr
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did the same thing in Part 2, where I replaced the different types of Concrete Parts given in the BDM with a PartCategory and a PartType and a PartProperties class. I then used a Part composite class to tie them all together. I justifed my design in the Design Assumptions section.

Worked out fine for me and I passed the exam. But there are others on this forum who advise against changing the BDM. My opinion is, go ahead and replace the BDM components (dont eliminate completely). As long as your design makes sense, you should be ok.

- Rajiv
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic