• 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

Petstore UML?

 
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sun says their Petstore Application is a "learning tool" but I have never seen on Sun's site, or for that matter, ANY OTHER SITE ANYWHERE, provide any sort of UML for the Petstore.
So what is the deal here? Have I missed the obvious?
thanks!
Kevin
 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kevin, don't get so annoyed because you cannot find the Petstore in Sun's website. I still think Sun's website is quite good and you can find things rather easily. You should try with IBM's website. I have to use it from time to time for Websphere and Informix. That's a real nightmare! Everything is there, but you cannot find anything! That's what happens when you let marketing guys design a technical website... a mess.
Anyway, you can find the PetStore home page at the following link:
http://java.sun.com/blueprints/code/jps131/docs/
If you scroll down and click in "Design and Implementation Guide" you will have all the UML diagrams you are after.
Eduard
 
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kevin,
I must agree that the level of documentation for petstore is pretty terrible. One would think that sun want you to look throught the code and learn the hard way. I don't have the time for that but i do wish i knew more of it as it is pretty interesting. Architects are the ones who would benefit most from it but architects are pretty busy people. After PS 1.0.1 i just gave up as there is to much to read and i have to much to do. Am i wrong? Is there a good source of docs on it?
David
 
Eduard Manas
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry David,
I don't know if you are talking about the same link as I have suggested in my previous message.
I think it makes a very interesting read, and from the point of view of an architect! You have there around 41 pages of systems requirements and architecture explanation, including class diagrams, sequence diagrams, component diagrams and explanation of J2EE blueprint patterns used.
If you still think this is a bad documentation, I don't know what else you were expecting... that's why I think you haven't seen that link yet...
Eduard
 
Kevin Thompson
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Eduard - Thanks!
I have seen posts from people who have passed part II, who make statements along these lines =>
"I used the Petstore as a design model" and "Make sure you understand the Petstore design issues"
Does this mean that what they are talking about are the UML diagrams (class diagrams, sequence diagrams, and collaboration diagrams) that occur within the link that you suggested?
thanks!
Kevin
 
Eduard Manas
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well Kevin, life is not as easy as it seems (...)
I think the architecture provided in that link is specific to the PetStore, and I don't think you should be copying it, as it may not fulfill your particular problem.
What I would suggest, however, is to study and understand it, as it provides a very good example of how to architect an application based on well proven design patterns.
Your particular problem may require some of those patterns plus some additional ones. So its your job - the top paid architect - to decide what ones you should use and what ones you should rule out, and how to use them together to make them work efficiently.
Not a simple task...
Eduard
 
Kevin Thompson
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I guess what I was meaning was that, if I am looking for a Petstore model (per successful SCEA Part II posts) I would have to go to the link you suggested. Because the actual petstore application itself, does not include UML diagrams.
As a side point - the Part II assignment is not actually what you suggested. It has nothing to do with "architecting an application based on well proven design patterns" or using patterns at all. I have the Part II assignment in my hand. The word "pattern", or "using design patterns" or "using J2EE patterns" does not occur whatsoever in the Part II assignment. Not in the requirements section, or anywhere else.
However, because overwhelmingly, the people who have successfully passed Part II, say that they used patterns, and made a big point about documenting and using patterns, I will do the same.
Actually, when you think about it - it is not quite fair. Sun is charging $250.00 for an assignment with written specifications that state you have to submit topic "ABC". However, in order to pass the assignment, you actually have to submit topic "DEF".
Kevin
[ March 20, 2003: Message edited by: Kevin Thompson ]
 
Eduard Manas
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kevin,
The point of using design patterns (either those from the GoF, or J2EE blueprints , or any other well-proven pattern) is because it avoids you reinventing the wheel over and over again.
J2EE applications are usually very complex, thus architecting and developing an application from scratch is far too costly. By using well-proven patterns, you are not only speeding up the time to architect and develop the application, but you are also using 'construction pieces' that have worked well to fulfill certain problems in the past.
Take the typical example of a construction architect. They don't reinvent how to set up the foundations of the house everytime they start working in a new project, but they have well established patterns proven to work in the past that help them speed up the architecting process plus make safe houses. In computer science, I think it happens the same.
So I think you don't need to use patterns in the assignment if you don't want... but if you want to be a top architect - and thus pass with good mark in SCEA -, you should start looking at patterns.
Regarding to Sun charging $250 (�175 in the UK) for the assignment, yes that's unfair!
Eduard
 
That which doesn't kill us makes us stronger. I think a piece of pie wouldn't kill me. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic