Book a Demo

Author Topic: Uml Reverse Engineering - Java  (Read 3158 times)

RomanMaxim

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Uml Reverse Engineering - Java
« on: May 27, 2010, 12:11:12 am »
Hy guys, press help :)
I'm using Enterprise Architect in order to have a reverse engineering on Uml of a Java 2 EE application. I used the LogicalView Diagram, checking Type as Structural/Class.
After with right click on the area->Import source from source file->Java then I selected some classes. Everything was ok because I imported all the stuff inside the perspective but the problem is that dependencies,associations, aggregations and so on with lines and arrows are not specified graphically even in the import was succeffull. Could you tell me what best I have to do ?

Mauro

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Uml Reverse Engineering - Java
« Reply #1 on: May 27, 2010, 08:25:47 am »
My immediate guess is that the links you're after are across packages, and EA has only put elements from the same package in diagrams together.

Try creating a diagram that includes a related set of classes.

RomanMaxim

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Uml Reverse Engineering - Java
« Reply #2 on: May 27, 2010, 06:10:30 pm »
Thank you Simon, I don't know yet if the problem is because classes are situated in different packages, but for sure
the classes that I imported for now come from the same package and they compose an Ejb so why there are not
relationships, lines and arrows ?

Where I have to click for creating a diagram that includes a related set of classes ?

Please could anyone give me specific suggestions how to use EA because like that it is not completely helpful for a reverse engineering  :-/
« Last Edit: May 27, 2010, 06:15:47 pm by maurocamelo »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Uml Reverse Engineering - Java
« Reply #3 on: May 28, 2010, 08:39:47 am »
Well, if they are in the same package, and the classes on the diagram together but you don't have the relationships then there are no relationships that EA is able to identify.  I wouldn't guess why not without seeing your code.

One way to construct a diagram would be by right clicking on a class and select 'Add' | 'Related Elements'.