• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Rational Rose - Problem with dependency relationship between interface and package

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Akshay!!

Ajith could you pls help.
 
Pankaj Mishra
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Resurrecting the thread!!

Rational Rose Gurus pls help!!


Thanks
Pankaj
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 !
 
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic