users@glassfish.java.net

CDI No longer working in 3.1-b29

From: <forums_at_java.net>
Date: Sun, 21 Nov 2010 12:00:33 -0800

In upgrading my Netbeans IDE to 7.0 beta, I also brought along with it the
GlassFish 3.1.  I was using 3.0.1 before and importing the Seam 3 packages
so that CDI and @ViewScope worked.

When running the same application against GF 3.1b29, I get exceptions because
the beans annotated with @Model no longer work.  If I chane them to
@javax.faces.ManagedBean they do get instantiated.

Is there any special trick to getting CDI annotations to work in GF 3.1?  
Also, do I still need to import Seam 3 faces?

Much thanks for any help. 


--
[Message sent by forum member 'alan94539']
View Post: http://forums.java.net/node/721455