CDI support in GlassFish 3.1
By sivakumart on Mar 01, 2011
A new release of GlassFish, GlassFish 3.1, is here, and there is enhanced support for the dependency injection and contextual lifecycle management capabilities offered by the Contexts and Dependency Injection specification in it.
As you would know, GlassFish integrates the reference implementation of the CDI specification, Weld, to support CDI. GlassFish 3.1 integrates the latest release of Weld, Weld 1.1.0. Weld 1.1.0 was released a month ago and its main focus was on making "significant improvements in memory usage, boot-time and runtime performance" compared to the earlier release. More details on the release may be found here.
One of the major themes in the GlassFish 3.1 release is improved
and high-availability. With GlassFish 3.1's support
for persisting session state (HTTP) using in-memory
session replication, it is now possible to have an application's ConversationScoped
Beans highly-available, thereby minimizing disruption for users of the
application when a server instance fails.