Dependency Injection
Planning for Dependency Injection might be a great idea, since:
- First, it allows you to isolate your code in layers, from the Lambda Façade (the one with the
@Lambada
annotation) to the actual business code - Secondly, it allows you to properly test your code locally, by allowing you to mock and/or supply different versions of your object