How to convert Jar file into UML diagram automatically

hello everybody,is there anyone knows any free software that converts the jar file into UML class diagram.thank you in advance.
[148 byte] By [myhouria] at [2007-9-28 10:49:44]
# 1
Try Rational and Reverse Engg. your jar. Thats about far you can get. (I guess)
chintiyaoooa at 2007-7-12 0:58:53 > top of Java-index,Other Topics,Patterns & OO Design...
# 2

Well he did say "free" software. In any case though, Rational Rose does have the option of reverse engineering JARs to produce class diagrams and it works pretty good.

I think JBuilder can auto-generate class diagrams from JARs but not certain.

I don't know if you would find any "free" tools out there that can do it.

cknelsena at 2007-7-12 0:58:53 > top of Java-index,Other Topics,Patterns & OO Design...
# 3
Try Poseidon community edition (free): http://www.gentleware.com/products/download.php3
gypsy617a at 2007-7-12 0:58:53 > top of Java-index,Other Topics,Patterns & OO Design...
# 4
P.S : Actually, the free edition of Poseidon does not have the JAR-Import plug-in capability, where jars are transformed directly into UML diagrams.You'll have to buy the non-free editions..Sorry, my mistake.
gypsy617a at 2007-7-12 0:58:53 > top of Java-index,Other Topics,Patterns & OO Design...
# 5
Objecteering Software has a UML tool that apparently can reverse engineer. However, it appears that only their Professional/Enterprise version supports this, their free Personal version does not. http://www.objecteering.com/products.php
cknelsena at 2007-7-12 0:58:53 > top of Java-index,Other Topics,Patterns & OO Design...
# 6

Try Fujaba...

blurb from the website:

"FUJABA is the acronym for 'From Uml to Java And Back Again'

and originally aims to provide an environment for round-trip

engineering using UML as visual programming language. "

I don't know if it builds UML from jar files, but it does from source files. So maybe you have to unzip the stuff. Not bad.

It is a project from a German University. It is open source, under the GNU license.

http://www.uni-paderborn.de/cs/fujaba/main.html

good luck ~ Jason

ZenRidea at 2007-7-12 0:58:53 > top of Java-index,Other Topics,Patterns & OO Design...
# 7
for the sake of mental health:STAY AWAY FROM RATIONAL!!!!sorry, but I couldn't helpSpieler
spielera at 2007-7-12 0:58:53 > top of Java-index,Other Topics,Patterns & OO Design...
# 8
What was wrong with Rational ?
gusseva at 2007-7-12 0:58:53 > top of Java-index,Other Topics,Patterns & OO Design...
# 9

It is buggy (e.g. it freezes every now and then so I have to kill it with the taskmgr)

