• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Collaboration Diagram doubts

 
Jose Luis Iturbide
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I have a couple of doubts about component diagram.

1. What is more convenient for drawing a dependency, use, association between a Entity Manager and a Database|Tables?.

I have seen thru internet some guys draw a "use line" between EntityManager and Tables,


Meanwhile others draw an interface called JDBC in the middle and connect both components with it.


There is a big issue to choose one or the other option?


2. I wanted to express the services provided by a Entity manager as two interfaces over a port, but Magic Draw don't let me to do this, Anybody has done this?



Thank for your comments.
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. A dependency from EntityManager to Tables is okay, but provided JDBC interface seems wrong to me, "Databases" don't provide JDBC interface, SUN provides JDBC interfaces.
Anyway, I think it's too detailed to present Tables/Databases components.

2. Which version of MagicDraw are you using? MagicDraw 14 has at least one bug about using Port.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic