java - Implicit factories in UML sequence diagrams? -


the following sequence diagram models initialisation of ftp server, uses couple of factories (ftpserverfactory , listenerfactory) create required objects. unfortunately said interactions increase complexity of diagram without adding useful insight.

original diagram

i have drawn sequence diagram omitting these factories, , in opinion looks more clear.

simplified diagram

i wonder if it's possible replace <<create>> stereotype (say) <<factory>> stereotype point out objects instantiated factories. also, i'm bit dubious reply messages, if necessary show them or not.

thanks

you have freedom so. serves communicating thoughts fine. should in such cases add comment (if have no common document/glossary it) place note on diagram explaining use of <<factory>> stereotype.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -