Tuesday Mar 22, 2011

GlassFish 3.1 SOTD #16 - Active Cache for GlassFish, Part 2

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

This is a feature that is part of Oracle GlassFish Server Control which comes bundled with Oracle GlassFish Server and available for free trial.

Following part 1, this 30-minute session offers a thorough demonstration of Active Cache for GlassFish. After a quick review of the features, Adam Leftik shows how to:
• create and configure a two-instance GlassFish cluster
• setup the application deployment descriptor to use Coherence\*Web
• configure and start a Coherence server
• configure Apache mod_jk as the load-balancer

Adam also walks you through the sample code to illustrate some Coherence APIs in addition to the API-less use of Coherence\*Web. He then deploys the application and stops/starts he GlassFish cluster to show how Coherence preserves the shared and distributed state of the application. Make sure you watch in full screen in HD resolution.

This screencast is hosted on the GlassFish YouTube Channel.