Friday Mar 11, 2011

Yet more GlassFish 3.1 articles from ADTmag, Dr. Dobb's and

Some 10 days after the initial release, GlassFish 3.1 is still getting some great online coverage.

"GlassFish 3.1 Features OSGi Improvements, Brings Back Clustering Support" from ADTmag focuses on OSGi support, clustering and the Oracle GlassFish Server Control add-ons.


"Oracle GlassFish Server 3.1 Swims To Surface" from Dr. Dobb's is a short and fair description of the main new features with a comment about GlassFish being the proving ground for the upcoming Java EE 7.

"Oracle's GlassFish 3.1 Improves Java Middleware" from is based on an interview with Anil Gaur, VP of Development for GlassFish.

All mention the increased compatibility with WebLogic Server, indeed an important area which will improve even more with upcoming releases of both products.

Thursday Mar 10, 2011

"GlassFish 3.1 Clustering Deep Dive" webinar this coming Tuesday (March 15th)

The next webinar in the GlassFish Series is this coming Tuesday on "Clustering Deep Dive". This is clearly one of the main new features in GlassFish 3.1 and this session is your chance to hear about what it takes to configure the cluster, how to deploy applications, how in-memory replication of state works, how a load-balancer can be used and configured and more.


Make sure you register for this session delivered by John Clingan, a GlassFish Principal Product Manager.

Active Redeploy in GlassFish 3.1

Back in October 2008, GlassFish introduced a feature designed to greatly improve the development experience by preserving the HTTP state across redeployments. That feature coupled with IDE incremental compilation and smart deploy-on-change in appserver plugins has been a big time saver for GlassFish users.


The feature is now known a "Active Redeploy" to reflect that Stateful Session EJB instances and persistently created EJB timers (in addition to HTTPSession instances) are now all supported in GlassFish 3.1. Shing Wai discusses the changes, including a new 3.1 redeployment option when using the asadmin command line and its deployment descriptor equivalents in both sun-web.xml and weblogic.xml.

To see the feature in action you can check out these (somewhat older) screencasts : #1, #2. As you'll see in those examples, this feature is tightly integrated with the development tools, both NetBeans and Eclipse, to provide a save/reload development paradigm. The reference documentation detailing this is here.

Wednesday Mar 09, 2011

GlassFish 3.1 : auto-upgrade or not to auto-upgrade?

If you have a GlassFish 3.0.1 installation you probably have been notified that you can update this installation to the newly released GlassFish 3.1 using the update center.

This will do an In-Place Upgrade with the new bits (some 75MB pulled off of the repository for the open source edition for instance).

You can of course also chose a Side-By-Side Upgrade. Both approaches are documented in the Upgrade Guide.


If you've installed GlassFish 3.0.1 as part of a NetBeans bundle such as 6.9(.1) you probably should not blindly update and rather use the recommended NetBeans 7.0 beta 2 for GlassFish 3.1. To stop the pop-up notification you can also use the Update Tool to disable it altogether, leaving you to manually check for updates.

If you intend to stay with 3.0.1, keep an eye on the GlassFishForBusiness blog for associated patch updates.

Tuesday Mar 08, 2011

GlassFish 3.1 SOTD #8 - Active Cache for GlassFish (Coherence*Web)

In this eighth post of the SOTD (Screencast Of The Day) series following the release of GlassFish 3.1, here is Adam Leftik's Active Cache For GlassFish Part 1.

This is a feature that is part of Oracle GlassFish Server Control which comes bundled with Oracle GlassFish Server and available for free trial. In addition, this requires the upcoming Oracle Coherence 3.7 product.

This is part one of a two-part video discussing the concepts behind Oracle Coherence and how Active Cache for GlassFish provides seamless integration with Coherence*Web. If you are already familiar with Coherence, you may want to jump to 17:45 into part 1 to hear about the installation and setup for Oracle GlassFish Server 3.1.

