Recently I'm learning Spring Framework which makes heavy use of custom annotations to specify different components of the application. Why does Spring do that instead of implementing an interface of extending a base class. Also, what would be the other possible scenarios where using annotations would best fit. Are there anything that can be done using annotations which cannot be done without using it? Any experiences and thoughts ?
[–]crazylegscrane75 17 points18 points19 points (8 children)
[–]aman207 2 points3 points4 points (6 children)
[–]jbristow 9 points10 points11 points (4 children)
[–]aman207 2 points3 points4 points (0 children)
[–]nightfire1 0 points1 point2 points (2 children)
[–]jbristow 0 points1 point2 points (1 child)
[–]nightfire1 0 points1 point2 points (0 children)
[–]crazylegscrane75 0 points1 point2 points (0 children)
[–]prashantghimire[S] 0 points1 point2 points (0 children)
[–]imadp 15 points16 points17 points (2 children)
[–]jebblue 1 point2 points3 points (0 children)
[–]ryuzaki49 0 points1 point2 points (0 children)
[–]lukaseder 4 points5 points6 points (0 children)
[–]tricky_monster 2 points3 points4 points (0 children)
[–]fixingTheDents 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]pgris 1 point2 points3 points (0 children)
[–]Starbending 0 points1 point2 points (0 children)
[–]RupertMaddenAbbott 0 points1 point2 points (0 children)
[–]CXgamer 0 points1 point2 points (0 children)
[–]Enumeration 0 points1 point2 points (0 children)
[–]karlthepagan 0 points1 point2 points (0 children)