Demonstrates how to inject and use request-scoped and session-scoped CDI beans in a web application.