Skip to main content

java.net: the Week in Review - August 21, 2010

Posted by editor on August 21, 2010 at 12:40 PM PDT

The news on java.net this past week covered a broad swath. Surprisingly, there wasn't much news related to JavaOne, even though that's now less than a month away. Perhaps everyone who will be presenting at JavaOne is hard at work on their presentations. Then, too, many people (including several people who blog on java.net) found their attention drawn to the new Oracle lawsuit.

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

This week's index:


Conferences, JUG Meetings

Our last java.net poll asked What type of technical conference sessions are most valuable? A total of 111 votes were cast, with the following results:

  • 5% (5 votes) - Keynote addresses
  • 3% (3 votes) - Panel sessions
  • 59% (65 votes) - Technical sessions
  • 10% (11 votes) - BOF (birds of a feather) sessions
  • 3% (3 votes) - Other
  • 22% (24 votes) - I don't know

Elaborating on the last java.net poll question, Dustin Marx posted his views on the Most Valuable Type of Conference Session:

The Java.net poll question this past week has been, "What type of technical conference sessions are most valuable?"  The options that can be selected for this poll question are Keynote Addresses, Panel Sessions, Technical Sessions, Birds of a Feather (BOF) Sessions, Other, and "I Don't Know."  As of this writing, there have been just over one hundred responses with 60% favoring Technical Sessions followed by the "I Don't Know" option being in second place with 20% of the responses.  I don't recall seeing many poll questions where this option is so high.  The next highest type of conference session after Technical Sessions's 60% is Birds of a Feather Sessions with 10%.  There are potential advantages associated with each of these session types as well as risks and drawbacks for each session.  In this post, I look at each of these types of sessions based on my previous experiences with them...

The JavaOne Conference Blog presented an update: JavaOne has Something for Architects, too, two:

We've already mentioned that there is plenty for architects to do at JavaOne 2010, including the more than 50 sessions in the Enterprise Service Architectures and the Cloud track. But that's only a part of the story. Since JavaOne and Oracle Develop registration is a two-fer, you'll have access to even more sessions and events that will appeal to your architectural interests. For instance, there are nearly 40 sessions in Oracle Develop's Service-Oriented Architecture track and more than 30 sessions in Develop's Application Grid and Oracle WebLogic track.  So between the three tracks mentioned here you're looking at nearly 120 sessions covering topics relevant to software architects...


JavaEE, GlassFish

Arun Gupta posted Java EE 6 & GlassFish workshop delivered at San Francisco JUG - Slides & Demos available:

Roberto and I delivered a 2-part Java EE 6 & GlassFish 3 workshop to a packed San Francisco JUG meetup last week. There were about 80 attendees on Day 1 and about 40 on Day 2. Over approximately 7 hours, we gave a preview of Java EE 6, explained the key technologies introduced in the platform, and did lot of coding using NetBeans IDE. Roberto's slides are given below...

In TheAquarium, Alexis Moussine-Pouchkine provided advice for those who'd enjoy Spending quality time with the Java EE 6 Tutorial(s):

If you're finding summer to be a good time to learn something new, you could look at the Java EE 6 tutorial. This book makes for a complete and detailed reference for anyone wanting to learn and use Java EE 6. What is now available is the first part of the tutorial with the second part out soon before JavaOne (September 2010). A recent episode of the Oracle Author Podcasts explains what to expect and how the tutorial is structured...

Adam Bien responded to an interesting Mail of the Week: What I Can and Cannot Do with Java EE 6 -

Got an interesting email with questions regarding Java EE restrictions. Some answers: "I have installed Glassfish 3.0.1 and am using NetBeans 6.9.1 for implementing stuff" -- Congrats - you saved about 5h :-). I have a web service running on Glassfish. What can I do now to access an RMI based server? Can I do this:
HelloWorldRMI hdl = (HelloWorldRMI) Naming.lookup("rmi://localhost:2000/HelloWorldRMI");
String helloString = hdl.sayHello("WS");
...

Eduardo Pelegri-Llopart invited us to visit the GlassFish CafePress Store - Purveyors to the Community Since 2007:

The GlassFish Giftshop has been around since 2007; it currently includes several t-shirts, mugs, stickers and Sigg Water Bottles. 
JavaOne
(our "best"-selling season?) is around the corner, so we want to refresh the graphics and perhaps adjust the items...


Tools, IDEs, etc.

Chris Muir documented Installing JDeveloper 11g v11.1.1.2.0 under Windows:

To save me time in the future, rather than having to write it again and again for clients, this blog entry documents how to install JDeveloper 11g Studio Edition v11.1.1.2.0 build 5536 under Windows. I'll admit it's not the most exciting blog post, for sure Oracle's already done it (without my witty dialogue of course), and hey, it's not even the latest release, but sometimes we just gotta-do-documentation-for-documentation's-sake...

Toni Epple investigated Extensible Node Hierarchies for Custom Project Types:

Since NetBeans 6.0 you can extend existing Project Types by registering a NodeFactory as described here: http://platform.netbeans.org/tutorials/60/nbm-projectextension.html That’s cool, but what about your own project types, not only the ones predefined by NetBeans? So if for example you defined your own project type as described here...

Geertjan Wielenga discovered an Amazing Test Infrastructure for NetBeans RCP Apps:

Yesterday and today I worked through a lot of the FAQs, mailing lists, and other random documentation on the web in order to figure out a simple procedure for setting up unit tests, functional tests, and code coverage measurement for a NetBeans Platform application. Turns out, it was really easy, since all the related frameworks are part and parcel of the NetBeans Platform build harness. Simply go to the "harness" folder in your NetBeans IDE installation and you'll see what I'm talking about. Everything from extensions to Jemmy and JUnit for NetBeans Platform applications, to code coverage via Cobertura...

Geertjan also reported on Research in Metabolomics and Proteomics on the NetBeans Platform:

YANPA (yet another NetBeans Platform application) comes from Bielefeld University in Germany. There, Nils Hoffmann is a PhD student in the area of metabolomics. He's also the main author of maltcms.sourceforge.net, an application framework mostly geared towards the definition and execution of data processing and analysis pipelines for data from machinery such as gas and liquid chromatography mass spectrometers. Nils writes...

John Ferguson Smart provided advice on Managing version numbers in Maven with the Maven Versions plugin:

If you have a Maven project of any size, particularly involving many modules or large numbers of dependencies, you have probably come across issues when updating your version numbers. Of course the Maven Release Plugin does a great job for updating version numbers as part of the automated release process, but there are times when it doesn't quite fit the bill, and version numbers are not limited...


JDK, JVM, JSRs

Stephen Colbourne asked for help with Java generics migration compatibility:

A quick call for help on generics. Joda-Time has the following non-generic interface, with an example dummy implementation...

Ed Burns announced a Decision: Drop support for JavaSE 5 in ongoing Oracle Mojarra 2.1 development efforts -

In order to bring the testing matrix for Mojarra more in line with Oracle’s current engineering investment, we are planning to have all future Mojarra builds that are targeting the upcoming JSF 2.1 specification only support JavaSE 6 and beyond. Any 2.0.X and 1.2 builds will still continue to be built with Java SE 5.


Programming

Dustin Marx investigated The Subtle Nuance of the new Keyword with Reference Types in Java:

One of the trickier aspects of "general Java" development is related to comparing Java reference types for equality.  Fortunately, most of us learn early in our Java development experience that we can generally use the reference types' overridden versions of Object.equals to safely check the content of the objects, which is almost always what we want.  Object identity equality comparison with == is not what we want as frequently, but it can sometimes be mistakenly added to Java code and not discovered immediately because often even == between two seemingly different reference type objects can evaluate to true.  This is demonstrated in this blog post. The following simple class demonstrates how == can appear to behave erratically...

DZone recently published an interesting DZone Refcard about managing sofware teams and projects, Kanban for Software Development, by David J. Anderson and Janice Linden-Reed:

Software organizations want development to be predictable:
to accurately state what work will be done and when it will be
finished. To make such predictions, mechanisms must be in
place to determine prioritization, workflow and lead time to
delivery...

Terrence Barr analyzed LWUIT 1.4 released:

While I was traveling on business the LWUIT team released version 1.4 – both in source and binary form. With the new XHTML component rendering dynamic web content and embedding rich text locally in the Java ME applications will be easier than ever before. Additional features such as a BlackBerry support and enhanced virtual keyboard functionality will enable Java ME developers to target a much wider set of devices for creative and compelling Java ME applications. Here is a brief list of new features for version 1.3 and 1.4...

We featured Neal Ford's DeveloperWorks article Evolutionary architecture and emergent design: Building DSLs in Groovy as a java.net Spotlight:

Internal domain-specific languages (DSLs) are possible but cumbersome in the Java™ language because of its restrictive syntax. Other languages on the JVM are better suited to building them. This Evolutionary architecture and emergent design installment covers some of the capabilities you can exploit and issues you'll encounter when using Groovy to build internal DSLs...

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

Today’s post highlights the design of HD-Live.co.uk. Partially done by the previously featured Rob Palmer of Branded07, it features a wide array of subtle and unobtrusive live content that makes it a prime example of a modern web design. Set in various shades of desaturated slate blue, the design mixes a number of oversized graphical elements together in an attractive, balanced and well-spaced layout...


Open Source Projects

Josh Marinacci presented Anouncing Leonardo:

Josh announces Leonardo, a Java based free and open source drawing tool.


Web Services

Rama Pulavarthi discussed
New Asynchronous Servlet Transport in JAX-WS RI
:

This blog discusses the asynchronous Web Services support in Glassfish V3.1 and the changes in JAX-WS 2.2.2 RI taking advantage of the asynchronous servlet feature introduced in Servlet 3.0.


Miscellaneous

Dr. Michael Kolling investigated Scratch, Alice, Greenfoot—What’s the difference?

Do you remember the feeling when you were a kid and you had the fantastically rare chance to go into a sweet shop (or, as the Americans among us would probably say: candy store), and you actually had a bit of money, and you could buy something, and there was just so much choice? Wow...

Fabrizio Giudici speculated On why the Oracle-Google war might have a happy end:

In my previous post I said that the new Oracle vs Google war might have bad as well as good effects on the community. As usual, most people are screaming about the possible bad effects. I'd like to share an hypothetical scenario where the effects are good.Please note: it's not a forecast. I'm not able to do that. Maybe things will be really bad. In my scenario there is for sure a considerable...

Osvaldo Pinali Doederlein said Android = Java:

The Java community is now swamped with discussions about Oracle's patent suit against Google's Android platform. I've been contributing my opinion in several places, but there is one critical topic that needs repeating the same comments everywhere... so, this blog spills the beans once and completely.

Evan Summers considered The Prodigal Android:

Android is clearly a Java knock off, but what's wrong with that? Google took a sensible route to leverage existing Java skills, familiar IDEs etc. The problem with Java(tm) was that Sun wasn't innovating and marketing sufficiently in the smartphone space, to the extent Google has done with Android. The Java trademark and promise of compatibility is great, but the Android marketplace and growth, is greater, apparently.

Calvin Austin talked about Amazon AWS or how to run up the company credit card without noticing:

Every wondered if you left the iron on when you left the house, forget to lock the door. Amazon images running that everyone else thinks is someones elses .....read on

John O'Connor documented Getting MarsEdit to work with java.net:

I've wanted to know how to do this for over a year. Not having the time in the past, well, the task just got delayed over and over. Now I finally figured this out, and I'm sharing with you. Surely there are other bloggers that prefer to use their own blog client and MarsEdit in particular if you're using an OS X client. So, without further delay, here is how I set up my own MarsEdit client to...


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