Tenia el tema de Java un poco abandonado, un amigo de este blog me recomendo visitar este sitio, es sobre una herramienta para desarrollar aplicaciones java, este amigo nos escribio:
Did you check MaintainJ(http://www.MaintainJ.com), a neat tool for reverse engineering any Java code? MaintainJ generates runtime UML sequence and class diagrams.
The diagrams generated at runtime and are for a single use case. They exactly show what happens in the system when a use case is run. The sequence diagrams are very easy to explore with expand/collapse call options.
I did extract of the web page:
MaintainJ, an Eclipse plug-in, generates runtime UML sequence and class diagrams for a use case.
MaintainJ first instruments a Java application using AspectJ. The instrumented application is run to log the method execution sequence to a file. The trace file is read to render the UML diagrams.
MaintainJ Instrumentation Wizard instruments a Java/J2EE/Eclipse Plug-in applications. MaintainJ UML Editor renders sequence and class diagram from the trace file.
MaintainJ plug-ins can be used in any IDEs that are based on Eclipse 3.2 or newer versions.
The following features make MaintainJ a unique and useful tool for Java developers:
Generated Diagrams – Runtime sequence and class diagrams for a given use case are generated on demand in a few minutes; no need to prepare and update UML diagrams.
Source Untouched – The application code is not changed in anyway; application is rebuilt using AspectJ compiler to capture the method execution sequence at runtime.
Collapsible Calls – Method calls in sequence diagram are collapsible. One can easily explore a complex sequence diagram by collapsing and expanding calls as necessary.
Focused Diagrams – Only application classes in specified packages are shown in diagrams. All repeat calls occurring in a loop and recursive calls are removed from sequence diagrams.
For Any Java Application or Jar - Any Java application can be AspectJ instrumented in Eclipse using AJDT or outside Eclipse using Ant. Jar files can also be instrumented in or outside Eclipse and UML diagrams can be generated by running the application with instrumented jar files.
JUnit Integration – MaintainJ can be integrated with JUnit to generate the UML diagrams for every test scenario.
Eclipse Integration – Double clicking a call or class opens matching method or class in Eclipse.
Print or Export – Diagrams can be printed or exported as JPEG images.