Running trivial EAR with WEB module (JSF2.0) which uses CDI to create a named bean and access that bean from index.xhtml page does not work on glassfish-3.1-b31-11_28_2010. The application runs fine on GF3.0.1. Using @ManagedBean annotation instead of @Named resolves the problem on 3.1. Therefore something must be wrong with CDI.
The test application can be found here: http://netbeans.org/bugzilla/attachment.cgi?id=103394 - it is Maven based app attached to NetBeans issue 177230.