Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

DAOFactory Classes in Sequence / Component ?  RSS feed

 
Steven Wong
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

If I'm using the DAOFactory pattern in my system, do I have to show these classes (DAOFactory, DAOXXImpl, etc) in the component and sequence diagram?
Cades book shows that the ServiceLocator pattern is being used and this class is shown in the Sequence / component.

Any suggestions / opinions on this?
 
lambertlee Li
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had the same questions. If showing DAO factory classes in class diagram, it just make my class diagram messy.

How you guys deal with this DAO factory classes in class diagram? Suggestion please!!!
 
jianming chen
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didn't show DAOFactory in any diagrams. Apparently, it makes the diagram very messy. So I just mentioned in the description of class diagram and component diagram. I'm still waiting for the final result. This may cost the points.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!