Spring MVC Flow Diagram

MVC is a design pattern which provides solution to layer an application by seperating Business(Model),Presentation(View) and Control Flow(Controller). The Model contains the business logic and the Controller is responsible for the redirection and the interaction between View component and Model. The View component contains the presentation part of the application. [Read more…]

Spring MVC Difference between context:annotation-config vs context:component-scan

We have already learnt the about basics of Spring MVC in my previous articles. we have used <context:annotation-config> and <context:component-scan> tags but we have not discussed much about it,In this tutorial we will see the difference between <context:annotation-config> and <context:component-scan> tags and use of them. so that we can use them effectively. [Read more…]