Skip to main content

java.net: the Week in Review - July 24, 2010

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

The focus of interest on java.net 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 java.net 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 java.net blog posts, and the old and new java.net 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 Conference...in 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..."http://www.java.net/blogfront

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? ...


JDK, JVM, JSRs

Last week's new java.net 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 java.net 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
(Downloads,
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 java.net 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 java.net poll asks What impact do you expect JSR 292 (invokedynamic) to have long term?


Programming

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—we have a node for libraries, with different subnodes, depending on the instance of the object in question, which is either Book or Borrower...


Mobile

Shai Almog shared some thoughts on LWUIT in The Highest Common Denominator Strategy:

Normally I try to keep my blog posts on the technical or showcase side but for a change I want to share some general thoughts I have about the state of LWUIT and the recent enlightening poll on this blog and the javalobby. While there is still a day to go with our poll as I write this, the results are quite interesting and not what I expected. Although in retrospect they make sense, after all this is a blog for an open source project so it makes sense that most of you would vote to open source FX. However, the blog poll otherwise is almost identical to the JavaLobby poll in the sense that 70% of the votes voted for either open sourcing FX or giving up on it altogether...


Java Community Process

The JCP Program Office provided an update on The latest JCP EC meeting summaries:

It has been a while since there has been much activity on the JCP PMO groug blog.  My aim is to increase the frequency of postings in the coming months!  As we approach JavaOne (by the way, "Early Bird" registration discount deadline is today, Friday, 16 July), there will be information on JCP related plans and activities posted here. To catch you up, there have been 3 JCP EC Meetings in 2010, and the next one is scheduled 2 weeks from Monday on 27 July (see calendar)...

The JCP Program Office also announced Nominations Open for 2010 JCP Program Awards:

Nominations for the eighth annual JCP Program Awards are now open! As has become customary, the JCP program office will present the JCP program annual awards during JavaOne. Last year we opened nominations to the community, and the plan is to open a board similar to last years' where nominations from the community can be posted for six award categories (see below). There is an open board for nominations on jcp.org--community members may submit nominations online or via email...


Miscellaneous

Eric Armstrong wondered, Have Generics Killed Java?

Summary: In which I argue that (a) Generics have done egregious harm to both the elegance and readability of the Java language and, (b) they prove by example that static type checking is a linguistic dead-end. Are you persuaded? Do you agree? Read on... I confess. I'm a Ruby hacker, at heart. Ruby's Perl-isms can't go away fast enough to suit me, but what's left after removing them is a thing of utter beauty and precision. Not to mention power. But long before I became enamored of Ruby, I was a Java hacker...

Jeorg Plewe posted 50.000 times too slow?:

Recently I was in urged to do a web project with the latest and coolest web framework Ruby on Rails. One line of code sprang to me eyes...


Subscriptions and Archives: You can subscribe to this blog using the java.net Editor's Blog Feed. You can also subscribe to the Java Today RSS feed and the java.net blogs feed. You can find historical archives of what has appeared the front page of java.net in the java.net home page archive.

-- Kevin Farnham

Twitter: @kevin_farnham