Skip to main content

java.net: the Week in Review - May 8, 2010

Posted by editor on May 7, 2010 at 9:25 PM PDT

Hot topics on java.net this past week included Glassfish and JavaEE, JavaFX, and JVM/JDK related news. 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:


Tools, IDEs, etc.

Toni Epple wrote about NetBeans in AnnotatedBeanNode:

There's a lot of boilerplate code if you want to display PropertySheets for a Bean in NetBeans. You need to create a Node and write code to create the PropertySheet. There are some classes like the BeanNode to make things easier, but the functionality is very basic, unless you want to write BeanInfo classes. I’ve just dusted off some annotations I found useful a while ago and uploaded them to Kenai: http://kenai.com/projects/beaninfo-annotations/pages/Home ...

Geertjan Wielenga discovered the MASON Multiagent Simulation Toolkit on the NetBeans Platform :

MASON is a fast discrete-event multiagent simulation library core in Java, designed to be the foundation for large custom-purpose Java simulations, and also to provide more than enough functionality for many lightweight simulation needs. MASON contains both a model library and an optional suite of visualization tools in 2D and 3D. MASON is a joint effort between George Mason University's Evolutionary Computation Laboratory and the GMU Center for Social Complexity...

Geertjan Wielenga provided an update on Griffon and NetBeans IDE 6.9 Beta:

I tweaked the Griffon plugin for NetBeans IDE slightly (removed some obsolete dependencies then recompiled the two NBMs and created a new ZIP) and now it is available for NetBeans IDE 6.9 Beta, look for yourself to see the evidence below, which is a complete work environment for development of Griffon applications...

John Ferguson Smart announced that A new chapter of the 'Continuous Integration with Hudson' book is available:

A new draft chapter of the 'Continuous Integration with Hudson' book is now available online. This new chapter discusses basic Hudson Configuration. You can download the PDF version on the book web page. As usual, all comments are welcome! There is also now a Wiki on Github for the book, for people who would like to contribute case studies or discuss potential topics that should...

Last week's java.net poll asked Do you plan to download the new NetBeans IDE 6.9 Beta release? A total of 327 votes were cast. The results were:

  • 29% (94 votes) - I've already downloaded it
  • 12% (40 votes) - Yes, I plan to download it soon
  • 5% (16 votes) - I haven't decided yet
  • 26% (84 votes) - No, I'll wait for the final 6.9 release
  • 26% (84 votes) - No, I use another IDE
  • 3% (9 votes) - I don't know

JavaEE, GlassFish

Alexis Moussine-Pouchkine published Staying up-to-speed with GlassFish 3.0.1 developments:

With the GlassFish roadmap for the Open Source Edition published and development going full swing for its 3.0.1 release, you may be interested to track development progress as it happens (lots of bugs being fixed). In the case of this blog entry, "as it happens" means following the "promoted" builds which have gone through more testing than the nightly builds and certainly more than the continuous integration builds. Of course you can also build from source.

In the Aquarium, Eduardo Pelegri-Llopart analyzed Why Customers Pay for Open Source Projects? - GlassFish v2 U2 Patch 16:

Our sustaining organization just released yet another sustaining release to our GlassFish customers. This is GlassFish v2U2 p16, aka GlassFish v2.1 p10, aka GlassFish v2.1.1 p4. All patch releases (v2 overview) are cumulative; p4 fixes 25 new defects, accumulating 97 fixes since v2.1, or more to than 829 defects since v2U2!

Also in the Aquarium, Alexis Moussine-Pouchkine studied the data on the GlassFish GeoMap - Fast approaching the 1M unique IP mark:

The new GeoMap for April 2010 is now available from the usual address: maps.glassfish.org and it shows a small drop over March (which was a record month). Some statistics: • Monthly Admin Pings - 615,139 (+13% y/y); • Monthly Admin Pings - 48,531 distinct IPs (stable y/y); • Cumulative 14,987,314 Admin Pings from 995,443 different IPs ...

Ludovic Poitou announced that OpenDS 2.3.0-build002 is now available...:

We have just uploaded OpenDS 2.3.0-build002, a new snapshot from the development branch of the OpenDS project, to the promoted-build repository. OpenDS 2.3.0-build002 is built from revision 6400 of our source tree. The direct link to download the core server is: http://www.opends.org/promoted-builds/2.3.0-build002/OpenDS-2.3.0-build002.zip. The direct link to download the DSML gateway is: http://www.opends.org/promoted-builds/2.3.0-build002/OpenDS-2.3.0-build002-DSML.war. We have also updated the archive that may be used to install OpenDS via Java Web Start...

Eduardo Pelegri-Llopart talked about the upcoming EclipseLink Summit 2010:

The EclipseLink team, is organizing a Development Summit in Ottawa.   This 3-day event (May 25th to May 27th) will provide detailed technical information on the project.  Doug Clarke, the organizer, is inviting committers, contributors, and consumers. In addition to Doug, presenters include GordonYorke, TomWare, MikeKeith and PeterKrogh.  The Summit page keeps a list of attendees; also see the original invitation. EclipseLink is, of course, the JPA 2.0 Reference Implementation and the default JPA Provider used in GlassFish v3...

Eduardo also announced that the Focus on GlassFish v3 means no GlassFish 2.1.2:

We have adjusted slightly our Roadmap for GlassFish Server Open Source Edition. Oracle does not currently need an Oracle-branded 2.1.2, which means we can drop that release - at least for now - and stay focused on the v3 family.  The 3.0.1 release remains and is making very good progress, and so is 3.1 - regular builds of both are now available. We recently updated the GlassFish wiki with a plan description for 3.0.1; that for 3.1 is in progress...

And Eduardo updated us on Patterns and Samples for GlassFish from Antonio and Adam:

Kenai is back after its data center move (congrats to David, Lea, et al!) so this seems a good moment to remind GlassFish users of Adam and Antonio's projects on Patterns and Samples.  Both projects are based on best-selling books, both leveraging JavaEE 6 and using GlassFish...

Intland Software reported that Distributed Development Can Now Go Offline:

Managers, consultants, programmers waste so many valuable time sitting on the plane, working on-site disconnected from the outside world, or just not having access to any wifi hotspot. Intland Sofware now allows doing your work anywhere, even offline. We are happy to annouce the 2.0 release of codeBeamer Eclipse Studio (CBES). This Eclipse plugin takes all your information offline (including source code, version control of any file, and tasks), and enables you to continue your work remotely and securely. It also helps to synchronize with your web-based data at a later time.

Arun Gupta provided TOTD #133: JPA2 (JPQL & Criteria), JavaDB, and embedded GlassFish - perfect recipe for testing:

TOTD #132 explained how to use embedded GlassFish for deploying/testing a simple Servlet. As mentioned in that blog, this Tip Of The Day (TOTD) will extend that entry and show how to create a simple test that: * Creates a JDBC Connection Pool using GlassFish APIs; * Creates a JDBC Resource using that Connection Pool, again programmatically...

Lance Andersen posted Using Bean Validation with EclipseLink in a Java SE Environment:

The Bean Validation specification went final around the same time that the Java EE 6 specifications went final. The Java Persistence 2.0 specification allows for Managed classes (entities, mapped superclasses and embeddable classes) to be configured with Bean Validation constraints. In this example we are going to use Eclipse Galileo which you can download and then install from here. You will...


Programming

Stephen Chin posted Announcing the Apropos Project:

At the Lean Software and Systems Conference a week ago, Israel Gat, Erik Huddleston, and I did a presentation on Reformulating the Product Delivery Process. At the end of this talk, we unveiled an open-source, JavaFX tool called Apropos that we use for Product Portfolio Planning at Inovis...

Dustin Marx reported on some Interesting Software Development Tidbits - Early May 2010:

In this blog post, I summarize and reference some recent software development blog posts that I have found to be particularly interesting. These cover subjects such as the future of Java, the need for developers to have database skills, locating Java class files used in an application, Java sorting algorithms, and anticipated new Java dynamic language support on the JVM. Future of Java: 2010 Most of us have read countless articles and blogs predicting what the future holds for Java and for Java developers...

Michael Huttermann posted Agile ALM and Fragile Agile -update-:

As already written, I've completed my manuscript of Agile ALM end of March. Beside my writing and editing, I've also organized a lot of other people who edited, reviewed and contributed content. Now we are in a phase, where we "bring the book to production" (according to the publisher). In the past, I've already incorporated feedback from Manning's reviewers. Because Manning did not give me a list of any unclear phrasings or similar, I've hired a professional editing service for supporting me, additionally. This service gave me many very good hints. Beginning of last week, Manning put someone on the project to further "polish" the completed manuscript...


Platforms, Frameworks

On JFXStudio, William Antônio Siqueira described A Google Translate Service Client:

TranslateFX is a little app done in JavaFX that allows the user to use the Google Translator Service. The Google Translate API: The Google Translate API is simple. There’s two ways to use the API: A javascript library or the REST way. The REST way receive three attributes: The version, the language pair and the text to be translated. The response is in JSON format. You can make a HTTP GET request to below URL to see the response...

On the JavaFX Blog, Jacob Lehrbaum posted Controls, Controls, and More Controls:

In addition to perftwir20100508.htmlormance, two of the other areas where we delivered significant improvements with JavaFX 1.3 included UI controls and CSS support. In fact, some of the great improvements we saw in performance derived from the significantly improved CSS support within UI controls that was included in this release. To help you better leverage the new UI controls in JavaFX 1.3 and to take advantage of CSS skinning to customize and stylize your content, the JavaFX team has put together an excellent guide entitled, "Using JavaFX UI Controls" ...

On the JFXStudio blog, diazcardosa presented TimeShot – JFX photography post-production tool:

Painting with photos, that’s the simple concept that this new tool proposes. Using a collection of photos, from two to almost 17 million – if your computer memory allows it – the user can draw shapes with gradients of the photo collection itself, blending from one photo to the other. Imagine creating a photo from a timelapse photo set of a sunset where on one side it’s still day and on the other is already night. That is only one usage...

James Weaver wrote about The Cubic Earth Society: Using 3D Features of the JavaFX 1.3 API:

Most of us believe that the earth isn't flat, but it surprised me to discover that some Swedish researchers have presented evidence to support their theory that the Earth's core is cube-shaped.  Just thought I'd throw in a little trivia for your edification, as it is slightly related to today's JavaFX program example, named EarthCubeFX. As mentioned in the Your Calendar PWN3D post, the JavaFX 1.3 SDK, released 22-Apr-2010, contains some basic 3D-related features with which you can begin experimenting ...

Jan Haderka posted Once more on the multi-site support:

What I realized shortly after we put out Magnolia 4.3 is that while we tried to explain new multisite support for example in this screencast there are still plenty of grey areas and lot of confusion when people actually get to use the multisite support. And I think I wrote and talked about this topic earlier as well. Of course as with any new functionality, there are still...

Osvaldo Pinali Doederlein took his First, long look at JavaFX 1.3 (and Prism):

JavaFX 1.3, codename SoMa, was released at long last on April 22 - after some delays (originally due November 2009) and feature cuts (the new Prism toolkit has shipped but in EA status). In this blog I will explore the performance improvements of JavaFX's graphics stack, including Prism. Just take a cup of coffee to ride this blog - it's long, seven miles.

Alois Cochard posted Spring Batch integration module for GridGain:

I'v just published an integration module for using GridGain with Spring Batch. Using this module you can distribute Spring Batch processing inside a GridGain grid with the implementation of remote chunking.

