Skip to main content the Week in Review - June 5, 2010

Posted by editor on June 5, 2010 at 10:25 PM PDT

This past week,'s Java Today news items and blog posts had a greater than usual focus on conferences (mostly due to Jazoon) and JVM/JDK/JSRs. 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:

JavaEE, GlassFish

Last week's Spotlight was Jiandong Guo's Enterprise Tech Tip, Security Token Service and Identity Delegation with Metro:

Metro is a high performance, extensible, easy-to-use web services stack. It combines the JAX-WS reference implementation with Web Services Interoperability Technology (WSIT), an implementation of numerous WS-* standards to enable interoperability with other implementations and to provide Quality of Service (QOS) features such as security, reliability, and transaction support...

Arun Gupta presented TOTD #139: Asynchronous Request Processing using Servlets 3.0 and Java EE 6:

Server resources are always valuable and should be used conservatively. Consider a Servlet that has to wait for a JDBC connection to be available from the pool, receiving a JMS message or reading a resource from the file system. Waiting for a "long running" process to completely blocks the thread - waiting, sitting and doing nothing - not an optimal usage of your server resources. Servlets 3.0 introduces the ability to asynchronously process requests such that the control (or thread) is returned back to the container to perform other tasks while waiting for the long running process to complete...

Eduardo Pelegri-Llopart announced GlassFish 3.1 M1 Available: Binaries, Demos and Screencasts:

Milestone 1 of the GlassFish 3.1 Open Source Edition is now available from our promoted page as 3.1-b02: full distro (unix, windows, zip) and web distro (unix, windows, zip). GlassFish has been following a Milestone model for many years
and it works very well; for 3.1 we are documenting better each milestone (M1 content) and adding two new twists: demos to explain the new features, and community updates to enable Q&A...

Alexis Moussine-Pouchkine announced two new GlassFish Podcast(s) - App Versioning with the Serli team:

Following up on a recent post about an external contribution to GlassFish 3.1, we now have not just one, but two episodes talking with the Serli team that worked on the application versioning feature for GlassFish 3.1...

Zarar Siddiqi talked about Integrating EclipseLlink with EhCache to cache ReadAll and Native Queries:

The problem at hand is that EclipseLink (great project lead by James Sutherland) does not use a query cache when dealing with ReadAll queries, i.e: all calls to getResultList() go to the database. Some object-level caching is performed by avoiding construction of new objects based on the primary key values the database call returns. EclipseLink compares the PK values returned by the...

Tools, IDEs, etc.

On the programming education front, Mik profiled BlueJ 3.0 – What’s new:

We’ve been working on it for the last eight months, and now it’s finally here: BlueJ 3.0. Version 3.0 of BlueJ includes the most significant set of updates to BlueJ functionality since version 2.0 was released in 2004. (Yes – 2004! That was when we had no Google maps, no Facebook, no Twitter. It’s really that long ago…). It might be good to summarise the most important of them. The one thing that many people will notice first is an interface update...

Geertjan Wielenga presented the Top 5 NetBeans Platform Enhancements in 6.9:

In the NetBeans Platform (i.e., not the tool NetBeans IDE, but the Swing framework beneath it [and many others]), 6.9 brings many enhancements. These, in my opinion, are the most important: NetBeans Platform as a Product. As announced by Jim Parkinson, Sun exec at the time, the post 6.8 scene, in terms of the NetBeans project, is markedly different from before, where there really only was one official project, that is, the IDE. That heralds a totally new vision to the pre-6.9 world: "With the release of NetBeans 6.8, you'll see a more public effort to support the NetBeans Platform as a product. This is being driven by overwhelming support, by our customers and the open-source user community". (More on that here)...

James Gosling noted that The BlueJ folks have been busy!
I've been a huge fan of BlueJ for years. It's an organization, teaching methodology, curriculum, text book and methodology for teaching programming to folks who have never programmed before. BlueJ has been around for quite a while, and has been hugely successful. They've just put out a major new release, 3.0 of the IDE that's got a pile of great enhancements. Coupled with the fourth edition of the textbook Objects First With Java: A Practical Introduction Using BlueJ (4th Edition), BlueJ is a great way to teach...

