Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How many classes are there in your assignment?

 
Kay Badri
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just want to know how many classes are there in your solutions (Approx). I know the numbers can vary but interested in knowing some some ball park figures!
 
Peter Bergoff
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm basing my class design off of Cade's example. I expect mine will have around 12 to 15. What do others think?
 
Ip Patrick
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Expanding the domain model given, my class diagram also contains about 15 classes.

Hope it helps.

Patrick
 
Luciano Queiroz
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you include any class like Session Bean, Facade, Service Locator, etc. inside your class diagram?

Did you create another class that does not directly reflect the BDM?

In my class diagram I've included only classes that comprise the core business.

Last question: in the sequence diagram, did you also include business delegate and session facade?
 
Renee Dopplick
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kay > How many classes?
Luciano > Did you include any class like Session Bean, Facade, Service Locator, etc. inside your class diagram?

For this project, I think 10-20 classes is a rough estimate. Part of the confusion I think between what should be in the class diagram vs component diagram stems from the many examples, including the Sun example entitled: "Figure 11.9 Class Diagram Showing Sample Application Architectural Components" Notice the two words "class" and "component" in that figure title:
http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/app-arch/app-arch5.html
There is no definitive answer here. I tend towards the Cade/Roberts approach. Their class diagram includes processors (p.169).

- Renee
 
Kay Badri
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with Renee.

To keep the flow clean Cade/Roberts approach appear to be better.

The diagram referred here is little cluttered for a class diagram (Personal opinion). It can always be argued that without showing patterns what is architecture!

http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/app-arch/app-arch5.html

Kay
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic