Spring MVC concepts with annotations based configuration