Slim Ouertani presented How to : create heartbeat chart with Ext-JS, Netbeans 6.9 and Restful Web service:

This tutorial will walk through how to animate an ExtJS chart using a JEE 6 with Restful web services and Netbeans 6.9 IDE. This tutorial uses * Netbeans 6.9 RC1; * Glassfish V3; * Derby db; * Ext-js version 3. 1- create new web project with Glassfish V 3 and JEE 6 version name it heartbeat...

The Java Tools Community published JavaTools Community Newsletter - Issue 214:

A new edition of the newsletter is available, with news, new projects and tips! If you want to receive the newsletter by email, please subscribe the announcements mailing list - or read the current issue here.

John Ferguson Smart presented Running Hudson behind an Apache Server: a primer -

If you are running Hudson in a Unix environment, you may want to hide it behind an Apache HTTP server in order to harmonize the server URLs and simplify maintenance and access. This way, users can access the Hudson server using a URL like rather than One way to do this is to use the Apache mod_proxy and mod_proxy_ajp modules. In...

John also discussed Starting a Hudson slave on a Unix machine without SSH:

One great feature about Hudson is the support for distributed builds. Distributed builds can be used to absorb load or for specialized build jobs such as system or functional testing or automated deployments. In this article, we look at a special case - what happens when you need to start a Unix Hudson slave from the slave machine itself. The best way to start a Hudson slave on a Unix build...


On the JavaLobby site, James Sugrue asked How Popular is Model Driven Software Development?

Model driven software development is a methodology that makes sense in a lot of areas. The Eclipse eco-system in particular has a number of options for MDD, with projects like EMF and GMF. This makes sense in the Eclipse context as most applications built on the platform are editor based. However, looking across the wider development community, do you use models to drive your software development? For those of you who adopt this approach, what enabling technologies do you use for this? ...

On IBM DeveloperWorks, Ted Neward provided 5 things you didn't know about ... java.util.concurrent, Part 2:

This article, a follow-up to Part 1, introduces several synchronization constructs that are a higher level than the core language primitives (monitors), but not so high that they're buried inside a Collection class. Using these locks and gates is fairly straightforward once you know what they're for...

Ahmed Hashim posted Scrum (chicken and a pig):

During Jazoon 2010 I had the chance to chat with many people about Scrum and this motivates me to look around and check website and found this quate on the guide

Collin Fagan continued a series with StringTemplate Part 2: Collections and Template Groups -

This Article deals with StringTemplate. If you've never heard of StringTemplate or a "template engine" you might want to read either Part 1 or the official StringTemplate documentation. Template Group Files: In the first article we used a template file (.st file) to hold our template definition. In those examples we had defined a single template that spanned the entire...

Platforms, Frameworks

Jim Weaver presented A JavaFX 1.3 Custom Layout Example:

With the new, improved, custom layout capabilities in JavaFX 1.3, I thought it'd be useful to post a simple example. This example defines a custom layout in JavaFX whose behavior is like the BorderLayout, familiar to most Java programmers. Here's a screen shot...

Stephen Chin talked about Building Data Rich Interfaces with JavaFX:

I had my Jazoon talk this morning on building data rich user interfaces with JavaFX. In an informal poll before the start, it seemed like many of the attendees had not yet tried JavaFX, so hopefully this has encouraged them to give it a spin. I posted the slides from the talk on Slideshare for the benefit of folks who couldn’t make it out to Zurich this week. The agenda for the talk was as follows...

Osvaldo Pinali Doederlein presented JavaFX Life: From Script to Production -

I've finished the development of my Game of Life, with a couple final fixes and new features... including a solution to the bad performance reported before. Once again the work has uncovered some surprises; read on.


Jeff Friesen has published Exploring JDK 7, Part 2: Translucent and Shaped Windows:

