File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes DAOFactory Classes in Sequence / Component ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "DAOFactory Classes in Sequence / Component ?" Watch "DAOFactory Classes in Sequence / Component ?" New topic
Author

DAOFactory Classes in Sequence / Component ?

Steven Wong
Ranch Hand

Joined: Mar 07, 2002
Posts: 295
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?


best regards,<br />Steven<br />SCJP, SCEA
lambertlee Li
Ranch Hand

Joined: Dec 15, 2005
Posts: 52
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

Joined: Jul 21, 2009
Posts: 33
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.
 
 
subject: DAOFactory Classes in Sequence / Component ?