Tuesday, August 30, 2011

Java Posts of Interest - 30 August 2011

There has been another flurry of interesting posts related to Java in recent days and weeks that I want to capture brief references to in this post. I narrowed down the list for this post to JVM Language Summit 2011, NetBeans, Scala for the Impatient, Heroku for Java, detecting deadlocks with JCarder, Java NIO versus Java IO, unit testing, and the HotSpot JVM flag PrintCompilation.


JVM Language Summit 2011 Presentations

Video and presentation slides (PDF) from the JVM Language Summit 2011 are now available for download. This event was held July 18-20, 2011, on Oracle's Santa Clara campus.

The list of presentations available for viewing/download include Method Handles and Beyond..., Brian Goetz Java SE 8 topics From Lambdas to Bytecode and Virtual Extension Methods, and JSR 292 Cookbook.


NetBeans

I wasn't the only one blogging about NetBeans in recent days and weeks. NetBeans 7 seems to be generating a lot of buzz online right now.

Geertjan Wielenga posts on NetBeans on a daily basis. In fact, his short biographical paragraph currently states that the focus of his blog " is mostly on NetBeans, with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans." Geertjan has had several particularly interesting posts on NetBeans in recent days including Disable Error Warnings in NetBeans IDE (including editing of netbeans_default_options property in etc/netbeans.conf) and XML Schema Editor in NetBeans IDE 7.0.1 (which I referenced in my own post).

Javin's post How to view javadoc in Netbeans IDE 7.0 lists three ways to view Javadoc documentation in NetBeans and a feedback comment points out use of UMLGraph as well. Robert Hollencamp's post Netbeans Conditional Breakpoints does not list the version of NetBeans as far as I can tell, but does document extremely slow reproducible performance related to a conditional breakpoint in some sample code he provides.

Finally, there is a NetBeans IDE 7 Satisfaction Survey intended for developers who have used or are using NetBeans 7.0 or NetBeans 7.1.


PrintComplilation Flag

Stephen Colebourne has done a nice job of making significant portions Moazam Rajas's Sun post on the HotSpot JVM flag -XX:+PrintCompilation more easily accessible. RĂ©mi Forax, in a response comment, points out the HotSpot Internals Wiki Home Page.

In the early days of the web, links went away all the time and some things were lost for good. It seems as if things have improved over the years in terms of longevity of links and book authors have even referenced links. However, events like the closing down of GeoCities, mergers and acquisitions of companies with their blogs, and developers simply removing their own blogs have made resources like the Internet Archive WayBack Machine invaluable.


Scala for the Impatient

In his post Scala for the Impatient—Free Chapters at typesafe.com, Cay Horstmann describes the book he is writing on Scala (Scala for the Impatient) and provides a link to a free (except for the cost of signing up for the Typesafe newsletter) electronic copy of portions of this book.


Heroku for Java

Heroku for Java has been really big news this week. Not surprisingly, Play! on Heroku has now been announced as well. However, not everyone is ready to throw their Java EE out.


Detecting Java Deadlocks with JCarder

Charith Dhanushka's post Understanding and Terminating the Enemy - Deadlocks describes the conditions under which deadlock can occur in Java. He then introduces use of the open source dynamic analysis tool JCarder to detect deadlocks.


Java NIO versus Java IO

Jakob Jenkov's post Java NIO vs. IO addresses the question, "When should I use IO and when should I use NIO?" There is also a Java NIO: Introduction available at this site.


Java Looking Good for a Dead Language

I have posted before on the exaggerated claims of Java's death and a seeming resurgence of renewed interest in Java in recent months. Several recent posts show this to be a continuing trend. Adam Bien highlights that Java is still the most searched for language (and has increased its month-to-month interest) according Tiobe's August 2011 index. In a separate post, Bien explains reasons that it is important to choose the #1 language for enterprise projects.


Breaking Away From The Unit Test Group Think

The Cedric Beust post Breaking Away From The Unit Test Group Think is excellent. I think that the vast majority of experienced Java developers (or developers in any language) would agree that unit tests are important. I may like Beust's post so well because he articulates precisely my thoughts on unit testing. As he emphasizes, unit testing is important, but it should not preclude other types of testing and TDD is not the only way to make effective use of unit tests. Beust can write these things with some established credibility as the creator of TestNG Java testing framework.


Conclusion

This post has referenced and briefly summarized a few Java-related posts that I have found interesting in recent days and weeks.