8

Because I have a big project I must generate the UML for this. Writing UML for 300 classes is overkill.

So is there any solution to generate the diagrams for me?

P.S.
I am using Netbeans.

7
  • 3
    You are aware that the UML diagrams are going to be totally incomprehensible? With 300 classes, you're going to be drowning in detail. Commented May 30, 2010 at 12:53
  • 1
    check this java.dzone.com/articles/reverse-engineer-source-code-u Commented May 30, 2010 at 13:14
  • I know that it is going to be totally incomprehensible but i aint going to generate everything.. For example a class diagramm would be ok.. Writing from scratch again each method and field is really boring and waste of time Commented May 30, 2010 at 14:12
  • rational rose has or could batchmode OK result Commented May 30, 2010 at 15:59
  • You don't need a batchmode !! I did the job with 5000 classes and the first reverse is long (e.g. about 30 mn) then navigation is immediate. You should change tools and not to use Rational when a java project. Commented May 30, 2010 at 21:16

5 Answers 5

2

Depending what you need the UML diagrams for, you might want to extract the concepts out of your "300 classes" and make the UML diagrams yourself- it probably helps finding architectural flaws also. Mass converting Code to UML just for the purpose to have UML is usually not very desirable.

If you really need it, yes Enterprise Architect is a good way to go. - classic.

Sign up to request clarification or add additional context in comments.

Comments

1

I think that Enterprise Architect by sparxx systems can create UML from Java classes

Comments

1

Try http://netbeans.org/features/uml/ It supports Reverse Engineering of code. Of course all you are going to get is Class Diagrams.

1 Comment

Note: this is not free.
0

I prefer using Sybase Power Designer because it supports all types of UML diagrams. Please see wikipedia at http://en.wikipedia.org/wiki/PowerDesigner

PS: I am neither advertising nor associated with this company, but Power Designer has several features that I am fond of.

Comments

0

I found easyUML useful. It's really easy to use.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.