Hello. 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 ? I am using Netbeans.... Thank you for reading
I think that Enterprise Architect by sparxx systems can create UML from Java classes
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.
I managed to reverse engineer it with Enterprise Architect and it generated class diagramms but not their relationships. Any idea?
No way that Enterprise Architect is adapted for Java !! I tried it and less than 50% are reversed. This tool could be good for C++, or c# or modeling more than one language but it is not a specialized tool for java. The only reliable Java tool is EclipseUML Omondo. I have a project of 5 000 classes and the tool map all my java project to UML. All java information is reversed, even dependencies between different packages. Just amazing. I could also display over 100 classes on the same page including links because the graphism is really very advanced and the show hide option allows to only show the name of the class and not attributes and methods.
For more information on reverse java rengineering you can have a look at: - http://www.ejb3.org/jar_file_reverse/jar_file_reverse.html - http://www.forum-omondo.com/documentation_eclipseuml_2008/reverse/reverse/index.html
The only problem with EclipseUML is that you should use Eclipse and not Netbeans :-)
Try http://netbeans.org/features/uml/ It supports Reverse Engineering of code. Of course all you are going to get is Class Diagrams.
You can try Reverse Java. We have used it in our project and it created some fantastic UML diagrams for us from our Java application. Very easy to use and also has great features, like exporting the diagrams in PDF.