An Oracle blog about Java Technology

Active Redeploy in GlassFish 3.1

Guest Author

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.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.