Annotation-based configuration

XML-based configuration

Programmatic exception handling