Demonstrates how to inject beans with validation constraints.