?
Solved

Extracting UML class diagrams from JDeveloper Java Application project

Posted on 2011-09-25
7
Medium Priority
?
790 Views
Last Modified: 2012-05-12
I have been working on a larger project and would really help me if I could extract the UML class diagrams from this existing project.

I want to see the classes, the structure of the classes (fields, constructors, methods, inter-relationship between classes) extracted from Java code.

There is a plugin I found for Netbeans or Eclipse called SDE from Visual Paradigm, but I have had installation problems with it, just as other people indicated in the Visual Paradigm Discussion Forum.

This would not be ideal, because it would NOT work with JDeveloper, anyhow.

Does anybody know of any stand-alone application or JDeveloper plugin, or if worse comes to worst Netbeans or Eclipse plugins that can actually extract UML class diagrams from Java source code?

I would prefer something for Windows but something for Linux (Ubuntu) would be ok as well,
since I have Java and JDeveloper set up on both Windows XP and Ubuntu.
This project however I am working on can only run on Windows, since it communicates with a Windows executable.


Thank you.

0
Comment
Question by:AttilaB
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 47

Accepted Solution

by:
for_yan earned 2000 total points
ID: 36595466

These are some links for Netbeans and Eclipse:

http://stackoverflow.com/questions/6037196/how-to-generate-uml-diagrams-from-java


Maybe I was unlucky but whenever I tried it always seemed hard for me to  generate anything reasonable for any real-life project
0
 
LVL 47

Expert Comment

by:for_yan
ID: 36595503


They claim that SDE should also support JDeveleoper

http://www.softpedia.com/get/Programming/SDK-DDK/SDE-for-JDeveloper-ME-for-Windows-3-3-SP3-Modeler-Edition.shtml

though it seems to be old, maybe they stopped supporting it
0
 

Author Comment

by:AttilaB
ID: 36595644
Yes, they do claim that SDE supports JDeveloper. But when you start their setup for Windows or Linux the option for the JDeveloper plugin doesn't even come up. Only Netbeans and Eclipse.

But I have the same experience with Netbeans like the people complaining in their forum.

Is there anything that you know of anybody actually using?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 47

Expert Comment

by:for_yan
ID: 36595685

I am kind of pessimistic about this process,
but there were many questions about tools for  Java - UML generation  in EE.
If you go to Solutions- Search
and then order them by Date you'll find some replies and perhaps find something useful for yourself.


These are a few relatively recent:


http://www.experts-exchange.com/Programming/Languages/Q_24813862.html?sfQueryTermInfo=1+10+30+java+uml

http://www.experts-exchange.com/Programming/Languages/Java/Q_27041974.html?sfQueryTermInfo=1+10+30+java+uml

some people praise this one:

http://www.soyatec.com/euml2/

0
 

Author Comment

by:AttilaB
ID: 36596637
For Yan,

Thank you for all your help, I am looking through / trying all the programs references that you came up with, also I may get somewhere with SDE from Visual Paradigm now.

If no new ideas come up that work better until tomorrow, I will share the results of the exploration of your links, trying the programs,  and mark off one of your notes as the solution and give you the points.
0
 
LVL 47

Expert Comment

by:for_yan
ID: 36596649

Sure, try them.
Maybe I was just unlucky, or maybe I'm not so much of visual person, so I realized
that the fairly convoluted code I had to analyze - no one can draw and present nicely.
Wish you good luck with this.
0
 

Author Closing Comment

by:AttilaB
ID: 36711880
Actually SDE for JDeveloper would work for me for the best, screenshot here:

http://www.freewarefiles.com/screenshot.php?programid=9188

The problem is that IDeveloper is no longer supported by Visual Paradigm,
the software company:

http://www.visual-paradigm.com/product/sde/

So, I got the version for NetBeans installed, but I am having trouble using it.

Maybe it's me, I am in contact with their support, they seem to be very helpful,
I think my best chance is to follow this trail. Even if I end up having to use it from an other Java IDE. (Netbeans or Eclipse are supported)

For what I want to use it for (reverse engineer) I will have to probably buy the Standard Edition, the free Community Edition will not cut it.

I will post a note here later, if I can just to give you and interested Experts Exchange users more info about my success.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses
Course of the Month8 days, 8 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question