Oracle’s release of JDK 7 is expected to occur this coming fall. This new release will offer a suite of new features for you to learn. This article, the second in a four-part series that introduces you to some of these features, focuses on JDK 7’s improved support for translucent and shaped windows...

InformIT published Jeff Friesen's Exploring JDK 7, Part 3: Decorating Swing Components with JLayer:

Oracle’s release of JDK 7 is expected to occur this coming fall. This new release will offer a suite of new features for you to learn. This article, the third in a four-part series that introduces you to some of these features, focuses on JLayer, a universal decorator for Swing components. JDK 7 introduces a new Swing component that serves as a universal decorator for Swing components. This new component is implemented as the javax.swing.JLayer class, and is based upon JXLayer, a part of the Swing Helper project from Swing Labs...

Masoud Kalali presented Introducing NIO.2 (JSR 203) Part 2: The Basics -

In this entry we will discuss basics of using NIO.2. The FileSystems, Path and FileStore objects are discussed with some details.

Jaisimha Narahari posted a Request for Deprecation of Raw Types and Reification of Generic Types:

In the month of June 2009, I did an initial post in the mailing list with a request for what I feel are two very important changes required in the Java Platform.This resulted in a thread of discussions on the Reification of Generic Types, but lead to no conclusions.Truly, the time is really...

This week's new Spotlight is Dalibor Topic's recent OpenJDK Roundup:

JDK 7: The JDK 7 build 96 is available. Build 96 corresponds to Milestone 8. It contains rebranding changes, build fixes, and updates HotSpot to version 19 build 02. You can check out the list of changes for details, and get the source code. Project Lambda: Maurizio Cimadamore has pushed a prototype into the Project Lambda forest and announced it on the Project Lambda mailing list. The prototype
supports the syntax described in the strawman proposal...

The new poll asks How closely are you following the progress of Project Lambda (closures)? The poll will be open for the next week.

Open Source Projects

Thomas Landgraf announced that JAK won the 3rd place of "Innovationspreis-IT 2010":

In front of hundreds of guests from the economy sector, the political sector as well as the Information and Communications sector (ITK) the 'Initiative for Small and Medium Sized Businesses' awarded the Innovation Prize IT 2010 during the NORD/LB forum at the CeBit for the best IT innovations of the year. Micromata came third in the Open Source category with its Java API for KML - JAK. The...

Web Services and XML

Alan Williamson talked about OpenBlueDragon: The Manual -

One of the things that we've been missing as a project, is good solid documentation. We've relied too much in the past on 3rd party websites. Late last year we started on the initiative to embed tag and function documentation inside of our source code, so we could easily produce accurate and readable CFML Docs in much the same way as Java has their JavaDocs. We've just released the next phase, which covers more than just tag and function definitions...

Mobile, JavaME

Alan Williamson talked about Blackberry App Store money laundering for developers:

In this modern day age of AppStore's the Blackberry AppStore has been dealt a big bl in consumer confidence - bottom line, it is a complete rip-off. A place where 3rd rate developers can post buggy and faulty software, extort money from Blackberry users with no offer of refund or support when things go horribly wrong and be able to hide behind Blackberry's Terms and Conditions. My wife purchased her first ever paid for app from the Blackberry Store...

Fabrizio Giudici talked about Bogeymen and Android fragmentation:

Via DZone, yesterday I read this statement from Android's Open Source & Compatibility Program Manager, Dan Morrill: "The thing is, nobody ever defined fragmentation or rather, everybody has a different definition. Some people use it to mean too many mobile operating systems; others to refer to optional APIs causing inconsistent platform implementations; still others use it to...

Conferences, JUG Meetings

This past week's poll asked How closely do you plan to follow Jazoon '10? A total of 113 votes were cast, with the following results:

  • 3% (3 votes) - I'm presenting
  • 2% (2 votes) - I'm attending
  • 6% (7 votes) - I'll follow the conference online as it proceeds
  • 36% (41 votes) - I may browse the presentations once they're posted
  • 35% (40 votes) - I don't care about Jazoon
  • 18% (20 votes) - I don't know; other

Arun Gupta presented Jazoon 2010 - Day 1 Report & Photos:

Jazoon 2010 kick started earlier today with Danny's keynote on about "Java SE and Java FX: The Road Ahead". He highlighted the clear difference between the Java SE 7 which is the platform and JDK 7 which is the corresponding implementation. The evolution of Java over many years was well covered but an interesting video showed the Star7 PDA Prototype, basically Java before 1995, enjoy it below...

Eduardo Pelegri-Llopart browsed the JavaOne Catalog ... And James' T-Shirt Proposals:

The interactive catalog for JavaOne 2010 is now available. The catalog covers Oracle OpenWorld 2010JavaOne 2010 and Oracle Develop 2010,
although you can search each event separately. The whole thing is big - the front page for OOW claims over 1,800 sessions; the online catalog gave me 1,573.  JavaOne and Oracle Develop are bundled as a single package; they share "The Zone" around San Francisco's Hotel Nikko, Hilton San Francisco, and Parc 55 hotel, while OOW is at the Moscone. It will be interesting to see this new incarnation of JavaOne..

Arun Gupta documented Jazoon 2010 Day 3 - Java EE 6 on Cloud, HTML 5 with JSF 2 and another run on Üetliberg:

The Day 3 of Jazoon (Day 1 & 2) started with a great presentation on Gaia satellite and Data Processing by William O'Mullane. Gaia is a European Space Agency space mission that will be launched in Summer of 2012 to compile a catalog of approximately 1 billion stars. Most of their software is Java-based and have been fairly happy with the decision taken 10 years ago. They are very happy with the performance of Java and in certain cases its even 10x faster than C. I gave a talk on "Running Java EE 6 applications in the Cloud". The talk explained flexibility, light-weight, extensibility, and ease-of-use of Java EE 6...

Fabrizio Giudici advised Don't miss the Jazoon Rookies:

Jazoon has got a peculiar initiative, Jazoon Rookie, that's a competition among young professionals (younger than 26): they are invited to submit their proposals to the conference committee, and three of them are picked and invited to speak to Zurich, with all the travel expenses refunded. I think it's a great idea: one of the added values of communities and conferences is the spread of ideas...

Fabrizio also presented his Jazoon 2010 report:

Yet Another Conference Is Over. It has been some great time and, after some doubts during the first morning, I must say that there were very good contents. Randomically talking with other people confirmed this opinion. Some sparse thoughts: The talks I liked more: "Objects of Value" by Kevin Henney; "Construction Techniques for Domain Specific Languages" by Neal...

Kohsuke Kawaguchi provided a list of My Upcoming Presentations:

I'll be speaking in San Francisco about Hudson/Selenium in June 22nd, then I'll be in Israel the following week. After that, I'll be speaking at JavaOne.


Kirill Grouchnikov continued his series with Design, uninterrupted #34:

Today’s post highlights the design of Set in various shades of steel blue, the site features an intricate header that combines multiple illustration techniques for a unique and memorable appearance. The background layer starts with a soft geometric pattern, which is overlayed with a few watercolor strokes and a pencil vignette drawing. A three-tone color palette used for the stylized portrait of the designer creates a friendly and humane feel, further inforced by the custom typography used for the header bullet points. The next header layer combines the navigation menu section (set in a slightly darker shade of the brick red color from the portrait) and the social icons bar...

Fabrizio Giudici said Apple computers are "intelligent" - and I have got the proof:

I've just finished my presentation at Jazoon - fine from my point of view. As I wanted to have time for one more example of code (and a conclusion talking about the possible perspectives of JavaFX Mobile), I intentionally decided to avoid demos (I showed my application as a screencast while talking). In addition to taking time, they are the typical source of troubles, so without them I was...

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

-- Kevin Farnham

Twitter: @kevin_farnham