Tuesday Jun 26, 2012

Hands-on GlassFish FREE Course covering Deployment, Class Loading, Clustering, etc.

René van Wijk, an Oracle ACE Director and a prolific blogger at middlewaremagic.com has shared contents of a FREE hands-on course on GlassFish.

The course provides an introduction to GlassFish internals, JVM tuning, Deployment, Class Loading, Security, Resource Configuration, and Clustering.

The self-paced hands-on instructions guide through the process of installing, configuring, deploying, tuning and other aspects of application development and deployment on GlassFish.

GlassFish Server Course

The complete course material is available here.

This course can also be taken as a paid instructor-led course. The attendees will get their own VM and will have plenty of time for Q&A and discussions. Register for this paid course.

Oracle Education also offers a similar paid course on Oracle GlassFish Server 3.1: Administration and Deployment.

Thursday Mar 22, 2012

A tour of the GlassFish 3.1.2 DCOM support

While we've mentioned the DCOM support in GlassFish 3.1.2 several times before, you'll probably find Byron's DCOM blog entry to be useful if you're using Windows as a deployment platform for your GlassFish cluster.


Byron discusses how DCOM is used to communicate with remote Windows nodes participating in a GlassFish cluster, what Java libraries were used to wrap around DCOM, what new asadmin commands were addd (in particular validate-dcom) as well as some tips to make this all work on your specific environment.

In addition to this blog post, you should considering reading the official product documentation :
Considerations for Using DCOM for Centralized Administration
Setting Up DCOM and Testing the DCOM Set Up

Tuesday Jan 31, 2012

Another look at GlassFish clustering and performance

With this new "Glassfish – Vertical clustering with multiple domains" blog by Alexandru, there seems to be no shortage of GlassFish configuration posts.

Surely, that must say something about the popularity of GlassFish for highly-available apps.


While it uses mod_jk like most others, this one is multi-domain, uses JMS topics and spends some time looking at different JVM settings and their impact on response time and GC activity.

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).

Monday Jun 27, 2011

Reminder: GlassFish 3.1 Clustering Webinar Today!

Quick reminder for those of you that missed the GlassFish Clustering Webinar from March, we have a new session today (June 28th, 2011).

The session is planned at 10:00 a.m. PT / 1:00 p.m. ET / 19.00 CT and you'll need to register first.


John Clingan, Principal Product Manager for GlassFish, will walk you through the various clustering features introduced and enhanced in version 3.1. This includes the SSH-based provisioning of clusters (never log in to any machine again), the centralized administration, High Availability and smart failover, load-balancer, Domain Admin Server (DAS) performance improvements, cluster deployments and more.

Other than learning about these new product features this is also your chance to ask questions to John and other GlassFish team members. See you there!

Wednesday Apr 27, 2011

Community documenting their GlassFish 3.1 experiences

Of course it's great to see so many GlassFish 3.1 blogs written by the engineers themselves but it's equally rewarding to read user blogs sharing their experience with the larger community. This time we have two fully documented blog entries on setting up a GlassFish cluster from Sven and using ActiveCache (Coherence\*Web) from Markus.


Over on the "The JavaDude Weblog" Sven has a detailed step-by-step recipe for setting up a GlassFish 3.1 cluster. His approach uses VirtualBox-virtualized Ubuntu instances and combines a Web Admin Console and command-line approach using the SSH provisioning introduced in this release.

With the recent release of Coherence 3.7, Markus discusses how to install the software, package applications to use ActiveCache for GlassFish (Coherence\*Web integration), start Coherence data nodes, all in a short and sweet blog post.

The GlassFish team of course also appreciates simple yet we believe sincere VIP compliments, thanks James!

Tuesday Mar 15, 2011

Webinar Replay : GlassFish 3.1 Clustering Deep Dive

The replay and Q&A transcript of yesterday's "GlassFish 3.1 Clustering Deep Dive" Webinar are now available.

John Clingan covers the clustering architecture changes with previous versions, the use of SSH, DAS (Domain Admin Server) scalability improvements, failover improvements with consistent hash algorithm for replicas and better performance, the new load-balancer configuration tool, and finally steps to deploy a highly-available application using the command line or the graphical admin. High availability of WS-ReliableMessaging and JMS services are also covered in this webinar.


Overall I found it to be a very well balanced and easy to follow webinar. Check it out! And remember to track all webinars (both upcoming and replays) at http://glassfish.org/webinars.

Sunday Mar 13, 2011

Clustering in GlassFish 3.1 - a fundamental article

With clustering being such an important new feature in GlassFish 3.1, it's important to get the vocabulary right and to understand the key concepts and features in the product. This is exactly what this detailed article written by the key engineers behind the implementation is set to do.


Tom, Bobby, Joe and Mahesh discuss basic clustering concepts, define what DAS, nodes, GMS, and HA are in the context of GlassFish and offer a description of the admin server and of the overall cluster architectures. The article also discusses the key role played by ssh and what it takes to install and administer such an architecture.

This is probably a good time and place to remind you that GlassFish 3.1 comes with full documentation: 20+ guides from quick-start to tuning.

Thursday Mar 10, 2011

GlassFish 3.1 SOTD #10 - The Validate-Multicast Tool

In this tenth post of the SOTD (Screencast Of The Day) series following the release of GlassFish 3.1, here is Bobby's The Validate-Multicast Tool.

This short 3.5 minute demo illustrates how running the new asadmin validate-multicast command on the machines you'd like to see participate in a GlassFish cluster. Bobby has all the details in this blog entry.

This screencast is hosted on the GlassFish YouTube Channel.

Tuesday Feb 22, 2011

Failover of stateful GlassFish 3.1 beans (community blog)

Community member Markus Eisele was too impatient (!) to wait for the final release of GlassFish 3.1 and pushed out a blog entry on clustering stateful session beans based on Release Candidate 4.


The entry goes into several development and configuration details with this imminent new version of GlassFish including showing failover in action, and using the Application Client Container (ACC), one of Java EE's best kept secret (which Jason Lee just covered in his "Java EE’s Buried Treasure: the Application Client Container" blog post).

Meanwhile others have another interesting scenario for testing the GlassFish failover feature.

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 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!