Thursday Dec 16, 2010

GlassFish 3.1 - Milestone 7 is here!

GlassFish Milestone 7

Milestone 7 of GlassFish 3.1 (wiki page) is here and it's promoted build 33 (magic decoder ring is here). Get your copy from this page.

While the previous milestone was a feature-freeze release, this new milestone has now the development team in high-resistance mode. The release is moving along nicely with thousands of issues resolved so far and hundreds of bugs fixed each week on average.

Now is really the time to test this GlassFish 3.1 milestone and file bugs (on the new shiny JIRA system). Whether you're using the clustering features or not, we want your feedback!

Saturday Nov 20, 2010

From Download to Testing a Clustered Deployment in Under 10 Minutes

Arun's latest screencast shows off GlassFish 3.1's HA and Centralized Administration.

The video shows how to create a 2-instance cluster on a single machine using the web-based Administration Console, deploy the canonical clusterjsp application, and show session fail-over capabilities in GlassFish 3.1.  From download to testing an application with high availability all in under 10 minutes...

Arun's video is at our official YouTube channel; follow the links to GlassFishVideos, or directly to GlassFish 3.1 Clustering, High Availability and Centralized Administration.

As of the writing this note, the channel has more than 300 subscribers with more than 14K channel views and more than 56K upload views.  Subscribe to not miss any of the content; so far there are 51 videos.

Wednesday Nov 10, 2010

Weld 1.1 in GlassFish 3.1

Contexts and Dependency Injection for the Java EE platform (JSR 299, tag:CDI) is one of the key specifications in JavaEE 6 and as more people are adopting it, its performance becomes more and more important.

GlassFish 3 has implemented CDI from the beginning through JBoss's Weld, the Reference Implementation for CDI, but some users have voiced concerns on the performance of the early versions of Weld (see Harald's comment or bugid 14419). The Weld team has been debating them (e.g. see thread@weld-dev) and Pete indicates that Weld 1.1 addresses these issues.

If you are a GlassFish user, you will soon be able to try out Weld 1.1.  We could not integrate the earlier beta1 due to some API incompatibilities but we are incorporating beta2 right now and we expect it to appear in GlassFish 3.1 Build 29 (next week), or at the latest in Build 30 (MS7, targeted for 11/23, see Build Map).  When it shows, please validate it against your applications and let us know if you see issues.

Friday Oct 29, 2010

A Tale of Two GlassFish Releases: 2.1.1 p8 and 3.1 MS6

The two most recent releases show how GlassFish provides support and add new features.

GlassFish 2.1.1 patch 8 is the most recent patch in the GlassFish 2 family.  This commercial release fixes 17 new defects.  The last 8 patches collectively fix 207 defects since the last public and free release, GlassFish 2.1.1.  GlassFish 2.1.1 was also GlassFish 2.1 patch 6, including 251 fixes since the previous public and free release, GlassFish 2 U2.

These patch releases reflect the core of the GlassFish commercial support from Oracle.  The other extreme are the milestone releases in GlassFish 3.1: we just released GlassFish 3.1 MS6 (or build 26, see mapping), which is a feature-complete version of GlassFish 3.1, and includes all our clustering support.

And when we release (the free and public) GlassFish 3.1 later in the year it will fit within the Overall GlassFish 3 Release Family and we will start planning patch releases after it.

Monday Oct 25, 2010

FishCAT is Back - Now for GlassFish 3.1

We are starting the FishCAT program for GlassFish 3.1.

Last go around FishCAT was extremely useful under the leadership of Judy. Judy is now in a different group at Oracle and no longer can help lead the project for 3.1, but most of the Team Members are still around and Richard and Manfred have graciously offered to lead the 3.1 effort with Sudipa acting as his Oracle contact.

Last week Richard launched the program; more details in the FishCAT for GF 3.1 page and in the Quality mailing list. The plan was to start testing with the infrastructure first and on the GUI later as the features showed up, but b25 is already out there, so all features can be tested.

Go Fish!


Could not resist including a cartoon for The Cat Came Back...:

Friday Oct 22, 2010

A practical guide to configuring and testing GlassFish 3.1 Clustering

GlassFish Clustering

The main theme for GlassFish 3.1 is clustering which really encompasses centralized admin, load-balancing and in-memory state replication (HA). These features are all available in the 2.x family and are now being introduced in the OSGi-based and JavaEE6-compatible GlassFish product.

While a lot of engineering time has been spent on making the clustering configuration as easy as possible (even with v2.x, see this short demo), one will need to test the configuration and adapt to the networking environment so that's why Shreedhar wrote this recent entry on "How To Configure & Test High Availability with GlassFish Server 3.1 Using A Single Machine"

