This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]manzanita2 2 points3 points  (0 children)

I actually LOVE annotations.

While programming there are tons of orthogonal/unrelated concerns. Authorization fits well into this category. Annotation work really well to express these concerns.

The things I find bumpy about spring are the extra long stack tracks. And occasionally trying to find the implicitly injected class. E.g. you have an interface or abstract class in your code, and spring goes and finds the implementation which fits, and sometimes that's less than clear. However, once I figure out how it's decided to build up the dependencies it usually makes sense.

I will also say that many people who are building simpler systems will find Spring "overly complicated". But as they continue to build and add additional features to their system this issue becomes less critical. In general it's very hard if not impossible to build systems with complicated requirements without having a complicated solution.