How to identify the classes from use cases
Nice explanation by -Ramzi Ben Yahia- in his forum reply:
The most important is to start with a domain model which describe the "real" world ,
1-Try to build a kind of glossary from the use cases sentences
2-Extract the entities that seem important for you
3-Mke a domain diagram containing this entities this would be the domain class digram , where all the classes contain only attributes and no methods yet;
4-Then you have to add the relationships between the classes
5-Finally you have to translate this to a Software Class Digram (some of the domain classes will probably disappear and some others related to software will appear)
-- you have to think of making sequenece digrams to retrieve the methods
now get into coding this, test it
and reiterate the whole thing to make the necessary changes
Find more discussion on forum:
http://www.artima.com/forums/flat.jsp?forum=17&thread=1322
Labels: Software development, UML, Use case
