Wednesday Dec 28, 2011

2011, a year of delivering on the roadmap

After 323 posts here on TheAquarium, 2011 is coming to an end. Let's look back at what we had hoped to achieve and how the GlassFish team (and others) delivered on the promises.

The most anticipated release after the Sun acquisition was probably the delivery of a fully-clustered GlassFish 3.1 in February (see this technical article). Soon after this release, our stats indicated massive uptake, and the follow-up 3.1.1 release aligned with Java 7, another key milestone in the Java world in 2011.


2011 was also the year of Java EE 6 adoption with certifications from WebSphere 8, JBoss 6, Fujitsu Interstage, Apache Geronimo 3, Apache TomEE, and of course WebLogic 12c bringing the list of certified configurations to 12. It was also time to celebrate two years of Java EE 6 and GlassFish and to realize how long a way application servers had come.

Java EE 7-wise, the umbrella JSR was filed (JSR 342), with great progress on JMS 2.0, JAX-RS 2.0, javax.cache, and others, all with transparency. JavaOne was a good opportunity to recap the overall PaaS and platform rationalization direction.

We've stated the cloud and virtualization guiding principles for GlassFish evolution in September. The GlassFish 3.1.2 release is now well on its way and it is very much already possible to start playing with GlassFish 4.0 early bits (for instance to reproduce the JavaOne PaaS Keynote Demo). Finally we've also continued to deliver on portability of applications between GlassFish and WebLogic via even more sharing of components.

Other notable events include the migration of blogs and the project wiki as well as greatly improved Maven support (with Maven Central now hosting way more bits).

On the community side, we had another very successful community gathering and party at JavaOne and were very pleased to welcome an number of new faces in the engineering team. We also enjoyed a number of high-profile users such as espn, parleys, mollom, and more.

One final achievement that came in late in the year is the support of WebSocket in Grizzly. You can browse through a number of additional posts all tagged with frontpage.

Can we all do better in 2012? You bet!

You'll find other Java-related 2011 blogs on as well as on the Java blog.

Saturday Dec 24, 2011

Another year, another holiday break

Merry Christmas and Happy Holidays to everyone!

See you on the other side, in early January 2012!

Friday Dec 23, 2011

Some JMS and OpenMQ for the holidays

JMS and OpenMQ seems to be a recurring topic on the GlassFish forums and mailing-list so we've now made the content of a fairly recent bootcamp available for everyone to play with to become familiar with the technology.


The bootcamp covers basics on OpenMQ and how it relates to GlassFish, sending and receiving JMS messages, using MDB's (message-driven beans), setting up an MQ broker using a GlassFish instance or a GlassFish Cluster.

Just what you needed for the holidays!

Tab Sweep - Early 2011 retrospective, findbugs 2.0, RichFaces on NetBeans/GlassFish, jQuery in Java and more...

Recent Tips and News on Java, Java EE 6, GlassFish & more :

Radio Receiver

