I have come across a glance of code which uses @Order annotation. I want to know what is the use of this annotation with respect to Spring Security or Spring MV
@Order Annotation specifies the order of loading the bean by spring container. lower the order(integer) , higher is the precedence. So order of 0 will have more precedence than order of 10. Likewise order of -100 will have more precedence than 0.