Solved

Extracting UML class diagrams from JDeveloper Java Application project

Posted on 2011-09-25
7
598 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
  • 4
  • 3
7 Comments
 
LVL 47

Accepted Solution

by:
for_yan earned 500 total points
Comment Utility

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
Comment Utility


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
Comment Utility
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 47

Expert Comment

by:for_yan
Comment Utility

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
Comment Utility
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
Comment Utility

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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
sumHeights2  challenge 7 75
Modeling a class in java 5 31
Java Jpanels and Jframe 8 18
JList custom Cell Renderer refresh 15 38
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…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
This video teaches viewers about errors in exception handling.
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.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now