File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DAOFactory Classes in Sequence / Component ?

 
Steven Wong
Ranch Hand
Posts: 295
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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