Stay tuned for part 2!
This screencast is hosted on the GlassFish YouTube Channel.

Monday Mar 07, 2011

GlassFish Embedded Server: a blog, a screencast and a doc

GlassFish Embedded (i.e. drive GlassFish from an API) was enhanced as part of the 3.1 release to improve the fidelity with the non-embedded case. Popular use-cases include testing but also embedding the GlassFish runtime as part of an application for easier administration-less deployments.

If you're interested in the topic, Bhavanishankar has a quick introduction to Embeddability of GlassFish 3.1 discussing the setup (all-in-one JARs) and the main APIs. John "Java Evangelist" Yeary also posted a 5-minute screencast showing the the Embedded API in action. As a bonus you can also sprinkle some Scala into the mix.

The GlassFish 3.1 documentation includes an Embedded Server Guide with yet more details.

Leftik and Gaur on OTN about GlassFish Server 3.1 and interop with WebLogic Server

If you've missed last week's release of GlassFish 3.1, you can tune in to this 20-minute video from OTN with Justin Kestelyn discussing with Anil Gaur (VP Development for GlassFish) and Adam Leftik (GlassFish Product Manager ) the release as well as the interoperability efforts with Oracle WebLogic Server.

Anil and Adam on OTN TechCast

The discussion covers positioning GlassFish vs. WebLogic with the sharing of components (EclipseLink, Metro, Mojarra, Jersey, JAXB, etc.) and going forward, a common micro-kernel. On the GlassFish front, Adam does a rundown of what's new in 3.1 and touches on the Oracle Coherence integration as well as Integration with other Oracle products. The differences between the open source and Oracle-branded products is also discussed in this interview.

JavaEE 7 is also covered in the dicsussion with the caveat that the platform JSR and four other JSRs have been filed since the recording.

Wednesday Mar 02, 2011

Another round of GlassFish 3.1 links

With the official press release coming out a bit after the availability of the product, GlassFish 3.1 is still getting some good coverage in the press and via some more blogs. Here's a quick set of links.

Photo from

