Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Part 2 questions: PetStore and ...

 
Denis Wang
Ranch Hand
Posts: 81
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am preparing for the part 2. Does anybody know where I can find UML diagrams for PetStore? I am reading the blueprint from javasun. However its documentation is not detailed enough at the design level for class/sequence diagrams.
I looked through Mark Cade's guide book, which gives me a good understanding what formats are expected in the assignment. The book gives me good hints on Stateless session facade, service locator, value object.. However, the big design decision about class diagram is still vague (or intentionally left out?). I am even not sure whether the class diagram is a good design, for example the ShoppingCart.
Any comments?
thanks.
Denis
 
E. Messing
Ranch Hand
Posts: 69
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Denis
Why have you decided to start with the class diagram ? It suppose to be quite detailed - and I was thinking that from an architect point of view - maybe it is better to start with the Component diagram - where you don't have to state all VO, DAO and such "best practice" classes. You can be less detailed there, layout the solution you have in your head, and then take component by component and open it up to classes.
What do you think ?
 
Denis Wang
Ranch Hand
Posts: 81
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You didn't answer any of my questions, but you are right Thanks for reminding me.
I should go for componenet diagrams before class diagrams. Anyway I will use MVC, Service Locator, STSB, ValueObject and etc. The component diagrams for architecture design won't take me long to finish. At that moment, I still need answers to the class/sequence diagrams questions for the high level OO design.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11833
181
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Denis,
Have you looked at Sun's "Architecture of the Sample Application" page? Does this give you what you need?
By the way, that link is in JavaRanch's Sun Certified Enterprise Architect Faq. If you find better diagrams, perhaps you could add links to the FAQ
Regards, Andrew
 
E. Messing
Ranch Hand
Posts: 69
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
BTW Denis, according to Cade's book example - the class diagram is a refinement of the Business Domain diagram we got in the assignment. No reference to any Design-Patterns there at all - just the very general classes - and some business logic EJB's. I also saw some notes here in javaranch that people submitted a simple and clear class diagram.
Why have you decided to include VO etc in it ?
 
Denis Wang
Ranch Hand
Posts: 81
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i mean, in the component diagrams, design pattern selection will be presented.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic