But it doesn’t take much of a stretch to realize that it’s also dangerous. SpEL expressions are ultimately just Strings that are tricky to test and have no IDE support for syntax checking.
I encourage you to use SpEL wherever it can simplify what would otherwise be difficult (or even impossible) wirings. But be careful to not get too carried away with SpEL. Fight the temptation to put too much logic into a SpEL expression.
Definitive drawback to using too much logic in SpEL
Share this highlighthttp://www.safaribooksonline.com/a/spring-in-action/9903/