Wednesday Mar 02, 2011

GlassFish Server Load Balancing Plugin Installation & Setup

With the recent launch of Oracle GlassFish Server 3.1, we have made some significant improvements to our clustering implementation such as improved performance and smarter failover.

However, clustering is pretty useless without a means to failover from a failed node to an active node - with the user being oblivious to the failure.  The good news is that we have also updated GlassFish Server Control to include the Load Balancer Configurator and load balancing plugin.  Check out the compatibility matrix for supported web servers and platforms (.xls).

To help those who want to use the GlassFish Server load balancing plugin, I've recorded a 30 minute tutorial/demo broken into 5 parts.  Feel free to view all 5 parts or simply view the ones that cover new territory.  Warning, brevity is not my strength since this demo could have been done in a few minutes :-)  It is best to watch the content in high definition video, of course.

Individual links here:

  1. Demo introduction and software download
  2. GlassFish Server installation and cluster setup
  3. Oracle iPlanet Web Server installation and setup
  4. Load Balancer Plugin Installation and setup
  5. Test Load Balancer & failover

Also, check out the blog post Kshitiz has written on the topic as well as the documentation.

Hope this helps!

Sunday Feb 27, 2011

GlassFish Server 3.1 - Full Java EE 6 Platform, Full Featured, Full Support

It's been over a year since GlassFish Server 3.0.1 was released as the first Java EE 6 compliant application server.  Today, GlassFish Server 3.1 continues to lead the way as the first Java EE 6 compliant application server with high availability clustering for both the full platform and the Web Profile.

Before getting into features, I'd like to thank the individuals that make up the extended product team for their amazing ability to execute.   Want the Java EE 6 Web Profile? Want the Java EE 6 full platform? Want a fully supported platform? Want some amazing developer features? Want some advanced production features?  They delivered.

From a product management perspective, we prioritized features that the community and customers wanted (and/or expected), and threw in a few good extras as well.  I'd like to thank the many community members that gave us feedback, filed bugs, etc.  Please keep the feedback coming.

UPDATE: Here are the download links:

This is also the first release where we split the documentation in two:

  1. The GlassFish Server Open Source Edition documentation (zip) covers the open source edition features.  The community should use this documentation.
  2. The Oracle GlassFish Server documentation covers the commercial product, including GlassFish Server Control features.  Commercial customers should use this documentation.  Features documented in commercial documentation are formally supported.

While I expect quite a bit of blogging today on various feature sets, I thought I'd highlight some GlassFish Server 3.1 "new features" here.  This is not even close to a complete list, but it's a start.

  • Provisioning.  GlassFish Server can now provision itself to remote hosts. Check out the "asadmin install-node" command.
  • Improved Clustering.   This is a no-brainer and pretty much what everyone has been waiting for.  Clustering in GlassFish Server 3.1 offers overall improved performance over GlassFish Server 2.1.1 (up to 34%), and smarter, faster failover. To our old friend the Node Agent: Rest In Peace.
  • Hybrid Java EE / OSGi applications.  OSGi services can rather seamlessly access Java EE components (like EJBs), and Java EE components can seamlessly inject OSGi services using the @OSGiService annotation
  • Application Versioning.   Deploy multiple version of an application, and roll backward or forward to another version. Thanks to Serli for contributing the feature.  I think the community will dig(g) it.  Check out the screencast.
  • Active Redeploy.  GlassFish Server 3.0.1 maintains HTTP session state when applications are redeployed.  This has now been extended to include Stateful EJBs.
  • Active Cache for GlassFish.  Coming in 1H 2011, Coherence\*Web becomes a drop-in replacement for in-memory HTTP session state replication. This enables much more flexible and scalable applications.  As a heads up, this will require an Oracle GlassFish Server license.
  • Embedded API.  We've done a lot of work on the embedded API, especially in the area of EJBs.  Also, our Maven support is outstanding IMHO.

We hope you enjoy this release, the first to support the supported full Java EE6  platform with clustering, high availability, and centralized administration.  If you go into production with this release, drop us a note and let us know.


John Clingan-Oracle


« August 2016