Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is there any graph to show java overall structure ?

 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, good day, i would like to know is there any materials say graph or digram which allow programmer to have overall view on the structure of java , say how many implicit object of java , thank you !
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are some tools that will read Java code or class files and create diagrams in the Unified Modeling Language. If you're not familiar with UML, give this a look and google for UML tutorials: http://www.agilemodeling.com/essays/umlDiagrams.htm

I think Argo or Poseidon (I'm not sure if one name is the vendor the other the product or just what) is a free UML tool that will reverse engineer Java. Often loading java into UML creates very complex messy diagrams because it shows every darned class in the world, like String and ArrayList. Humans usually prefer to leave out some detail to get a higher-level view, so such things can be hard to read.
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might consider RationalRose2003 if your company could afford it. It provides amazing features for UML modeling.

Nick
 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm sorry for making confusing, please forgive my poor english, my question was how can we view the java in whole structure of hierachical level ..is there any diagram to show the whole API ? example : object class is parent of java.lang.* and other classes ..
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there any diagram to show the whole API ? example : object class is parent of java.lang.* and other classes ..

So far, there is no tools, in terms of software architecture, that create the whole APIs as a diagram. As you know, there are thousands of classes. Sometimes, in some books, a partial diagram will be shown. Like, in Java Tutorials or some cert. books, when they talk about the specific topics, like AWT/Swing, they will have a small structual chart. But I believe these charts only for common packages.

But of course, you could do it on your own.

Nick
 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, everybody , i think someone have did it for us , he name Markus Falkhausen (Diplom-Physiker)

kindly pls refer http://www.falkhausen.de/en/diagram/diagram.html
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.amazon.com/exec/obidos/tg/detail/-/0321304780/qid=1100857677/sr=8-1/ref=sr_8_xs_ap_i1_xgl14/102-9710881-4650560?v=glance&s=books&n=507846

AW (I think together with Sun) publishes the Java API poster. Not quite sure what's on it (read, how deep it goes).
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This man is really kind.

The diagrams are amazing!!!

Nick
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic