Skip to main content the Week in Review - August 7, 2010

Posted by editor on August 7, 2010 at 11:14 AM PDT

Conferences remained the top news topic on this past week. With JavaOne just coming up in six weeks, there is starting to be more and more to talk and write about. Other topics receiving considerable coverage included JavaEE / GlassFish and Java tools.

You'll notice a couple changes on the home page. We are now featuring two Spotlight items at a time, and we've moved them to the top right column. Another change starting this coming week is the poll: I'll be closing the old poll and opening the new poll on Monday. So, if you've got an idea for the next poll, you still have the weekend to get it to me.

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 week's spotlights and polls.

This week's index:

Conferences, JUG Meetings, Seminars

The JavaOne Conference blog presented Java Rock Stars - Part 1 (of 3):

We've been giving lots of blog space to the bands playing at the Oracle Appreciation Event. Parties are great (see you there!), but we know the real reason
you want to come to JavaOne: to learn and get deep technical info from the
real celebrities: the Java Rock Stars! We've
got over 30 Java Rock Stars returning for JavaOne 2010. These are the
folks that love Java, really know their stuff, and give fantastic
presentations. We'll do a three-part listing of returning Rock Stars
(in alphabetical order), below is part one. This is the real reason to come to JavaOne! ...

The JavaOne Conference Blog also reminded us there is One Week left to Win FREE JavaOne Full Conference Pass:

Doesn't have to be pretty, doesn't have to be fancy, just tell the community why you should get a FREE full conference pass to JavaOne.  So far no one has taken the be the first!!! Learn
more or submit Today!*
EXTRA Bonus (since Early Bird is officially over)- Everyone who submits a valid video entry will get a discount code for Early Bird pricing to use at time of registration for JavaOne and Oracle Develop. This is a savings of $400 or more over the onsite price! ...

Markus Eisele analyzed the JavaOne (and corollary conferences) schedule, and he's come up with a Java Enterprise Edition Schedule for @javaoneconf, @oracledevelop and @oracleopenworld:

Planning on my OOW/J1/OD trip is making progress. Blogger registration still not aproved and I am waiting for my flight confirmations, but I already found some time to browse through the Content Catalog and pick up some interesting sessions. At the moment I still have a comparable number of sessions in my interests as I have in my agenda. I did not check, if it is doable. You need to take into account that you have to move from one location to another. Switching from the Hilton to the Marriott in less than a minute probably will not work :) Therefore I have to adjust some slots on the following schedule. But it is, what I believe a very great Java Enterprise Edition Schedule...

Eduardo Pelegri-Llopart began planning a GlassFish Community Meeting During JavaOne:

We just got access to a room in Moscone West for a GlassFish community event in the spirit of the unconference we have done these last few years (2008, 2009).
The event would be the afternoon of the Sunday before J1, Sept 19th.  We are still working out how widely available can we make the event, but if you can certainly attend if have any pass for any of JavaOne, Oracle OpenWorld, or Oracle Develop..

Dustin Marx noted the increased JavaOne scheduling difficulty that's brought on by the Unconference at JavaOne 2010:

The Unconference concept has become very popular in recent years (Oracle offered its first OpenWorld Unconference at Oracle OpenWorld 2007).  The Unconferences for JavaOne 2010 and Oracle Develop 2010 are featured on this Wiki page.  There are numerous slots still available for anyone interested in organizing an Unconference topic, but several topics are already scheduled.  The Scheduled Sessions Descriptions page provides descriptions of a few of these. The Unconference sessions are being held in conjunction with JavaOne and Oracle Develop.  They will be held 20-23 September 2010...

Adam Bien pointed us to JUGs, Un-Workshops, No-Slides Sessions, Interactive Hackings... with Java EE 6 (the Lightweigt Stuff):

* JUG Darmstadt: Stop Talking, Start Hacking "Session" in Darmstadt (24.08.2010); * Java EE 6 Patterns, or one week Real World Java EE 6 in Hamburg (30.08-03.09.2010) - some places left - will take place; * I promised a talk at the JUG HH in between 30.0 - but the JUG guys seems to be on vacations. If you have another ideas for a JUG freestyle session in Hamburg in this period - let me know. In worst case we could occupy StarBucks :-) ...

Our second Spotlight this past week was the JavaOne Conference Blog's Java Rock Stars - Part 2 (of 3):

We've got over 30 Java Rock Stars returning for JavaOne 2010. These are the folks that love Java, really know their stuff, and give fantastic presentations. Here's the second third of our listing. To get the most out of JavaONE, make sure you attend some of these sessions. There's so much to learn from these rock stars!

Sonya Barry posted The better late than never OSCON blog:

I've been writing this one in my head for two weeks now. I went to Portland for the Community Leadership Summit (CLS) and OSCON and then have been too busy playing catch up to write about it. I had an amazing time at both events and definitely came away with more new information swimming in my head than from any other conferences I've been to combined.

JavaEE, GlassFish

Alexis Moussine-Pouchkine announced GlassFish 3.1 Milestone 3 - Admin console can now speak cluster!

The GlassFish admin console is often cited as one of the strong point for GlassFish. Yes, open source and ease-of-us can live happily together!
After delivering clustering and centralized admin features in Milestones 1 (post) and 2 (post) of the ongoing 3.1 work, it was time in Milestone 3 to deliver the first drop of a graphical user interface that is able to interact with these features. The following is a short screencast...

Adam Bien showed Why Stateful and Local Anti-Facades Are KISS:

The Gateway exposes rich and persistent domain objects directly to the presentation logic. Because the domain objects are well encapsulated already - it is rather an advantage, than a shortcoming. Because of simplicity and built-in aspects, an EJB 3.1 happens to be the simplest and leanest candidate for a Gateway implementation. Why local (to JSF 2, Wicket or a Fat Client)? ...

On JavaLobby, Andy Gibson showed How to do 10 Common Tasks in JSF 2.0:

Here’s a list of 10 features you might need to implement everyday and how they are performed in JSF 2.0. 1. Templating: JSF 1.0 started by using JSP as the templating technology, but most people started using Facelets by Jacob Hookom and I haven’t since found a templating setup I like more. With JSP, templates work by including files, and with other templating setups you define the template to use and then each page defines the content placed in the template. JSF combines both of these and works very much like master pages. Each template page defines areas and in each content page, you pull in the template you want to use and then push the content into the defined areas on the template. Here’Conferences remained the top news topic on this past week. With JavaOne just coming up in six weeks, there is starting to be more and more to talk and write about. Other topics receiving considerable coverage includeds an example template file that defines our header, footer and content layout with specific named areas defined for inserting content with the ui:insert tag...

P.G. Binod announced SailFin CAFE: Upcoming Presentations -

Here is a list of SailFin CAFE presentations that we will be presenting in next 2-3 months. This week there are couple of presentations. The first one is at Munich JUG at 7pm, monday 2nd August. More details are here. The next one is an Industry Talk on tuesday (between 9am and 10.30am) at IPTComm, Munich, Germany. Visit IPTComm website for more details...

Ed Burns asked Using JSF in a project? Where does the time go?

I ask for people to share their thoughts on what wastes time during development with JSF.

Tools, IDEs, etc.

Last week's first Spotlight is JFrog's To Build or Not to Be - Seminar Videos:

JFrog's Continuous Integration and Build Seminar "To Build or Not to Be", took place on July 1st, 2010 and was a big success. The sessions of Kohsuke Kawaguchi creator of Hudson and CEO of InfraDNA, and Hans Dockter creator of Gradle and CEO of Gradle Inc are now available online. Watch now the videos of "Gradle - A Better Way To Build" and "Doing More with Hudson". Enjoy!

Geertjan Wielenga was Figuring Out the Classpath for NetBeans RCP Applications in IntelliJ IDEA:

The biggest challenge in the IntelliJ IDEA plugin for NetBeans RCP development is... getting the classpath right. And providing tools for IntelliJ IDEA for users of the plugin to modify the classpath specifically for the NetBeans Platform. Here's the first stage—making the JARs in the NetBeans Platform available to IntelliJ IDEA so that the user can add them as a dependency to their project. The result of the code that follows is that the folder containing the modules is registered as a JAR directory in the Libraries tab of the Project Structure dialog...

Geertjan also found that you can Start a Dog Daycare Center on the NetBeans Platform!

You read the title correctly, yes, you can even start a dog daycare center on the NetBeans Platform. For, after all, dogs deserve a vacation too. (Every dog has its day.) And, of course, you need to calculate whether it makes sense for your pocket to start a dog daycare center. Worry no more, here's the dog daycare center profit and growth simulator of your dreams: Here are two of the screenshots you'll see if you go to the link above, with very clear evidence (look at the TopComponent and the disabled toolbar buttons, both of which can be fixed/integrated quite easily, by the way) that this is a NetBeans Platform application, too...

The NetBeans Team announced NetBeans IDE 6.9.1 Now Available for Download:

The NetBeans Team has released NetBeans IDE 6.9.1, with support for the latest JavaFX SDK. Download NetBeans 6.9.1(A JavaFX-only download bundle is also available.) NetBeans IDE 6.9.1 is an update to NetBeans IDE 6.9 and includes the following notable changes: Support for JavaFX 1.3.1; Improvements to the JavaFX Debugger; Integration of the June 2010 and July 2010 patches; Performance improvements: NetBeans IDE 6.9.1 is also available in Simplified Chinese and Japanese...

John Ferguson Smart demonstrated Testing JDK 1.4 production code using Java 5 tests in Maven:

Java 5 marks a huge step forward in the realm of automated testing. JUnit 4, for example, introduces many powerful new features based on annotations, such as flexible test names and parameterized testing. TestNG has had very cool annotation-based features since its first release. And Selenium 2.0/WebDriver also has some great new features based on annotations that make it much easier to create...


Joseph Darcy reported on the JVM Language Summit: Numbers big and fixed:

Last week, I enjoyed attending the 2010 JVM Language Summit. Some of the requests from the "what the JVM needs" session could be addressed by a few additional numerical libraries in the platform. The default integer arithmetic in many languages conceptually doesn't overflow, analogous to operating on Java's java.math.BigInteger objects rather than 32-bit int or 64-bit long values. However, small integers that enjoy hardware support on commodity CPUs are much more commonly operated on than big numbers which require multi-word support. Ideally, conceptually unbounded integers would still run very fast when they were small enough without consuming either excess CPU cycles or excess memory. In the limit, fixnums would result, where the transitions between small ↔ big integers were managed and optimized by the JVM...

Joe also presented Project Coin: Uniform Suppression in try-with-resources:

As previously considered, the specification of the try-with-resources statement has been updated to require uniform suppression of all throwables. That is, the semantics of the code around the implicitly generated calls to close was previously ...


Dustin Marx demonstrated programmable Screen Snapshots with Java's Robot:

One of the Java programming language's advantages that I really appreciate is its rich set of standard libraries in the SDK. I use some of these all the time and use others less frequently, but still appreciate these less used ones when they are needed. In this blog post, I look at a feature that I don't use often, but really appreciate when I do need it: the ability to take screen snapshots with Java's Robot class...

Fabrizio Giudici provided some advice and some nice videos in How to improve your coding efficiency:

... make sure you have a working mobile connection and take your laptop to the garden, where you can enjoy some wonderful landscape. In case you don't get the desired efficiency, you'll still enjoy the landscape.

Sebastien Dionne investigated some Serialization surprises:

Java Serialization is commonly used everday since web 2.0, but sometime you can have problems. See a actual production problem with serialization that was fixed using the reset method.


Shai Almog posted Introducing LWUIT For IO (LWUIT4IO)

When Chen started LWUIT he limited his ambitions to solving the UI portability issues and with those limited ambitions we were able to over deliver by providing a framework that delivered an easier, faster & better UI while still maintaining the portability advantage. The limited scope of LWUIT is one of its strengths allowing us to focus on the issues at hand and not stray too much. IO (storage, filesystem & network) is probably the biggest and most common portability stumbling block after UI & with LWUIT4IO we aim to simplify the process of working with these API's across platforms/devices without sacrificing portability or vendor specific features. The underlying API's are given the "LWUIT treatment" where we abstract lots of the thread related heavy lifting behind and component like unified API and try to make the whole process reasonably fool proof...

Kirill Grouchnikov was Shifting gears: from desktop to mobile -

After spending the best part of the last ten years doing desktop development, I shifted gears last December and joined the Android team at Google as a client user interface engineer. It’s been an interesting ride so far, and today i wanted to mention a few things worth keeping in mind if you are a mobile UI developer. If you glance at the sidebar, you’ll see that my particular interest lies in creating polished, responsive and well behaving user-facing applications that help the end users achieve their goals quickly and painlessly. There are many things similar between designing and implementing desktop and mobile UIs...

Terrence Barr asked Need to tweet? Vexed by OAuth? Check out the new Twitter API ME:

Seems like every decent mobile app these days needs to integrate with Twitter somehow. And until last week that was pretty easy to do for your mobile Java application – using the Mobile Ajax libraries and Twitter client sample code. However, as of August 1st Twitter switched from Basic Authentication to OAuth – and that makes logging into Twitter a whole lot more tricky. Now, you need to deal with certificates, SSL, handshakes, signing, token requests, authorizations, and other messiness...

Open Source Projects's FxObjects Project released Version 0.1 of its framework:

FxObjects 0.1 is now released. FxObjects is a open source Enterprise JavaFX Application Development framework. The whole intention of the framework is to make Enterprise JavaFX application development easy, elegant and fast. The 0.1 version provides powerful features: * JavaFX objects to XML round tripping a breeze (zero code); * Makes asynchronous calls really easy; * Consolidated commands for Http calls with option to plug in request and response builders, content processors and token based substitutable url templates and finally callbacks to update the UI. * Controller framework provides controller chain to organize your UI into pages and modules; * Provides Model View Presenter implementation for the very first time in JavaFX to make your UI lean, mean and clean and easily testable with JUnit and jMock. 0.1 release includes a 50 page user guide and 8 fully working samples demonstrating the usage of the framework. There are big plans for 0.2 and hopefully more people would join and contribute.


The current poll, which was suggested by Eduardo Pelegri-Llopart, is intended to assist with future planning. The poll asks Which of the following describes your user account(s) and account-related email addresses? The poll will close on Monday.

Eduardo discussed the reason for the poll in his Java.Net.Next Requirements - More than One Account on Java.Net? post:

Do you have more than one account at Java.Net? If so, please read on. As announced by Ted Farrell back in February, will use the Kenai infrastructure.  For the most part we are trying to make the transition as painless as possible but there will be some changes here and there.  Sometimes new features will be added; sometimes some may be dropped.  One specific point is about usernames and email addresses...

I blogged about some New Books and Videos on Java EE, GlassFish, and NetBeans:

In the Java-related blogs I subscribe to, there are four recent entries talking about interesting new videos and books related to Java EE, GlassFish, and NetBeans. First, the books...

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