Oracle Releases New Version of Oracle GlassFish Server
Oracle Updates GlassFish Java App Server (eWeek)
Oracle upgrades GlassFish Java app server (InfoWorld)
Frissült a GlassFish, megint fürtözhető (
GlassFish Server 3.1 est disponible, avec des améliorations pour l'administration, la haute disponibilité et le développement d'applications (developpez)
オラクル、Javaアプリケーション・サーバ「GlassFish」をアップグレード (
Вышел GlassFish 3.1 (
Oracle выпускает новую версию сервера приложений GlassFish (
Oracle Updates GlassFish - Delivers on the roadmap laid out at last year’s JavaOne (JAVA Developer's Journal)
GlassFish Server 3.1 تطلق Oracle (

GlassFish 3.1: using the master password and managing instances (Carla)
Enhancements to JMS clustering in GlassFish 3.1 (Satish)
What's new in Glassfish V3.1 Performance (Scott)
New Release: GlassFish Server 3.1. Read All About It! (Paul)
High Availability Single Sign On in GlassFish 3.1 (Shing Wai)
Quick introduction to Embeddability of GlassFish Open Source Edition 3.1 (Bhavanishankar)
Megjelent a GlassFish 3.1 (
Oracle: upgrade Glassfish Server (
Oracle actualiza el servidor de aplicaciones Java GlassFish (

Sunday Feb 27, 2011

GlassFish 3.1 is here!

Oracle has released GlassFish 3.1.

If anyone still thought we were going for a Children's Edition, let me reassure you - GlassFish Server Open Source Edition 3.1 now offers full clustering, centralized admin and many more production features while preserving the developer friendliness with its modular design.

Get GlassFish 3.1

Update: check out coverage of day #2 in this other blog post.

We are also releasing Oracle GlassFish Server 3.1 the supported product which has GlassFish Server Control already integrated for easier evaluation (the add-ons, more on that in a later post). The differences between the OSS bits and this product are highlighted on and just to be clear, clustering and centralized admin are part of the open source bits.

The Java EE SDK is also getting a facelift with a new Update 2 release. Expect a number of blogs from the engineers and the community on many different new features but also some screencasts. I'll be tracking the blogs and articles throughout the day in the later section of this blog entry and highlighting the screencasts in a SOTD (Screencasts Of The Day) series starting later today. You can track the BSC-hosted entries using this URL.

Key Links:
• GlassFish Server Open Source Edition 3.1 - downloads, docs
• Oracle GlassFish Server 3.1 - Main page, downloads: full platform, web profile
"GlassFish 3.1 - What's New" Webinar - (sessions on Monday, February 28, 2011 @ 10:00 am PST / 19.00 CET and Tuesday, March 1, 2011 @ 6:00 am PST / 15.00 CET)

Blogs and News:
GlassFish 3.1 Overview (Nazrul)
GlassFish 3.1 arrived! Yes sir, we do cluster now! (Markus)
Glassfish 3.1 ready to secure critical enterprise applications (Johan)
Customizing generated Java Web Start JNLP for app clients in GlassFish Server 3.1 (Tim)
RESTful GlassFish Monitoring (Jason)
Using GlassFish v3.1 SSH Provisioning Commands (Yamini)
GlassFish 3.1 Security (Kumar)
GlassFish 3.1 - What's new in Metro Security (Kumar)
Metro 2.1 in GlassFish 3.1 (Fabian)
Admin Security (Tim)
Application Scoped Resources (Jagadish)
Transparent JDBC Connection Pool reconfiguration (Jagadish)
Performance Tuner (Jennifer)
OAM Security Provider (Kumar)
Connecting securely to GlassFish via JMX (Prasad)
GlassFish v3.1 : New Screen under Configuration (Group Management Service) (Srini)
Glassfish v3.1 : New Screen under Configuration (Availability Service) (Srini)
Troubleshooting SSH (Yamini)
GlassFish 3.1 and create-local-instance (Jennifer)
GlassFish 3.1 and Manual Synchronization (Jennifer)
Application based Connection Pool monitoring (Shalini)
Tracing SQL queries & monitoring (Shalini)
Statement leak detection and reclaim (Shalini)
GlassFish 3.1 Now Released: Java EE 6 with Clustering and High Availability + Commercial Support (Arun)
GlassFish 3.1 est là! (Alexis)
Moving On Up: Upgrading to GlassFish 3.1 (Bobby)
GlassFish Server 3.1 - Full Java EE 6 Platform, Full Featured, Full Support (John)
GlassFish 3.1 and NetBeans 7.0 (Vince)
GlassFish 3.1 and deployment (Hong)
GlassFish 3.1 is Out (Blogging Techstacks)

Tuesday Feb 15, 2011

Two new GlassFish 3.1 RC releases!

The pace is accelerating - we now have GlassFish RC3 and RC4 available! Check the magic decoder ring for details.

Build 43 (RC4) is what you should be testing and this link has the 35+ bugs fixed since RC2 (in the main "GlassFish" JIRA). The promoted builds download page has several artifacts for you to choose from - web profile vs. full platform, installer-based (.exe or .sh) or ZIP, and multi-lingual (-ml).

As usual you can also use the update tool. Previous release candidate releases are covered here and here.


We've never been so close to releasing GlassFish 3.1 Open Source Edition! Did I say that before already? We should have a fun launch.

Monday Feb 07, 2011

GlassFish 3.1 RC2

According to the magic decoder ring the team has now cut another Release Candidate : 3.1 RC2 is here! Get promoted build 41 from the usual page.

Starting with the first RC last week, every promoted build is really a Release Candidate. I've taken a shot at generating a query returning the bugs fixed in this RC (I'm still a JIRA newbie).

If you had installed RC1, you can use the update center to update to RC2, a simple bin/pkg image-update will do. You can also start the Update Tool (bin/updatetool) and update the GlassFish install image.


Monday Jan 31, 2011

GlassFish 3.1 RC 1 (Release Candidate 1) is here - Mojarra, Jersey, Weld, and others integrated


Build 40 is GlassFish Release Candidate 1 (RC1) (when in doubt, remember to check the magic decoder ring).

This near-final version, integrates Jersey 1.5 (see Paul's release announcement), Mojarra 2.1.0 Release Candidate 2 (see Ed's announcement), Grizzly 1.9.30, EclipseLink 2.2.0 RC3, Weld 1.1.0 final (see previous post), and JavaDB

Just like previous milestones and promoted build, you can get RC 1 from

Here's a list of the artifacts, as a prelude to the final release :

Full Platform - ZIP (78MB) | ZIP (multi-lingual) (93MB) | Windows installer (52MB) |
Windows installer (multi-lingual) (61MB) | \*nix installer (52 MB) | \*nix installer (multi-lingual) (60 MB)

Web Profile - ZIP (44 MB) | ZIP (multi-lingual) (56 MB) | Windows installer (32 MB) |
Windows installer (multi-lingual) (38 MB) | \*nix installer (32 MB) | \*nix installer (multi-lingual) (38 MB)

Update: RC2 was released.

Tuesday Jan 18, 2011

Weld 1.1 is here! Shipping with GlassFish 3.1

Weld Logo

Pete Muir has announced the release of Weld 1.1, the reference implementation of CDI 1.0. This is the release GlassFish 3.1 will ship with as previously discussed, and the last Pete worked on as the lead. Congrats to him on his new role and thanks for all the fish!

There's been quite of CDI and Weld coverage here lately, so here's a quick recap :
Weld Extensions is now Seam Solder and soon GlassFish-friendly
Java champions on the value and portability of CDI
Weld 1.1 in GlassFish 3.1

With the upcoming release of GlassFish 3.1, the vast majority of Weld or CDI-related issues should be gone. Specifically these memory leak related issues which impacted CDI early adopters in 3.0: 14419, 13928 and 12368 are now all fixed (check this complete list of CDI-related issues), including the portability issue with CDI extensions (Seam 3 on GlassFish) which was fixed in build 37. Siva has already integrated Weld 1.1 into GlassFish, so look for it in the 3.1 RC1 build!

Monday Jan 10, 2011

12 GlassFish Webinars!


With GlassFish 3.1 soon to be released and Java EE 6 still a very popular topic, the GlassFish Webinar Series announced by Pieter has you covered on lots of different topics.

That's no less than 12 webinars scheduled before the end of May to cover the Java EE programming model, various tools, what's new in GlassFish 3.1, clustering, admin, productivity, Coherence\*Web integration, HK2, Security, Embedded and more.

Here is the registration page for the first event on January 20th:
Web application development with Java EE 6, GlassFish and NetBeans - Free Webinar with Live Q&A.
Update: this page will show the events are registration becomes available.

Thursday Jan 06, 2011

An update on GlassFish 3.1

Shutter release picture

There might have been some confusion recently around the availability of GlassFish 3.1 in final version (GA/RTM/FCS, pick your favorite acronym). While the original roadmap from March 2010 mentioned late 2010, the JavaOne keynote in September 2010 mentioned two GlassFish releases in 2011. So here is the update :

GlassFish 3.1 Open Source Edition is scheduled to ship in February (exact date still TBD). This is to ensure that we get quality right as we deliver full clustering, centralized admin and much more in this release. The team is working hard on delivering the promised feature as well as a number of add-ons which we hope to cover extensively around the release date.

This release remains one of the most aggressive schedules we've executed on in the history of GlassFish.

As we get closer to the release date of GlassFish 3.1, we'll communicate more and more news on the 3.2 release (currently slated for Q42011). Check this blog and this schedule for updates. And in the meantime get a recent promoted build to try it out for yourself or watch a few videos.