This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can components be shared in packages in component diagram

 
raj sirohi
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am struggling with component diagram, if I show packages containing components , can I have same components in two packages.

any help or thoughts will be highly appreciated.

thanks
Raj
 
raj sirohi
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no one there to help

Raj
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33667
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You realize it was the weekend, right?

I don't understand the question. Are you asking whether the a component can contain multiple packages? Or if you can have multiple components spread across the same multiple packages?
 
raj sirohi
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeanne,

Thanks for the reply.
my question is regarding the component diagram, I have been reading about component diagrams for the past one week and all the sources contradict the information.
In my component diagram I am showing packages which contain components, but these components are shared between packages, for example in presentation tier I have 3 packages each containing components, and I have two components which are in all three packages in paresentation tier. Is is ok to that components are shared between packages?

thanks a lot
Raj
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33667
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Raj,
I see. I'm not sure about the exam, but in life that does happen in small applications. In larger ones, the packages stay separate.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic