GlassFish 3.1 arrived! Yes sir, we do cluster now!

Markus Eisele
GlassFish 3.1 is finally there. As promised by Oracle back in March last year! And it is an exciting release. It brings back all the clustering and high availability support we were missing since 2.x into the Java EE 6 world. And there are other really nice things on the feature map. Here is your short introduction.

Get it!
As usual you can get the latest GlassFish Open Source Server 3.1 release (which is completely the same as the latest RC3/RC4 btw) from They should be there the minute this post was issued. The commercial version Oracle GlassFish Server 3.1 is available via Both can be downloaded with a Web Profile only or the full version.

What's really new
It's still the lightweight and modular Java EE 6 runtime you know. But now we have:
  • Clustering
    Multiple clusters per domain, multiple instances per cluster. Up to 100 instances per domain!
  • ssh provisioning
    GlassFish Server uses secure shell (SSH) to ensure that clusters that span multiple hosts can be administered centrally.
  • Centralized management
    The use of SSH to enable centralized administration of remote instances is optional and is required only for specific operations. Instances local to the DAS can be administered without SSH. If SSH is not practicable in your environment, you can administer remote instances locally.
  • High Availability (HA)
    Enhanced and optimized from GlassFish 2.x, High Availability Session Persistence, High Availability Java Message Service, RMI-IIOP Load Balancing and Failover
  • GlassFish Embedded API
    A reworked GF Embedded API is there to satisfy your needs!
  • (improved) RESTful API
  • Enterprise OSGi specifications (HTTP, Web, JTA, JDBC, JPA)
  • Use of CDI in hybrid applications
  • Latest Felix version, improved OSGi shell
  • Improving yet more the developer productivity features
  • ActiveRedeploy (preserving state across redeploys) now
    covers stateful EJBs
  • JDBC statement leak detection and reclaim and SQL tracing
  • Maven plugin
  • Application versioning
  • Application-scoped resources
  • weblogic.xml support

Oracle GlassFish Server Control
Even if the OSS and the commercial version are basically the same the commercial version includes some value add-ons which are useful in some situations. Beside the support and the MyOracle Support access with the contained knowledge base you now also get the Server Control add-on. It consists of different parts:
  • DAS Backup & Recovery Performance Tuner
    A complete backup and restore solution for the complete GlassFish domain.
  • Monitoring Scripting Client
    A cmd line client for your monitoring needs.
  • ActiveCache for GlassFish
    Stateful HTTPSession clustering with Oracle's Coherence (will be available with Coherence version 3.7 which ships later the year.
  • Oracle Access Manager Integration
    GlassFish Integration for OAM
  • Load Balancer Plugin & Installer
    Separate LB Plugin with it's own installer.

Get the complete documentation!
The 3.1 issue also delivers the long awaited complete set of documentation. And you can have it in two separate ways. Get the ZIP of PDF documents for Open Source Edition from and browse the Online & PDF documents for Oracle GlassFish Server docs on the site. As a side note: I love the new doc design in the oracle library! It's readable and navigable ;)

The updated roadmap
The roadmap has been updated, too. As usual this was published with a safe harbor statement in front, so you know what to think about it. It's most likely going to happen but nobody will pay you anything if you rely on this.

What else is happening today?
Together with the new GlassFish release a Java EE SDK Refresh (Update 2) was pushed out as well. There will be a launch webinar at 10 AM (PT) / 7 PM (CET). And as always you can find lot's of great resources and engineer blogs via theaquarium blog. Go check them out! And enjoy the new GlassFish release!

Finally: This was a hard piece of work! Congratulations to all the engineers working on it! 

Post a Comment


  1. Update:
    The Oracle GlassFish Server 3.1 is now available via the "Oracle Technology Network Development License Agreement"
    That makes it very easy to try out the commercial bits!

  2. Very interesting - glad to hear clustering is back :-)

    I was also a little surprised that you say there will be Coherence integration for session replication (which could be a very attractive feature for large session objects) - I wonder how that will be licensed? e.g. Coherence EE (which you need for "HTTP session management for application servers" according to would more than triple the GF price...

Post a Comment