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 Dependency Injection – Setter Injection

Dependency Injection is the most important concept of the Spring. It is also called as Inversion of Control (IoC). Dependency Injection makes our code Loosely Coupled, Spring’s IOC container is light-weight and it manages the dependency between objects using configurations. It connects the related objects together, instantiates and supplies them based on configuration. Spring DI can be configured in two different way XML Based (Spring-configuration xml) and Annotation based. [Read more…]