It doesn't support various features of uml or hides them so badly you can't find them (e.g. I tried to draw a deployment diagram with the components displayed in nodes, so you can tell which component to deploy where ... gave up frustrated, cause I couldn't find a way to get the two kinds of elements on one diagram.)

It is slow as mud.

I wouldn't mind these limitations ... after all one gets used to buggy software, but it costs HUGE bucks ...

To be fair: normaly I don't write comments like the previous post, but I just got frustrate by Rational quitting at me just when I read the comment.

From my experience you have two options:

1. Forget about using uml for more then drawing diagrams for your docs and go with a simple cheap or even free uml or graphic tool (Poseidon UML, Visio, pencil + paper + scanner)

2. check if Together does the job. NOTE: I haven't got enough experience with Together to realy promote it, but what I have seen so far was really impressive

regards

Spieler

spielera at 2007-7-12 0:58:53 > top of Java-index,Other Topics,Patterns & OO Design...
# 10
ok, I see.thanks.
gusseva at 2007-7-12 0:58:53 > top of Java-index,Other Topics,Patterns & OO Design...
# 11

well...

You could use ArgoUml! It is free and it does have a .jar reverse engineering capability.

http://argouml.tigris.org/files/documents/4/2921/ArgoUML-0.13.2.zip

http://argouml.tigris.org/files/documents/4/3204/ArgoUML-0.13.2-modules.zip

download both, unzip and Launch.

goto the File menu, then import, then java classs files. select your directory/file and go.

it is still a development release so feedback is very welcome at www.argouml.org

Alex

al_bagehota at 2007-7-12 0:58:53 > top of Java-index,Other Topics,Patterns & OO Design...
# 12

> You could use ArgoUml! It is free and it does have a

> .jar reverse engineering capability.

>

> http://argouml.tigris.org/files/documents/4/2921/ArgoUM

> -0.13.2.zip

> http://argouml.tigris.org/files/documents/4/3204/ArgoUM

> -0.13.2-modules.zip

>

> download both, unzip and Launch.

> goto the File menu, then import, then java classs

> files. select your directory/file and go.

>

> it is still a development release so feedback is very

> welcome at www.argouml.org

>

> Alex

ArgoUML is fine, little buggy, well alright a lot buggy. Poseidon for UML is a commercial product that extends ArgoUML, which is open source, and improves on the model significantly. Poseidon for UML offers a community edition that is free, and does in fact have reverse engineering. Its free and outputs diagrams to images or the standard xmi file format. Magic draw is not free, but you can use a demo, with a limit of only 20 classes.

tj...

tpinarda at 2007-7-12 0:58:53 > top of Java-index,Other Topics,Patterns & OO Design...
# 13

> From my experience you have two options:

> 1. Forget about using uml for more then drawing

> diagrams for your docs and go with a simple cheap or

> even free uml or graphic tool (Poseidon UML, Visio,

> pencil + paper + scanner)

I mostly agree, by I would add MagicDraw as number one cheap drawing tool, and would have the pull Visio out. It just sucks, sorry.

>

> 2. check if Together does the job. NOTE: I haven't got

> enough experience with Together to realy promote it,

> but what I have seen so far was really impressive

Together for JBuilder (Together was bought by JBuilder) is awesome, but expensive $1,000 or so. It has source generation, which is useless IMHO, but complies nicely with OMG standards. Hands down the best tool but is too expensive like irRational, which I hate almost as much as Visio.

tpinarda at 2007-7-12 0:58:53 > top of Java-index,Other Topics,Patterns & OO Design...
# 14

> and would have the pull Visio out.

> It just sucks, sorry.

As an UML Tool or as a general diagram drawing tool?

I don't like it to much in the first case, but I just love it for drawing arbitrary diagrams

> irRational, which

> I hate

Yup iRational is the worst tool I have seen in a long time.

regards

Spieler

spielera at 2007-7-12 0:58:53 > top of Java-index,Other Topics,Patterns & OO Design...
# 15

> > and would have the pull Visio out.

> > It just sucks, sorry.

>

> As an UML Tool or as a general diagram drawing tool?

> I don't like it to much in the first case, but I just

> love it for drawing arbitrary diagrams

It is an awesome drawing tool, but sucks for building interacting UML diagrams. Our company tried to say that was a solution for our UML needs, because we already own it and it happens to have UML widgets(which are dumb), thanks for making that point.

tj...

tpinarda at 2007-7-18 20:17:39 > top of Java-index,Other Topics,Patterns & OO Design...
# 16

Hi TJ,

I certainly take my hat off to the people a Poseidon, they have done a great job.

> ArgoUML is fine, little buggy, well alright a lot

> buggy.

Yes. Thanks for not saying anything good about it! LOL. I guess you didn't know that over 200 bugs have been fixed in the last 2 developer releases.

eg. http://argouml.tigris.org/servlets/NewsItemView?newsItemID=296

"Big deal", I hear you say. There are still lots of problems. But, hey, it does seem to be the only UML modeller that reverse engineers jars for free, which was the original question.

You are basically saying: Don't bother even looking at ArgoUml it is rubbish. I beg to differ.

> Poseidon for UML is a commercial product that

> extends ArgoUML, which is open source, and improves on

> the model significantly. Poseidon for UML offers a

> community edition that is free, and does in fact have

> reverse engineering.

Yes but but you have to pay for reverse engineering jar files!!!!

http://www.gentleware.com/products/editions.php3

This is a classic case of FUD. Fear, Uncertainty and D for something like Deception. The poster asks a simple question about getting something for free. Ok there is an answer: ArgoUml. But Noooo the message gets drowned out by lots of background noise about bugs and other tools that don't work and this and that and whatever.

regards,

Alex

al_bagehota at 2007-7-18 20:17:39 > top of Java-index,Other Topics,Patterns & OO Design...
# 17

> This is a classic case of FUD. Fear, Uncertainty and D

> for something like Deception. The poster asks a simple

> question about getting something for free. Ok there is

> an answer: ArgoUml. But Noooo the message gets drowned

> out by lots of background noise about bugs and other

> tools that don't work and this and that and whatever.

>

> regards,

> Alex

You're trashing me for a single duke?

ArgoUML is good, but Poseidon is definitely better. A I have a copy of Poseidon 1.6 on my desk, free of course, and it indeed does perform reverse engineering. If ArgoUML can do it, Poseidon must be able to do it, because ArgoUML is the core of Poseidon.

No drowning, clear concise information.

* Free UML tools, ArgoUML, Poseidon and Dome(sucks big time).

* Reverse engineering ArgoUML and Poseidon.

* Which is better you ask? Well Poseidon of course, it is a commercial product and naturally slightly enhanced.

Poseidon for UML is what I use, because I have no money to waste on UML, and ArgoUML craps out on me all the time.

tj...

tpinarda at 2007-7-18 20:17:39 > top of Java-index,Other Topics,Patterns & OO Design...
# 18
togetherSoft Control Center (TCC) rocks !! It will do everything, you expect it to, and more. It comes for a price though :(I think they have a 15 day evaluation. Again, it rocks !!!! Atleast for diagram creation, modelling and similar things
rakeshwa at 2007-7-18 20:17:39 > top of Java-index,Other Topics,Patterns & OO Design...
# 19
If u r using MS Windows as OS, then go for Gel...www.GExperts.comcheersRaju BSn
rajubhupatia at 2007-7-18 20:17:39 > top of Java-index,Other Topics,Patterns & OO Design...
# 20

The jDes tool from www.javaportal.co.uk converts java classes into digrams. It has a trial period on the demo. Just unpack the jar into a directory and let the tool reverse the entire directory. Its very fast

even for large directories.

Download from http://www.javaportal.co.uk/links/uml/page1.htm.

bjaa at 2007-7-18 20:17:39 > top of Java-index,Other Topics,Patterns & OO Design...
# 21

Ok, here's the deal:

Posiedon, MagicDraw, Rational, etc.... They ALL suck!

To date I've not found one tool that will do it for free, and I'm not paying cuz my project is too small for this.

Now TogetherSoft is awesome, but I don't have it right now.

The tools that do claim they can do reverse engineering are either flat out lying, or you have to buy a plug-in, or it won't work cuz it's buggy, or they're equivocating to a degree. Personally I'm not convinced any of these tools are even worth the few hours of time I spent installing them, clicking yes to license agreements, setting up phony email accounts for license keys to be mailed to me.

Sorry, had to vent. Most of these tools ARE NOT worth the UML you get out of them. UML is not worth dealing with these tools.

wbrackena at 2007-7-18 20:17:39 > top of Java-index,Other Topics,Patterns & OO Design...