Win a copy of Learn Java with Math: Using Fun Projects and Games this week in the Beginning Java forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

Newbie to UML

 
Ranch Hand
Posts: 227
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am newbie to A&D process,,,,I am using Rose for modelling..During analysis I am bit confused regarding relationships to be modelled between classes in class diagram..
Like I want to get clear cut definition when to depict dependency relationship between classes and when to depict association relationship...
I have 3 stereotypes for classes.. Boundary,Controller and Entity..
Also pls clarify how identifying relationships helps in next phases (design and implementation)..
Expecting feedback from UML gurus...
Thanks in advance,,,
Manohar
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi newbie,
this may help
http://www.objectmentor.com/resources/articles/umlClassDiagrams.pdf
 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Well, UML is just a notation language to learn that you can refer book "UML Distilled" by Martin Fowler or for detailed UML specification refer " UML user guide" by Booch etc...
Now, about when to use association and dependency, u will have to learn OOAD. There is gr8 for beginners ---> " Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Process (2nd Edition)" by Craig Larman
HTH,
Piyush
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Manohar Karamballi:
Also pls clarify how identifying relationships helps in next phases (design and implementation)..


There are some methodologies who try to directly connect a class/association in analysis to a corresponding class in the design.
I think this is a rather dangerous approach. Those methodologies seem to suggest that just "modeling the real world" will produce a well designed system. I don't think that is true - a good design will reasonably model *the solution*, which isn't quite the same.
So, your analysis diagrams probably won't help you much more in design and implementation than telling you what the requirements look like.
As you might have guessed, I don't think that OOA has very much to do with OOD/P. I even tend to think that the term itself is rather misleading...
 
Hey, check out my mega multi devastator cannon. It's wicked. It makes this tiny ad look weak:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!