Glassfish uses WELD as the CDI implementation and no additional configuration should be required. If you're using
CDI one really interesting extensions package is Myfaces CODI http://myfaces.apache.org/extensions/cdi/ which
provides additional scopes (out of the box CDI doesn't have ViewScoped) and lots of other things many of which I
don't honestly fully comprehend, but @ViewAccessScoped makes it all worth it. Myfaces CODI works with Mojarra.