Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Reverse engineering tool
Reverse engineering tool [message #475316] Mon, 08 September 2008 11:17 Go to next message
Eclipse User
Originally posted by: jmcq.cs.nuim.ie

Hi,

Can anyone recommend a tool that reverse engineers UML class diagrams
from Java code and presents the class diagram as a .uml file.

Thanks,

Jacqui
Re: Reverse engineering tool [message #475317 is a reply to message #475316] Mon, 08 September 2008 17:40 Go to previous messageGo to next message
james bruck is currently offline james bruck
Messages: 1724
Registered: July 2009
Senior Member
Hi Jacqui,

IBM has a "visualizer" feature in RSx that will create diagrams from Java
code and uses the .uml format for semantics. It's not a freebie however
:(

Cheers,
- James.


"Jacqui" <jmcq@cs.nuim.ie> wrote in message
news:ga3fm3$qho$1@build.eclipse.org...
> Hi,
>
> Can anyone recommend a tool that reverse engineers UML class diagrams from
> Java code and presents the class diagram as a .uml file.
>
> Thanks,
>
> Jacqui
Re: Reverse engineering tool [message #475318 is a reply to message #475316] Tue, 09 September 2008 03:58 Go to previous messageGo to next message
urs zeidler is currently offline urs zeidler
Messages: 91
Registered: July 2009
Member
Jacqui schrieb:
> Hi,
>
> Can anyone recommend a tool that reverse engineers UML class diagrams
> from Java code and presents the class diagram as a .uml file.
>
> Thanks,
>
> Jacqui
Look at topcased.org, it contains a UML modeler and a java to uml importer.

greetings, urs.
Re: Reverse engineering tool [message #475321 is a reply to message #475316] Mon, 15 September 2008 11:03 Go to previous messageGo to next message
Marco Mosconi is currently offline Marco Mosconi
Messages: 60
Registered: July 2009
Member
Hi,

for compiled Java you could try:
http://ssel.vub.ac.be/ssel/research:mdd:jar2uml
It is no graphical editor, it just produces the .uml model. But you can
create a diagram from those with any MDT-UML compatible editor.

Marco

Jacqui schrieb:
> Hi,
>
> Can anyone recommend a tool that reverse engineers UML class diagrams
> from Java code and presents the class diagram as a .uml file.
>
> Thanks,
>
> Jacqui
Re: Reverse engineering tool [message #475322 is a reply to message #475316] Tue, 16 September 2008 07:58 Go to previous messageGo to next message
Vlad Varnica is currently offline Vlad Varnica
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
Hi Jacqui,

You can either use EclipseUML Free Edition for Eclipse 3.3 (download
available at: http://www.ejb3.org/download_free_eclipse_3.3.html ) and get
class diagrams and a UML 2.1 model file .uml or use EclipseUML 2008 Studio
Edition 30 days evaluation for Eclipse 3.4 ganymede (download available
at: http://www.ejb3.org/download_studio_eclipse_3.4.html).

EclipseUML free or Studio editions are certainly the most advanced Java
reverse engineering tool on the market.
I have written few tutorials on this subjects.
1. How to reverse a java project using EclipseUML (3 minutes flash
tutorial) http://www.ejb3.org/reverse.swf
2. Why EclipseUML is the best :
http://www.tutorial-omondo.com/reverse/index.html
3. Log4j reverse HTML documentation (this is my 2003 tutorial, but it is
still Ok for reverse :-) available at:
http://www.tutorial-omondo.com/log4j/index.html

This is my penny. Hope it helps !!

Vlad,
Frameworks, Libraries or component Reverse engineering tool [message #475667 is a reply to message #475316] Mon, 29 September 2008 04:46 Go to previous messageGo to next message
Vlad Varnica is currently offline Vlad Varnica
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
Hi Jacqui,

I have written a short beginner level document on how to reverse jar files
available at: http://www.ejb3.org/jar_file_reverse/jar_file_reverse.html
Omondo have introduced this new concept giving legacy jar files the
possibility to be reversed, visualized, dynamically navigated and merged
inside an existing modeling project.

Let's have a look at a possible use. For example if you want to extend
Spring classes for a customized message customer. You then need to
understand Spring JMS classes. The problem is that Spring distribution
comes as big libraries.
The easiest way to see how to customized Spring extensions is therefore to
reverse it.

Vlad,
Reverse Engineering [message #475882 is a reply to message #475667] Tue, 18 November 2008 13:22 Go to previous messageGo to next message
Vlad Varnica is currently offline Vlad Varnica
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
Dear friends,

We have updated our product documentation and have added a reverse
engineering example available at:
http://www.forum-omondo.com/documentation_eclipseuml_2008/re verse/reverse/reverse_engineering_example.html

We have added or three new features:

- XMI Backup of all your java project information :
http://www.forum-omondo.com/documentation_eclipseuml_2008/re verse/reverse/index.html#1.1_Create_a_detailled_model_includ ing

- Model Merge which merge existing model with modified java code. The
merge option is an important stage if the java project is evolving with
the creation of new UML diagrams :
http://www.forum-omondo.com/documentation_eclipseuml_2008/re verse/reverse/index.html#1.3_Merge_existing_model_with_modif ied

- JPA Annotations reverse

- The sequence diagram has been entirely redone. Sequence diagram reverse
documentation is available at:
http://www.forum-omondo.com/documentation_eclipseuml_2008/re verse/reverse/index.html#4._Sequence_Diagram_Reverse_Enginee ring

My favorite feature could seem to be stupid bwt I like it :-)
You can reverse a java project then just delete your java code from your
project. The full project mapping from Java to UML allows you to navigate
inside Java without java by just using the model. A good way to use this
feature is to reverse a java project. If you want to keep your existing
project safe you just paste and copy the model at the root of your java
project and then can navigate freely with no change in your java. This is
really cool !! Once the code has changed then your merge your model again
and again as many times as needed.
The Java reverse without java documentation is available at:
http://www.forum-omondo.com/documentation_eclipseuml_2008/re verse/reverse/reverse_engineering_example.html#7._Erase_your _java_code_manually_and

Don't forget that Omondo reverse use the same model as other compatible
tools such as Eclipse Modeling or RSA or others. Don't also forget that
you can paste and copy RSA inside an Eclipse 3.4 and recreate your model
using EclipseUML :
http://www.forum-omondo.com/documentation_eclipseuml_2008/ec lipseuml2008_dynamic_navigation.html#5._Model_interchange_wi ht_RSA_7

From this stage the reverse is not based on Java but on the model if you
recreate view from your models.
This my penny to this forum.

Vlad
Omondo
Re: Reverse engineering tool [message #476322 is a reply to message #475316] Mon, 16 February 2009 02:56 Go to previous messageGo to next message
Eclipse User
Originally posted by: berenger.dulac.mnhn.fr

This is a multi-part message in MIME format.
--------------010704070400090401000801
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

There is also coffea.sourceforge.net which is in alpha stage and allows
you to reverse engineer a class diagram from source code and also to
browse the source code through a class diagram...

The only problem currently is the use with big projects : with more than
hundred files with this plugin it is safer to reverse engineer not the
whole project but package after package.

Hope this can help,

B
Re: Reverse engineering tool [message #476323 is a reply to message #475322] Mon, 16 February 2009 05:15 Go to previous messageGo to next message
Vlad Varnica is currently offline Vlad Varnica
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
This is funny. I was re
Re: Reverse engineering tool [message #476324 is a reply to message #475322] Mon, 16 February 2009 05:33 Go to previous message
Vlad Varnica is currently offline Vlad Varnica
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
This is funny. I was reading this post this morning and realized that the
Log4J reverse engineering example has been written six years ago. whaoo !!

My return of experience is that we have needed 7 years to make this
reverse usable.
Two years of research to create the core which was developed by Yves Yang.
One year to get first customer feedbacks.
18 months to fix UML 2 and JDK 6 upgarde (developped by Brahim Lookhil).
one year to get second return of experience.
18 months to add JDK 6 annotations, associations detections, mapping to
UML 2.2, merge and make this reverse wonderful and iterative(developped by
Bacem Souissi).

Thanks to all these members (all others who helped our architects) who are
not anymore working for Omondo but who have created this incredible
reverse.

Vlad
Omondo
Re: Reverse engineering tool [message #622700 is a reply to message #475316] Mon, 08 September 2008 17:40 Go to previous message
james bruck is currently offline james bruck
Messages: 1724
Registered: July 2009
Senior Member
Hi Jacqui,

IBM has a "visualizer" feature in RSx that will create diagrams from Java
code and uses the .uml format for semantics. It's not a freebie however
:(

Cheers,
- James.


"Jacqui" <jmcq@cs.nuim.ie> wrote in message
news:ga3fm3$qho$1@build.eclipse.org...
> Hi,
>
> Can anyone recommend a tool that reverse engineers UML class diagrams from
> Java code and presents the class diagram as a .uml file.
>
> Thanks,
>
> Jacqui
Re: Reverse engineering tool [message #622702 is a reply to message #475316] Tue, 09 September 2008 03:58 Go to previous message
urs zeidler is currently offline urs zeidler
Messages: 91
Registered: July 2009
Member
Jacqui schrieb:
> Hi,
>
> Can anyone recommend a tool that reverse engineers UML class diagrams
> from Java code and presents the class diagram as a .uml file.
>
> Thanks,
>
> Jacqui
Look at topcased.org, it contains a UML modeler and a java to uml importer.

greetings, urs.
Re: Reverse engineering tool [message #622709 is a reply to message #475316] Mon, 15 September 2008 11:03 Go to previous message
Marco Mosconi is currently offline Marco Mosconi
Messages: 60
Registered: July 2009
Member
Hi,

for compiled Java you could try:
http://ssel.vub.ac.be/ssel/research:mdd:jar2uml
It is no graphical editor, it just produces the .uml model. But you can
create a diagram from those with any MDT-UML compatible editor.

Marco

Jacqui schrieb:
> Hi,
>
> Can anyone recommend a tool that reverse engineers UML class diagrams
> from Java code and presents the class diagram as a .uml file.
>
> Thanks,
>
> Jacqui
Re: Reverse engineering tool [message #622733 is a reply to message #475316] Tue, 16 September 2008 07:58 Go to previous message
Vlad Varnica is currently offline Vlad Varnica
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
Hi Jacqui,

You can either use EclipseUML Free Edition for Eclipse 3.3 (download
available at: http://www.ejb3.org/download_free_eclipse_3.3.html ) and get
class diagrams and a UML 2.1 model file .uml or use EclipseUML 2008 Studio
Edition 30 days evaluation for Eclipse 3.4 ganymede (download available
at: http://www.ejb3.org/download_studio_eclipse_3.4.html).

EclipseUML free or Studio editions are certainly the most advanced Java
reverse engineering tool on the market.
I have written few tutorials on this subjects.
1. How to reverse a java project using EclipseUML (3 minutes flash
tutorial) http://www.ejb3.org/reverse.swf
2. Why EclipseUML is the best :
http://www.tutorial-omondo.com/reverse/index.html
3. Log4j reverse HTML documentation (this is my 2003 tutorial, but it is
still Ok for reverse :-) available at:
http://www.tutorial-omondo.com/log4j/index.html

This is my penny. Hope it helps !!

Vlad,
Frameworks, Libraries or component Reverse engineering tool [message #622751 is a reply to message #475316] Mon, 29 September 2008 04:46 Go to previous message
Vlad Varnica is currently offline Vlad Varnica
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
Hi Jacqui,

I have written a short beginner level document on how to reverse jar files
available at: http://www.ejb3.org/jar_file_reverse/jar_file_reverse.html
Omondo have introduced this new concept giving legacy jar files the
possibility to be reversed, visualized, dynamically navigated and merged
inside an existing modeling project.

Let's have a look at a possible use. For example if you want to extend
Spring classes for a customized message customer. You then need to
understand Spring JMS classes. The problem is that Spring distribution
comes as big libraries.
The easiest way to see how to customized Spring extensions is therefore to
reverse it.

Vlad,
Reverse Engineering [message #623175 is a reply to message #475667] Tue, 18 November 2008 13:22 Go to previous message
Vlad Varnica is currently offline Vlad Varnica
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
Dear friends,

We have updated our product documentation and have added a reverse
engineering example available at:
http://www.forum-omondo.com/documentation_eclipseuml_2008/re verse/reverse/reverse_engineering_example.html

We have added or three new features:

- XMI Backup of all your java project information :
http://www.forum-omondo.com/documentation_eclipseuml_2008/re verse/reverse/index.html#1.1_Create_a_detailled_model_includ ing

- Model Merge which merge existing model with modified java code. The
merge option is an important stage if the java project is evolving with
the creation of new UML diagrams :
http://www.forum-omondo.com/documentation_eclipseuml_2008/re verse/reverse/index.html#1.3_Merge_existing_model_with_modif ied

- JPA Annotations reverse

- The sequence diagram has been entirely redone. Sequence diagram reverse
documentation is available at:
http://www.forum-omondo.com/documentation_eclipseuml_2008/re verse/reverse/index.html#4._Sequence_Diagram_Reverse_Enginee ring

My favorite feature could seem to be stupid bwt I like it :-)
You can reverse a java project then just delete your java code from your
project. The full project mapping from Java to UML allows you to navigate
inside Java without java by just using the model. A good way to use this
feature is to reverse a java project. If you want to keep your existing
project safe you just paste and copy the model at the root of your java
project and then can navigate freely with no change in your java. This is
really cool !! Once the code has changed then your merge your model again
and again as many times as needed.
The Java reverse without java documentation is available at:
http://www.forum-omondo.com/documentation_eclipseuml_2008/re verse/reverse/reverse_engineering_example.html#7._Erase_your _java_code_manually_and

Don't forget that Omondo reverse use the same model as other compatible
tools such as Eclipse Modeling or RSA or others. Don't also forget that
you can paste and copy RSA inside an Eclipse 3.4 and recreate your model
using EclipseUML :
http://www.forum-omondo.com/documentation_eclipseuml_2008/ec lipseuml2008_dynamic_navigation.html#5._Model_interchange_wi ht_RSA_7

From this stage the reverse is not based on Java but on the model if you
recreate view from your models.
This my penny to this forum.

Vlad
Omondo
Re: Reverse engineering tool [message #623604 is a reply to message #475316] Mon, 16 February 2009 02:56 Go to previous message
Eclipse User
Originally posted by: berenger.dulac.mnhn.fr

This is a multi-part message in MIME format.
--------------010704070400090401000801
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

There is also coffea.sourceforge.net which is in alpha stage and allows
you to reverse engineer a class diagram from source code and also to
browse the source code through a class diagram...

The only problem currently is the use with big projects : with more than
hundred files with this plugin it is safer to reverse engineer not the
whole project but package after package.

Hope this can help,

B
Re: Reverse engineering tool [message #623605 is a reply to message #475322] Mon, 16 February 2009 05:15 Go to previous message
Vlad Varnica is currently offline Vlad Varnica
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
This is funny. I was re
Re: Reverse engineering tool [message #623606 is a reply to message #475322] Mon, 16 February 2009 05:33 Go to previous message
Vlad Varnica is currently offline Vlad Varnica
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
This is funny. I was reading this post this morning and realized that the
Log4J reverse engineering example has been written six years ago. whaoo !!

My return of experience is that we have needed 7 years to make this
reverse usable.
Two years of research to create the core which was developed by Yves Yang.
One year to get first customer feedbacks.
18 months to fix UML 2 and JDK 6 upgarde (developped by Brahim Lookhil).
one year to get second return of experience.
18 months to add JDK 6 annotations, associations detections, mapping to
UML 2.2, merge and make this reverse wonderful and iterative(developped by
Bacem Souissi).

Thanks to all these members (all others who helped our architects) who are
not anymore working for Omondo but who have created this incredible
reverse.

Vlad
Omondo
Previous Topic:XMI Export
Next Topic:XMI Export
Goto Forum:
  


Current Time: Wed Apr 16 21:08:22 EDT 2014

Powered by FUDForum. Page generated in 0.02052 seconds