Forums Register Login

Class diagram

+Pie Number of slices to send: Send
All-
In many thread I have gone through (especially the one Parag wrote), I saw the class diagram only depict business objects. What I understood here is that

-No technology related classes (servlet,jsp,ejb)
-No pattern related classes
-Only pure business (domain classes)

But I certain threads I saw the classdiagrams are having around 20 classes. Do we have that much domain objects/or I am I missing.

-Ranjeeth
+Pie Number of slices to send: Send
ranjeeth,
I have read a lot of threads about class diagram.
People have had good scores on the class diagram with the number of classes varying from (15-25)!
It really depends on the amount of detail you want to put in your class diagrams. (e.g. it is also possible to put in all the classes in the webtier; but you will end up with a large diagram).
I think if you use Cade's Guide as your guideline you will end up
with a design of about 15-20 classes.
regards,
J
+Pie Number of slices to send: Send
Hi Josep-
Thanks for ur quick reply. Just wanted to confirm, ur refferring to "Sun Certified Enterprise Architect for J2EE techonolagy study guide " by Mark Cade and Simon Roberts.

Thanks in advance
Ranjeeth
+Pie Number of slices to send: Send
Hi,

I have the same question. I have limited my class diagram to the domain objects i.e. no j2ee components and (critically) no pattern classes e.g. VLH or App Controller.

If this is correct, where do we specify POJO classes in patterns? Are they components in the component diagram anyway?

examples are Application Controllers, Business Delegates...

I think I am answering my own question actually

I will include the pattern classes as a component in the component diagram and mark it as POJO with a stereotype.

does this make sense?
+Pie Number of slices to send: Send
ranjeeth,
Yes it's 'mark cade and simon roberts' guide.

Jono,
yes makes a lot of sense, I'am following the same approach.

regards,
J
+Pie Number of slices to send: Send
Hi-
Thanks for ur reply. I was going through Cade's book. In the class diagram, attributes are not shown, mentioning that it will be done by developers at the time of detailed design.

is that what everybody following

Thanks
Ranjeeth
Creativity is allowing yourself to make mistakes; art is knowing which ones to keep. Keep this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 929 times.
Similar Threads
Cleared Part II/III...99%
splitting the class diagrams
Class Diagram question...
Passed PartII-III with 100%
Part II Class Diagram Question
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 22:56:23.