When you need to discover what part of an application is consuming more CPU or memory, you need to use a profiler. One profiler, packed by default with the Sun JDK is Java VisualVM.
A nice reflection (especially in comments) about this Oracle/Sun technology.
An example on hot handle Unit Tests and generally TDD for applications that highly interact with a database.
A petition for asking Oracle to make JavaFX open source.
A nice and concise explanation on how to convert java object into XML.