• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Rational Rose - Problem with dependency relationship between interface and package

 
Pankaj Mishra
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,
I am trying to create a dependency relationship in my component diagram between the interface and the external subsystem(similar to Cade's) using Rational Rose.

Rose is not allowing me to create the dependency and is giving the folowing error

“Illegal component dependency relation.
Dependency must connect components or packages”


How can I create the relationship ? I am sure it must be possible since Cade too shows it.
Pls help!!

Thanks
Pankaj Mishra
 
Required Field
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Some UML tools use strict profiles (from the UML spec). This means you cannot do anything outside of what the spec allows you to do.

But UML is such an abstract modelling language, that in real life, you could get away with unconventional diagrams as long as you convey the meaning clearly.

Try using some other form of connector (like association) and use the 'stereotype' extension mechanism to convey your intention/meaning.

All the best.

Originally posted by Pankaj Mishra:
Hi Friends,
I am trying to create a dependency relationship in my component diagram between the interface and the external subsystem(similar to Cade's) using Rational Rose.

Rose is not allowing me to create the dependency and is giving the folowing error

“Illegal component dependency relation.
Dependency must connect components or packages”


How can I create the relationship ? I am sure it must be possible since Cade too shows it.
Pls help!!

Thanks
Pankaj Mishra
 
Pankaj Mishra
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Akshay!!

Ajith could you pls help.
 
Pankaj Mishra
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Resurrecting the thread!!

Rational Rose Gurus pls help!!


Thanks
Pankaj
 
Shihchen Chiang
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suppose we can use EJB 3.0 (I think Hibernate is not welcomed by Sun) in the assignment. Will you still use BMP or SessionBean with DAO?

Are we allowed to use EJB 3.0?
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How is the external subsystem modelled? As a package?

Certain representations such as this one can add vagueness to your model and that's one of the reasons why they are not premitted.

You could use a custom stereotype, model it as a class and show the dependancy. Rose lets you associate packages to interfaces and classes( you'll have to define a package structure for this ). If you went that route, you can choose the "icon" package display format and that'll show up like a lollypop with the interface name(s) associated with the package. I'm a bit rusty on the details, so you may have to do a few more things. Try it out.
 
Ricardo Ferreira
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Pankaj Mishra:
Hi Friends,
I am trying to create a dependency relationship in my component diagram between the interface and the external subsystem(similar to Cade's) using Rational Rose.

Rose is not allowing me to create the dependency and is giving the folowing error

“Illegal component dependency relation.
Dependency must connect components or packages”


How can I create the relationship ? I am sure it must be possible since Cade too shows it.
Pls help!!

Thanks
Pankaj Mishra


Hi Panja,

I don�t know how to do this, but you can, try to use the Rational Software Modeler, or Rational Software Architect (you can get a trial version from IBM site). This modeling tools has being considered very good to work with UML. I�ve liked a lot.

I like to use Together Architect 2006, it�s a very amazing tool. Try it !
 
Vinay Singh
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pankaj
I had faced smilar problem in Rose hence I switched to Omondo UML in eclispe which is free. I am designing component diagrams in it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic