CDI and JSF Examples. Included examples:
- Bean constructor annotated with @Inject example (article | example)
- Use @Inject to annotate a common method of a bean (article | example)
- Use @Inject to annotate a field of a bean (article | example)
- Avoid common mistakes that causes ambiguous dependencies errors (article | example 1 | example 2)
- Referencing a producer method via an EL name (article | example)
- Inject a Java logger via a CDI producer method (article | example)
- Injecting HTTP parameters via a producer method (article | example)
- Using the CDI @Observes (article | example 1 | example 2)
- Testing CDI code using CDI-Unit (article | example)
- Use a CDI alternative as a mock implementation for a stateless session bean (article | example)
- Using CDI alternatives priority (@Priority) (article | example)
- Beans discovery modes (article | example)