What are your favorite supplementary tools for Java development?
Mine are:
1) Total Commander (due to the ability to search inside JARs).
2) JAD + Jadclipse (to understand and debug libraries)
And of-course, Google. (can't really live without it)
What are your favorite supplementary tools for Java development?
Mine are:
1) Total Commander (due to the ability to search inside JARs).
2) JAD + Jadclipse (to understand and debug libraries)
And of-course, Google. (can't really live without it)
I pretty much spend most of my time in Eclipse and at the command line.
With Eclipse I usually modify the keyboard bindings so I have features such as Open Type/Resource, Quick Outline, Show Refactor Menu and so on at the tip of my fingers. I also install Q for Eclipse to enable good Maven-integration allowing me access to the source of my dependencies when coding.
At the command line it's tools such as Maven, Ant and Subversion that are used the most. I have a few commands to switch between JDKs to test that projects compile and run on all their intended targets.
I used to keep a copy of JAD around, but thanks to Maven and Q for Eclipse I harldy ever use it anymore. Decompiled code is not nearly as usable as the original.
I almost forgot, JConsole helps with monitoring your application also I use YourKit for more advanced profiling.
Eclipse has already a lot to offer, thanks to the countless plugins (which support other languages and environments, too).
Jython for interactive testing and exploration of all sorts of things.
PMD scans Java source code and looks for potential problems like:
* Possible bugs - empty try/catch/finally/switch statements
* Dead code - unused local variables, parameters and private methods
* Suboptimal code - wasteful String/StringBuffer usage
* Overcomplicated expressions - unnecessary if statements, for loops that could be while loops
* Duplicate code - copied/pasted code means copied/pasted bugs