This week's new java.net poll asks: Will JavaFX ultimately become a widely used rich client technology?


JVM/JDK

Ed Ort and Janice J. Heiss wrote a new article on the Oracle Technology Network, Dynamic Language Support on the Java Virtual Machine:

Java Development Kit (JDK) 7 is a prototype of what could be in the next release of Java Platform, Standard Edition (Java SE). JDK 7 introduces several key features to improve the performance, usability, and security of the Java platform. Of particular interest to Java developers is the addition of support for Java Specification Request (JSR) 292. The addition of a new Java bytecode, invokedynamic, for method invocation, and an accompanying linkage mechanism that makes use of a new construct called a method handle, will enable implementers of compilers for dynamically typed languages such as JRuby and Jython to generate bytecode that runs extremely fast in the Java virtual machine (JVM)...

Joseph Darcy provided an update about Project Coin: multi-catch and final rethrow:

As alluded to as a possibility previously, I'm happy to announce that improved exception handling with multi-catch and final rethrow will be part of an upcoming JDK 7 build. Improved exception handling is joining other Project Coin features available in the repository after successful experiences with a multi-catch implementation developed by Maurizio Cimadamore. Maurizio's work also revealed and corrected a flaw in the originally proposed static analysis for the set of exception that can be rethrown; from the original proposal form for this feature...

DeveloperWorks published Ted Neward's new article, 5 things you didn't know about ... the Java Collections API, Part 2:

You can take Java™ Collections anywhere, but don't take them for granted. Collections hold mysteries and can make trouble if you don't treat them right. Ted explores the complex and mutable side of the Java Collections API, with tips that will help you do more with Iterable, HashMap, and SortedSet, without introducing bugs to your code.

This week's java.net Spotlight is Joseph Darcy's announcement, Draft of Restarted "OpenJDK Developers' Guide" available for discussion

I've been working on a restarted version of the "OpenJDK Developers' Guide" and I have a draft far enough along for general discussion. The content of the existing guide is primarily logistical and procedural in nature; in time, I plan to migrate this information to a JDK 7 specific page because many of the details are release-specific. The new guide is more conceptual and once completed is intended to be able to last for several releases without major updating. The table of contents of draft version 0.775 is...


Open Source Projects

This past week's java.net Spotlight was the new project started by Michael Van Geertruy, fossesi, the Free and Open Source Software Enterprise Solutions Institute:

What does FossESI do? FossESI studies the integration of new free and open source software (FOSS) into existing enterprises. The bulk of our code will be from various technology tutorials, and our own integration "glue" code. We are kicking off the group on April 28, 2010.

Michael posted a new blog about FossESI, FESI Studying NOSQL (Cassandra, Hadoop, and Voldemort):

Last week's kickoff of FESI's research program went very well. There are a number of folks (>500) who are now following this blog on Java.net, and a number who have gotten involved. While we wait for more folks, we'll be researching new technologies, the first being NOSQL databases. If the kind of topics we're research interests you, please feel free to join the project;...


Web Services and XML

Finally, Kirill Grouchnikov provided Drinking From The Firehose – Design Inspiration April 2010:

Every month this series is tracking the latest design trends and collecting the best examples of modern web designs. Here is the list for April 2010 with almost 1700 links from 47 aggregator posts: Empathizing Color Psychology in Web Design from 1stwebdesigner...


Mobile

In a NetBeans Zone article, Fabrizio Giudici wrote about Using org.openide.util.Lookup on Android:

blueBill Mobile for Android is almost ready for primetime - apart from the quality stuff. As an exception to my common practices, I didn't go with TDD since learning Android and tuning my personal coding style is already a demanding task (I also have still to learn how to run Android specific tests that, if I understand well, can be executed on the device).


Subscriptions and Archives: You can subscribe to this blog using the java.net Editor's Blog 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
O'Reilly Media
Twitter: @kevin_farnham