Skip to main content the Week in Review - July 24, 2010

Posted by editor on July 24, 2010 at 1:44 PM PDT

The focus of interest on this past week shifted strongly to JVM/JDK/JSR-related topics, and JavaFX. Excitement is building as Java 7 comes into existence, step by step. Meanwhile, Stephen Chin announced a Petition to Open Source JavaFX, while many others (Dustin Marx, Shai Almog, and Kirill Grouchnikov among them) are assessing JavaFX's past, present value, and future.

If you didn't get a chance to visit on a daily basis in the past week, read on, and you'll find all of the week's Java Today news items, a selection of blog posts, and the old and new spotlights and polls.

This week's index:

Conferences, JUG Meetings

The JavaOne Conference Blog posted the second installment of Agent Kar-Rek's adventure, The Most Important the Universe! Part Two:

In this episode, Agent Kar-Rek (from Planet Lu-Zor) is determined to go to JavaOne so he can learn more about Java and save his planet by discovering a better way to control their renegade devices. How far will he go to get into JavaOne? ...

The JavaOne Conference Blog reported JavaOne Brazil and China Dates Announced!

We know JavaOne in San Francisco is the most important conference *in the universe!* We also understand that you may not be able to join us in San Francisco this year. :-( But we wanted to let you know that Oracle is taking JavaOne on the road. We have two other JavaOne conferences scheduled: December 7 - 9, 2010 in Brazil and on December 13 - 16, 2010 in China. Those conferences will be similar to JavaOne in San Francisco...

Dustin Marx noted that the JavaOne 2010 Schedule Builder is Now Available:

I previously posted that I was looking forward to JavaOne 2010 and this is even more true today.  Like Mitch Pronschinske, the trouble now is determining which presentations to attend.  This "problem" is complicated by the coexistence of Oracle OpenWorld and Oracle Develop with JavaOne 2010.  There are roughly 2400 different options for sessions, conferences, keynotes, Birds of a Feather (BOF) sessions, and so forth between the three simultaneous conferences...

Stephen Colebourne announced The Next Big JVM Language talk JavaOne:

I'm talking at JavaOne 2010 on the subject of the "Next Big JVM language" (S314355). I suspect that it might cause some controversey! Talk: Before writing the talk, I wanted to get some feedback from the community. So, I've got some basic topics and questions I'm looking for feedback on. 1) What makes a language big and popular? Lots of people have drawn up lists...

JavaEE, GlassFish

Arun Gupta posted Screencast #30: Java EE 6 & GlassFish 3 using NetBeans 6.9 - 5 screencasts:

This 5-part screencast shows how NetBeans 6.9 provides comprehensive tooling for Java EE 6 & GlassFish 3. The video tutorial starts with building a simple Java EE 6 application and evolves to add features from several new technologies such as Java Persistence API 2, Java Server Faces 2, Contexts & Dependency Injection, and Java API for RESTful Web services from the platform. Specifically, the different parts show...

Ed Burns announced Mojarra 1.2_15 released:

With very little pomp and only extenuating circumstance, we are releasing Mojarra 1.2_15. This release does have most of the performance fixes I mentioned...

Tools, IDEs, etc.

Hudson Labs announced the availability of Hudson with Selenium and Sauce On-Demand Videos:

A few weeks ago, Kohsuke stopped by the San Francisco Selenium Meetup hosted by Sauce Labs to talk about all things Selenium and Hudson related (with a bit of Sauce in there too). The good folks over at Sauce Labs have gotten around to posting some of the videos taken with Kohsuke...

John Ferguson Smart presented Useful tricks in easyb - tags and parallel tests

Easyb is an excellent BDD testing framework, with a heap of very cool features. In this article, we look at two more recent features: tags and parallel tests. If you're looking for a good Behavior-Driven Development (BDD) or Acceptance-Test Driven Development (ATDD), you owe it to yourself to check out Easyb. Easyb is a great BDD-style testing framework where you express your tests as "stories"...

Platforms, Frameworks

Stephen Chin announced a Petition to Open Source JavaFX:

At last night’s Silicon Valley JavaFX User Group event, I announced a petition to Open Source the JavaFX Platform. This is a petition from the Java and JavaFX Community directed to the management of Oracle Corporation. The goal of the petition is to increase the viability of the JavaFX platform to the benefit of both the community and Oracle. To the Leaders, Management, and Board of Directors at Oracle Corporation, We the undersigned formally request that Oracle Corporation release the entire JavaFX Platform as open source software available for modification and reuse by individuals, educators, and corporations...

Shai Almog conducted a poll in conjuction with his latest post, How Can Oracle Make JavaFX More Popular?

The guys at the JavaLobby asked "How Can Oracle Make JavaFX More Popular?", however the discussion seems to be hopelessly slanted towards the desktop crowd and a couple of Android related posts. I'm quite curious to see what the thoughts of the crowd visiting this blog which mostly focuses on mobile and LWUIT. So I added a poll to the top of the blog...

Dustin Marx talked about The Continuing Struggles of JavaFX:

In the post O JavaFX, What Art Thou? I publicly posted questions about JavaFX that largely pertain to its future.  As I stated in that post, I had felt somewhat deceived by Sun's overhasty JavaFX marketing at 2007 JavaOne and 2008 JavaOne and wasted more time than I like to waste looking into what JavaFX was (or in most cases, was supposed to become).  I have hesitated to really invest time and effort into it a third time until I feel better about its future.  Since posting O JavaFX,What Art Thou? there's been little to make me feel more optimistic about JavaFX's future.  This week, there was a major piece of bad press for JavaFX. In his blog post JavaFX is a Train Wreck, Kirill Grouchnikov expresses frustration at JavaFX not delivering on early promises to make it easy for developers and designers to work together to build compelling user interfaces with JavaFX...

Kirill Grouchnikov posted Pixel complete:

In an indirect response to my earlier post, David Grace writes: "All this talk about not being able to create something that looks good in JavaFX is hot air. JavaFX has the functionality to do so, you just have to know how. What JavaFX needs is for the preview controls and layouts to be finished, controls such as a table implemented, and the Prism renderer implemented. When this is done it will be easy to write any application that could be written in Swing quicker, looking much better and with far greater performance. Personally i would of rathered investment in Swing instead, but..."

Jim Weaver changed the title of his blog to "Jim Weaver's JavaFX and HTML5 Blog" and asked What posts would you like to see about HTML5?

Now that HTML5 is coming of age, I've been exploring synergies between JavaFX and HTML5 in order to leverage the strengths of both. Are there areas of HTML5, like WebSockets for example, that you'd like to see posted on this blog? ...


Last week's new Spotlight was the Scala team's announcement Scala 2.8.0 final:

It is finally here!! After many, many months of hard work, the Scala team is truly happy to announce the new, much-awaited stable release of Scala! The all-new Scala 2.8.0 final distribution is ready to be downloaded from our Download Page. The Scala 2.8.0 codebase includes a huge number of bug fixes with respect to 2.7.7, and an impressive amount of new features. Please read below for further details! ...

On the same topic, last week's poll was Scala 2.8.0 was just released. Do you plan to download it? 362 votes were cast, with the following results:

  • 4% (15 votes) - Of course! My job involves Scala.
  • 29% (104 votes) - Yes, I'm very interested in Scala.
  • 14% (50 votes) - Maybe
  • 10% (38 votes) - Probably not
  • 36% (131 votes) - No
  • 6% (22 votes) - I don't know
  • 1% (2 votes) - Other

Joe Darcy anounced Project Coin ARM Implementation:

I'm happy to announce that starting with a prototype written by Tom Ball, Oracle's javac team has produced and pushed an implementation of the try-with-resources statement, otherwise known as ARM blocks, into JDK 7. Today the resourceful can apply a changeset to a copy of the JDK 7 langtools repository and do a build to get a compiler supporting this feature...

Joe also talked about Writing javac regression and unit tests for new language features:

With Java language changes in progress for JDK 7, such as Project Coin's

title="Project Coin: Anatomy of adding strings in switch to javac">strings in switch,

title="Project Coin: multi-catch and final rethrow">improved exception handling,

and title="Project Coin: Updated ARM Spec">try-with-resources statement,

writing effective regression and unit tests for javac is an integral component of developing the new language features. Unit and regression tests differ from conformance tests...

Dalibor Topic presented OpenJDK News (2010-07-19):

JDK 7 build 100 is available. Build 100 contains changes to fix build issues on Windows, integrate JAX-WS 2.2 and JAXB 2.2, an implementation of the Simplified Varargs Method Invocation feature from Project Coin as well as a set of improvements across the class library. You can check out the list of changes for details, and get the source code. This year's JVM Language Summit is just one more week away...

Eduardo Pelegri-Llopart announced that Java SE 6 u21 is Now Available:

Java SE 6 update 21 is now available
release notes,
bug fixes). This release includes performance improvements, support for Oracle Enterprise Linux, Oracle VM, and Google Chrome, and
Visual VM 1.2.2 ...

This week's new Spotlight is the Oracle Technology Network's latest TechCast Live: Toward a Universal VM, Episode 11:

TechCast host Justin Kestelyn interviews Oracle's Alex Buckley, who explains why the JVM has been good not only for Java, but also for other languages -- and why JSR 292 will have a major impact on developers.

This week's new poll asks What impact do you expect JSR 292 (invokedynamic) to have long term?


Geertjan Wielenga asked How Evil is "instanceof"?

My understanding is that "instanceof" should be avoided, in favor of using the NetBeans Lookup. However, what about this situation