Best Of The Week – 2011 – W32
Time for the “Best Of The Week” links for the week that just passed. Here are some links that drew JavaCodeGeeks attention:
* Eclipse 3.8M1 Brings Java7 Support: The Eclipse Foundation has released Eclipse 3.8M1, which is the first milestone release with Java7 support. Java7 support will come to Eclipse 3.7.1, which is due to be released in September.
* Java Persistence API: a quick intro: A quick introduction into JPA accompanied with a basic example to get you started. It explains how to create the necessary classes, how to connect to the DB, how to perform transactions etc.
* Java7 Hotspot Loop Bug Details: Some details on the JVM Hotspot bug introduced in Java 7 with one of the optimizations enabled by default with the new JIT.
* 4 Mistakes To Avoid On Apache Tomcat: A quick article describing 4 common mistakes on configuring Apache Tomcat. Mistakes include not understanding the global and application Context.xml, creating a Single Global Datasource, Optimizing GC and Deploying on Multiple Servlet Containers. Also check out Zero-downtime Deployment (and Rollback) in Tomcat.
* Create and Understand Java Heapdumps: A very useful article describing the process of Java heap dump creation and analysis. It uses the Eclipse Memory Analyzer Toolkit (Eclipse MAT) to show an example of how to read, parse and analyze dumps.
* Android Tools: Using the Hierarchy Viewer: This article explains how to leverage the Hierarchy viewer (a tool included in the Android SDK) in order to better understand your UI’s layout and allow you to perform various optimizations to it.
* Getting Started: Testing Concurrent Java Code: A nice article on how to test concurrent Java code. The basic principles are introduced and then some examples with Findbugs and Hudson are given. Also check out “Java Tools: Source Code Optimization and Analysis” and “Using FindBugs to produce substantially less buggy code”.
That’s all for this week. Stay tuned for more, here at JavaCodeGeeks.