This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
This is a question on Level of detail in class diagram ..
I've read some posts in the forum regarding this assignment (Big Smokes cigar) and looks like we should not delete any existing components in the domain model that is given but we can add some components ...
I'd like to know if we can depict the shopping cart and catalog components in the class diagram. The requirement and the usecase talks about these ..so i think unless we have these in class diagram we'll not be able to have required communication among objects to achieve the desire solution (which is an online retail system/site as specified in the requirement).
"looks like we should not delete any existing components in the domain model that is given but we can add some components ... "
Try to stick to Business Domain model as much as possible. If you want to deviate-you can but provide the justification for that.
"I'd like to know if we can depict the shopping cart and catalog components in the class diagram. The requirement and the usecase talks about these ..so i think unless we have these in class diagram we'll not be able to have required communication among objects to achieve the desire solution (which is an online retail system/site as specified in the requirement). "
Like everybody, when they started working on the assignment-they were puzzled in terms of:
1) How much detail to provide?
2) What goes in where?
Your class diagram should be build around the Business Domain model-how much detail you want to go depends upon you?
There will be a temptation of putting everything in the class diagram and make it too high level-you need to make a decision.
Read the assignment-what it says "Public method names referenced in other uml diagrams like sequence diagrams should be provided"
In fact you need to come back and forth between class diagram and sequence diagram few times and then make sure that they are in sync with each other and with overall solution.
Best way to judge your progress is to ask yourself-whether it makes sense - is your documented solution is making sense and solving the given problem from the Architect's prospective? And then get it reviewed by you peer(may be already SCEA or non SCEA Architect)
Thanks for your replies and i really appreciate it !!
I should have posed my question in a more generic way instead of specifying the actual case ..
"Public method names referenced in other uml diagrams like sequence diagrams should be provided"
Thanks for re-instating this ..i think this will solve any of these problems. I guess we can do the following:
1. Stick to the domain model that is given and just add any JEEpatterns that are appropricate to depict a layered UML class diagram.
2. Any other dependent components with in the class diagram can be exposed as services provided by other components and ofcourse this should be listed in assumptions.
3. Make sure the sequence diagrams have these calls (provided by other services) represented in the flow.
4. Make sure the class diagrams have public methods to these service calls.
In normal circumstances we do design review with all stakeholders and get their approval and its an iterative process...which will give very less chance of not satisfying the stakeholders. But in this case our main stakeholder is the reviewer who reviews the design and decides if its a Pass or a Fail and we loose some money and time. I guess the whole point of all these questions is not to loose any thing.
Please feel free to add on top of this and make sure you give some generic statements so that this thread will not get locked
Joined: Apr 06, 2001
Best of luck.
I know designing SCEA assignment is different than the real project design and architect documentation. Don't worry, it's not the paper certificate that is important but the learning one come across in achieving that certificate that is more important.
Joined: Feb 09, 2010
Thanks !! I am planning to submit my assignment in couple of weeks. Can you please confirm if the points that i've highlighted in my reply to your comments are valid ?
Also is there a way to some one who has already cleared SCEA to review my initial design and let me know if i am missing any thing ??