This blog entry discusses the following :
• the new asadmin validate-multicast command
• creation of a glassfish cluster with explicit multicast address and port
• use of the asadmin get-health command to ensure an HA cluster was properly started
• deployment of applications with --availabilityenabled=true and testing the fail-over
• differences in choosing the replica instances compared to GlassFish v2.x behavior
• how file issues and provide feedback

What may not appear in the list above is the amount of work that went into developing and enhancing the runtime clustering through Shoal's GMS and In-memory replication features (check the one-pagers for more details: In-memory Session Replication, GMS Runtime Clustering, GMS Configuration).

With Milestone 6 scheduled for early next week and the FishCAT program just kicking off (thanks to Richard and other community members!), now is a great time for you to start testing your applications in a GlassFish 3.1 HA environment.

Thursday Oct 21, 2010

46 GlassFish Videos! 31K Views!

We have been adding videos to our YouTube channel: GlassFishVideos.  The latest video is from Vince, where he covers the features he has been adding (see GlassFish 3.1 and NetBeans 6.10).

GlassFishVideos now has 46 videos grouped into different playlists. Stats as I write this note are 10,029 channel views, 31,518 upload views and 248 subscribers, which is pretty good for a channel we started in late July; we are declaring it a success and will continue to post videos there.

Below is the full list of videos; subscribe to the channel to stay informed.

HTML5 Series (3)

OSGi enabled Java EE Applications (6)

JavaOne 2010 (2)

GlassFish 3.1 Series (8)

GlassFish 3.0 Series (7)

More GlassFish v3 Videos (5)

JavaEE 6 and GlassFish 3 with Eclipse Series (5)

Java EE 6 and GlassFish 3 with NetBeans 6.9 Series (5)

The GlassFish v2 Classic (1)

Fun Videos

We also have a few fun videos, including some old Sun Promo Videos.

Monday Oct 18, 2010

Another HTML5 and GlassFish Video: 2D APIs and Client SQL DB

More HTML5 from Santiago, this time showing how to use the 2D APIs and the client SQL DB APIs.

As previously, Santiago provides a Blog Post and sources, which should run on the latest GlassFish 3.1 Milestone and your favorite WebSockets-enabled browser (or device).

Santiago also provides a screencast, now available at GlassFishVideos as part of the new HTML5 playlist. The screencast is in HD, if you expand it into full-screen you can easily read the code in the NetBeans IDE.

PS. GlassFishVideos already has 44 videos; subscribe to get the notifications as we upload new content there.

Thursday Oct 07, 2010

NetBeans 7.0

There is a revised NetBeans roadmap: NetBeans 6.10 Changes to NetBeans 7.0 and now releases in March 2011. NB 7.0 still has support for GlassFish 3.1 but now will also come with support for JDK 7 language features and for JDK 7 beta.  The plan is that there will be a minor patch release later when JDK 7 goes final, and later there will be a NB 7.1 with support for Client Java and JavaFX Java APIs.

NB 7.0 will also add support for WebLogic Server, Maven 3 and Oracle DB. See Announcement, NewAndNoteworthy and Roadmap. And get ready for NB 7.0 M2; it should be out next week.

Thursday Sep 30, 2010

GlassFish 3.1 and NetBeans 6.10

The next version of NetBeans is 6.10 (Release Roadmap).   NB 6.10 has support for the GlassFish 3.1, and the two schedules (NB 6.10, GF 3.1) are aligned which means our tools folks are extra busy, and Vince has been documenting his new additions through a series of posts in his blog.

The builds to use with the posts are NB 6.10 M1 - released at the end of August - or the nightly builds.

Here is the current list - I'll try to update the list as Vince adds entries:

Initial Support for GlassFish Server 3.1
   Kickoff of the series.  Integration plan into NetBeans 6.10 is described in the NetBeans Wiki Page
Restart a remote instance of GlassFish Server
   Support for the restart-domain command works with remote domains
New Enable and Disable actions for deployed apps
   Two additional actions for applications deployed onto GlassFish Server instances: Enable and Disable.
Restart a remote server in debug mode
   UI now leverages the new support for restarting a server in debug mode with a single command.
View Server Log for remote instance
   Users can see the log for remote GlassFish Server 3.1 instances
Supporting glassfish-resources.xml
   New name and new content GlassFish Server 3.1 builds integrated into NetBeans dev builds   As the title says - now integrated!
Create domains that use the default ports
   New feature?  Or bug fix?
Web Service Nodes of a GlassFish Server 3.1 instance
   Quick way to get the URL to the WSDL for services deployed in NB
IDE Feature, now available from the command-line
   Support for the new Application Scoped Resources (Spec, Screencast)

As you can see, good progress!

Thursday Sep 09, 2010

Mapping GlassFish 3.1 Milestones to Promoted Builds

