• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Part 2 questions: PetStore and ...

 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i mean, in the component diagrams, design pattern selection will be presented.
 
reply
    Bookmark Topic Watch Topic
  • New Topic