I have a question regarding class diagram presented in Cade's book. On the diagram he uses a dashed arraw to depict assoctiation between jsp pages and controller as well as between stateless beans and entities with <<uses>>. Is it UML compilant? What kind of association is this, I understand association with solid line, aggragation, composition, but cannot find anywhere association with a dashed line.
That was a lame question, of course its a dependency, I had a blackout or something , its even named 'dependency' in my uml tool . What I actually don't know is when to use which, I mean in which cases should I use generalized dependency notation and, in which cases should I use association (arrow ended or just straight line)?
You may use dependency to show that one class uses other class as method return type or method argument, one class use other class in the method body etc.
SCJP 5.0, SCWCD 5.0, SCBCD 5.0, SCEA/OCMJEA 5.0
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop