mimi mang wrote:Thank you for your share. I also read his chapter 9 of the new book to be published. Similar to the book of Mark, they really do the overall architecture without detail design. But I feel the assignment require you do kind of detail design because of the requirement of methods in sequence diagram need be in class diagram as well. For this requirement, I am still struggling of how to tradeoff it. Before I do this assignment, I feel it's a piece of cake. but when I am working on it, there are tons of things you need consider...... As a result, they will be complicated and clutter in the diagrams. Just because of this single requirement of methods need to be on class diagram, I am totally screwed up.
But Mark's sequence diagram is based on components other than classes. This makes sense from high level designing perspective. When you see Humphrey's chapter 9, his sequence diagram has no those DAOs which were shown on component diagram. The interesting thing is there is a JPA Entity Manager object on the sequence diagram other than DAO's. What if I do as his example? The most hard part of the assignment for me is not sure what level of detail or abstraction I should provide. But from my opinion, I think both examples in the 2 books are fine for architecture level design although it's not a complete solution of the business problem.
Any thoughts for share are appreciated.
I agree with you that in the book of Cade, the solution is rather minimalistic. I'm confused about the
JSP pages present in the class diagram.
I think that the requirement for methods used in th sequence diagrams to be present in the class diagram, doesn't concern the presentation layer. I want to use
JSF framework for my presentation and normally I would add a managed bean in the sequence diagram, but not in the class diagram -otherwise my class diagram will become huge and too detailed while no added value for the diagram.