The State of Java: Stewardship (Past and Present) ( editor)
Moving Java Forward? A definition. A year in review. (Markus)
The Top Java Memory Problems – Part 2 (DynaTrace blog)
RichFaces 4.1.0 Final on NetBeans 7.1 IDE (Video) (John)
Java 7: Fork and join decomposable input pattern (Niklas)
New in Jelastic PaaS: session replication and sticky sessions (DZone)
Is setting -Xmx==-Xms still considered harmful? (Kirk)
Configuring @Schedule in Glassfish 3 (Yenlo)
Jerry - jQuery in Java (
Using GlassFish from Eclipse (David)
OTN Virtual Developer Day returns! WebLogic Server 12c, Coherence in Jan/Feb 2012 (CAF blog)
FindBugs 2 ! (FindBugs)

Wednesday Dec 21, 2011

New Parleys content - Devoxx 2011, Java EE 7, migrating to EE 6, CDI best practices, and more

Devoxx 2011 content is now available on (free for conference attendees, 79 euros otherwise).

This includes the Pragmatic Java EE 7 and GlassFish session by Jerome, the GlassFish Session featuring the Parleys use-case, Shaun's JPA Multi-Tenancy talk, Marek's update on JAX-RS 2.0, Nigel's JMS 2.0 session, Serli's introduction to GlassFish rolling upgrades and much more.


There is also more recent content on Parleys that is relevant to the Java EE and GlassFish crowd (those are freely accessible) :
The Java EE 7 Platform: Developing for the Cloud (Arun Gupta @ JFall)
Migrating Spring to Java EE 6 (Paul & Bert @ JFall)
Vaadin Faces: JSF Has Never Been Just About Markup (Ed Burns @ JavaOne 2011)
Patterns and Best Practices for CDI (Ryan and Reza @ JavaOne 2011)
Java EE 6 : The Cool Parts (Adam Bien @ JavaOne 2011)

As you may already know, is running on GlassFish and Stephan seems to be a happy camper with his GlassFish cluster handling the load.

Tuesday Dec 20, 2011

Grizzly 2.2 is here, WebSocket inside! (& more)

As you may have heard the WebSocket protocol, often described as one of the key elements of HTML 5, has finally been blessed (check out RFC 6455).

Well, it only took Grizzly 10 days or so to implement this final specification and ship Grizzly 2.2 (granted it's been keeping up with all the interim releases).


In other important addition to this release, the Grizzly Async HTTP Client will soon hit 1.7.0 and also offer WebSocket support! Non-Blocking Sendfile Support and write I/O Thottling as a protection against async write queue overloading are also new in this release.

This version of Grizzly will be integrated into GlassFish 4.0 (and may already be in the trunk by the time you read this), while 3.1.2 will ship with 1.9.42 (or later), both do offer support for RFC 6455.

How many more server-side implementations out there supporting the WebSocket protocol?

Monday Dec 19, 2011

Sister blog - GlassFish for Business

While this Aquarium blog is a one-stop-shop for anything GlassFish and Java EE from Oracle and from the community, we also maintain a GlassFish for Business blog for those of you interested in making the most of your GlassFish commercial license.

GlassFish For Business Blog

The most recent post there, "Difference between GlassFish Open Source and Commercial Editions", covers just that - why even acquire an Oracle GlassFish Server license? Is is just the support or is there anything more? (hint: there's more).

Another recent post covers the release of Oracle GlassFish Server 3.1.1 Patch 2, a great example of the value for GlassFish customers - a regular cadence of patch releases.

For those interested in finding out more :
Tech Price List (grep for "GlassFish")
Commercial GlassFish Offerings from Oracle (how fixes are applied to commercial an open source bits)
Oracle GlassFish Server and GlassFish Server Open Source Edition (Free vs. commercial, a blog from last year). Being consistent is a good thing (tm).

Sunday Dec 18, 2011

Updated Components in GlassFish 3.1.2

One of the important goals of the upcoming GlassFish 3.1.2 release is to update the sub-components to their most recent versions.

This in itself squashes a number of bugs filed against GlassFish and brings individual new features to a fully integrated and supported product.

Here is the target list of components in this next GlassFish release :

Original Tesla Engine Photo from

• JSF/Mojarra 2.1.6
• Grizzly 1.9.42
• Metro 2.2
• Jersey 1.11
• Shoal 1.6.15
• EclipseLink 2.3.1
• Hibernate Validator 4.2.0-FCS
• Weld 1.1.4

Should there be any changes, this will be documented on the GlassFish Wiki (which now has all the redirects in place following the recent move).

Thursday Dec 15, 2011

Serli does it again! GlassFish VMWare Plugin

You may remember Serli as the company that contributed application versioning to GlassFish 3.1. This time around, their engineers (mainly Fabien Leroy) are at it again with their latest contribution: a VMware plugin for the upcoming GlassFish virtualization feature in addition to the OVM, VirtualBox and KVM plugins that the GlassFish team has been developing.

Virtual clustering in GlassFish 4 : focus on the VMware plugin

On this recent Serli Team blog entry, Fabien discusses the PaaS and dynamic provisioning objectives of the upcoming GlassFish 4.0 and in particular the underlying IaaS Management Service and how it deals with pools of (virtualized) servers. This is where virtualization plugins and their templates come into the picture.

Serli's VMWare plugin targets VMware ESX and ESXi machines and a video linked from the blog entry is available to see it in action.

Wednesday Dec 14, 2011

GlassFish Wiki has moved

As indicated last month, the GlassFish Wiki now has a new home: (with the shorthand being still valid).

It should look and feel very similar to what you've been used to as this uses the same underlying Confluence software.

The most important change is probably that the Wiki is now Oracle SSO-protected.


While at the time of writing, the older wiki is still accessible, it's going away any day now with redirects to the newer instance. If you have questions or concerns, please email wiki @

Other notable GlassFish-related wikis that have migrated as well include Jersey, UpdateCenter, and IpsBestPractices. With this migration out of the way, I think we're done with Sun->Oracle migrations as far as GlassFish is concerned.

Tuesday Dec 13, 2011

Jersey 1.11 is here with MOXy support

Jakub, the Jersey lead has just announced Jersey 1.11 which offers EclipseLink's MOXy support, attaching filters to non-blocking clients as well as some docs cleanup.

Moxy Band

Jersey 1.11 is scheduled to be available as part of the upcoming GlassFish 3.1.2 release. More on other component updates for this release in an upcoming post.

I can't help but wonder if the number of Canadians involved in MOXy has anything to do with it being named after a heavy metal band. Project and product names are always fun stories.

Monday Dec 12, 2011

GlassFish 3.1.1 - an SSH recap

Centralized admin was taken to the next level with GlassFish 3.1 (and of course 3.1.1) with SSH-based provisioning.

This effectively means no more remote login onto multiple machines for managing clusters and instances or even installing the software.

Setting up SSH in your environment ranges from fairly straightforward on Unix/Linux systems to a bit tricky on Windows.

This series of links should help you get started :


Using GlassFish v3.1 SSH Provisioning Commands (Yamini)
GlassFish 3.1: Using SSH to Manage Instance Lifecycles (Joe)
Setting up SSH for use with GlassFish 3.1 (GlassFish Wiki)
SSH Provisioning and Start/Stop instance/cluster on local/remote machines (Arun)
Setting Up SSH for Centralized Administration (Oracle GlassFish Server Documentation)

If you're looking for a complete walkthrough to setting up and using a GlassFish cluster, this recent community blog post is a good place to start. Note you can always manually log into the remote machines and run local commands if need be.

The other important note is that the Windows users should have an easier time with GlassFish once version 3.1.2 is released with the new DCOM-based provisioning (in lieu of SSH).

Java EE in Brazil with Juliano

A quick one on Arun's latest video from JavaOne Latin America with Oracle partner LogicStyle.

This is a short discussion on why and how Juliano Viana works on Java EE 6 with LogicStyle's customers and how he uses GlassFish for that (because it's "open source and lightweight").

You may remember Juliano from his Java EE and GlassFish conference in Portuguese earlier this year.

Java EE and GlassFish are literally around the world. Where would you like to see them next?


Sunday Dec 11, 2011

Oracle WebLogic 12c does full Java EE 6

It's here, as promised and a few days ahead of Christmas - Oracle WebLogic Server 12c (12.1.1) is available to download and is now listed on the official Java EE 6 Compatibility Page. That's now 12 Java EE 6 compatible configurations and counting...


For the developers among you, I'd suggest subscribing and navigating through Steve's blog (a product manager on the WebLogic team). The formal documentation is here while the product data sheet is there. The top-level page for the product is to be found at

The competitor in me can't help but notice that WebLogic beat JBoss to commercial Java EE 6 certification. Again.