Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » How to generate UML from java source(Generate UML from Java)
How to generate UML from java source [message #550205] Thu, 29 July 2010 14:16 Go to next message
SN  is currently offline SN Friend
Messages: 4
Registered: July 2010
Junior Member
Hi all,

Could someone help me on how can I generate UML diagram from my existing Java source/classes? Is there any good plugin that would allow me to do it? I will appreciate any suggestion.

Thanks,
Re: How to generate UML from java source [message #550217 is a reply to message #550205] Thu, 29 July 2010 14:22 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 26215
Registered: July 2009
Senior Member
In think the MoDisco project would be able to help with that.

SN wrote:
> Hi all,
>
> Could someone help me on how can I generate UML diagram from my
> existing Java source/classes? Is there any good plugin that would
> allow me to do it? I will appreciate any suggestion.
>
> Thanks,
Re: How to generate UML from java source [message #550406 is a reply to message #550205] Fri, 30 July 2010 09:42 Go to previous messageGo to next message
Vlad Varnica is currently offline Vlad VarnicaFriend
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
The creation of UML diagrams from a java code is called "reverse engineering ".
You can use the following options:
- use of the Modisco plugin and code inside what you need
- create an EMF model and then transform it to UML (Papyrus, Topcase, UML 2 tools)
- map the code to the metamodel (e.g. Omondo)

I think that the ultimate stage is to directly map your java code to your model & metamodel.
I have written a documentation on this subject: http://www.forum-omondo.com/documentation_eclipseuml_2008/re verse/reverse/reverse_engineering_example.html

Re: How to generate UML from java source [message #550538 is a reply to message #550406] Fri, 30 July 2010 17:48 Go to previous messageGo to next message
SN  is currently offline SN Friend
Messages: 4
Registered: July 2010
Junior Member
Thank you for your replies...

I found Altova UModel. Though it doesn't have plugin in Eclipse, it seem to work really well for reverse engineering.

Thanks,
Re: How to generate UML from java source [message #550563 is a reply to message #550538] Fri, 30 July 2010 19:47 Go to previous messageGo to next message
Vlad Varnica is currently offline Vlad VarnicaFriend
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
This tool is a good start for java reverse engineering but don't forget that even open source can offer the same quality !!
Re: How to generate UML from java source [message #625880 is a reply to message #550406] Fri, 30 July 2010 17:48 Go to previous messageGo to next message
SN  is currently offline SN Friend
Messages: 4
Registered: July 2010
Junior Member
Thank you for your replies...

I found Altova UModel. Though it doesn't have plugin in Eclipse, it seem to work really well for reverse engineering.

Thanks,
Re: How to generate UML from java source [message #625881 is a reply to message #550538] Fri, 30 July 2010 19:47 Go to previous messageGo to next message
Vlad Varnica is currently offline Vlad VarnicaFriend
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
This tool is a good start for java reverse engineering but don't forget that even open source can offer the same quality !!
Re: How to generate UML from java source [message #651745 is a reply to message #550205] Tue, 01 February 2011 13:20 Go to previous message
No real name is currently offline No real nameFriend
Messages: 10
Registered: March 2010
Junior Member
See Reverse Java http://www.reversejava.com. This is an excellent tool to create UML diagrams from existing Java code.
Previous Topic: Helios is out.. where are the UML2 Tools?
Next Topic:Sequence diagrams: How to add message data? And using editor in general...
Goto Forum:
  


Current Time: Mon Nov 24 12:39:48 GMT 2014

Powered by FUDForum. Page generated in 0.01948 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software