I want to inject a CDI Bean in a ManagedBean either with the annotation @Inject or @Produce. The CDI Bean which I use is:
@Named @Startup @ApplicationScoped
If you are using @ManagedBean use @ManagedProperty to inject properties:
@ManagedBean
@ManagedProperty
@ManagedProperty(value = "#{baseBean}") private BaseBean dBean; // getter and setter