Harald asked for help in mapping Milestones to Promoted builds. The map is implicit in the 3.1 Build Schedule and in the list of Promoted Builds, but the explicit map is:

• Milestone 7 - Build 30 (target date 11/23)
• Milestone 6 - Build 26 (target date 10/26)
• Milestone 5 - Build 20 (target date 9/14)
• Milestone 4 - Build 16
• Milestone 3 - Build 10
• Milestone 2 - Build 6
• Milestone 1 - Build 2

The functionality of promoted builds is cumulative. People should try using the latest promoted build; if that shows a regression, try the latest build that corresponds to a milestone... and file a bug.

Remember that all these are bleeding edge builds. If you are interested in stable builds you should use either 3.0.1 or 2.1.1, either the GlassFish Server Open Source Edition or the Oracle GlassFish Server (also see GlassFishForBusiness).

Wednesday Sep 08, 2010

All GlassFish 3.1 Screencasts

Our Official Channel at YouTube is GlassFishVideos.  It's still very new - we started it just a bit over a month ago - but it already has over 4,580 channel views.  Not at the level of the Lady Java videos ([1], [2], [3]), but it is a good beginning.

We currently have 31 videos at GlassFishVideos.  They mostly cover GlassFish 3 and are grouped into series.  We are currently trying to cover the features in the new, ongoing, release: GlassFish 3.1.

All the most recent screencasts have been based on the 3.1 Milestones; we hope to have screencasts covering Milestone 5 before JavaOne:

Videos on GlassFish Milestone 4:

GlassFish 3.1 Open Source Edition - New JDBC Features (Alexis)
Application-scoped resources in GlassFish 3.1 (Alexis)

Videos on GlassFish Milestone 3:

GlassFish 3.1 Admin Console as of Milestone 3 (Alexis)
Hudson Plugin for GlassFish prototype (Alexis)

Videos on GlassFish 3.1 Milestone 2:

Clustered (SSH) management and deployment for M2 (Alexis)
WebSockets 101 (Alexis)

Videos on GlassFish 3.1 Milestone 1:

Application Versioning in GlassFish 3.1 Milestone 1 (Alexis)
Basic Clustering demo for GlassFish Open Source Edition 3.1  (Alexis)

GlassFish 3.0 Series

More GlassFish v3 Videos

JavaEE 6 and GlassFish 3 with Eclipse Series

Java EE 6 and GlassFish 3 with NetBeans 6.9 Series

The GlassFish v2 Classic

Monday Aug 30, 2010

New GlassFish 3.1 Screencast: Application-scoped resources

ALT DESCR

This short screencast demonstrates the new application-scoped resources feature available starting with Milestone 4 of GlassFish 3.1 (the demo used promoted build #17). Such resources are bound to a module (war, ear, ejb) and as such they are created on deploy and destroyed when the module is undeployed. They are defined in a file called glassfish-resources.xml (schema-constrained) and shipped with the archive.

These resources are available only from the application they "belong" to which offers some level of security, more configuration flexibility (no resource name collision and different settings for different applications) as well as some level of performance isolation. They overall provide a single click/single deploy experience.

More details such as full demo description, application-scoped vs. module-scoped, location of glassfish-resources.xml and more are available from Feature one-pager (GlassFish Wiki) and Application Scoped Resources (Demo instructions).

Sunday Aug 29, 2010

Staying the Course - GlassFish v2.1.1 p7 now, GlassFish 3.1 M4 soon

August is normally a slow month in (most of) the northern hemisphere, but this year it is proving to be anything but that for the GlassFish team.  Some events were atypical but planned for (JavaOne 2010 not being in July, the big merge, the target schedules for GlassFish 3.1), while some others were unexpected. Sometimes it has felt like we are going between Charybdis and Scylla and we could use some help...

Despite all these distractions, the releases continue for the GlassFish 2 and GlassFish 3 families.

On the GlassFish v2 family, we continue to deliver patch releases for our commercial customers.  The latest one is Patch 7 for GlassFish 2.1.1; as with previous patches, it is also Patch 13 for GlassFish 2.1 and Patch 19 for SJS AS 9.1 U2 (GF v2 U2).  The patch addresses 51 new defects; cumulative, 190 bug fixes since GlassFish 2.1.1.

The companion blog GlassFish For Business, records all Oracle (previously Sun) releases. In particular, check out the overview for the GlassFish v2 family, and look for details on GlassFish 2.1.1 patch 7.

The ultimate source for the patches is SunSolve; and the entry at GFB has links into there. Note that patches are now also available at MyOracle Support.

On the GlassFish 3 family, Milestone 4 has been completed and is very close to being promoted.  The next release after that is Milestone 5, which is the JavaOne special... and, talking about that one, if you come to JavaOne, don't forget about our Community Event and Party, on Sun, Sept 19th, just before J1 starts.