Explore Spring MVC Architecture

Nil Madhab
Javarevisited
Published in
6 min readDec 12, 2020

--

Photo by Safar Safarov on Unsplash

Nowadays, developers tend to move towards frameworks than using the actual Language itself for development. The reason is their simplicity as well as their power of development.

Considering Spring, it is totally a monster of frameworks! Spring has many advantages; Spring provides a lightweight container that can be activated without using a web server or application server software. It gives good support for IoC (Inversion of Control) and Dependency Injection results in loose coupling. With that, the interaction with the Database becomes a piece of cake!

In this tutorial, we are gonna develop a site in our local server that supports user registration and login using spring boot. We are going to follow MVC (Model — View — Controller) architecture in this tutorial.

Prerequisites

  1. Knowledge in Core Java
  2. Coding skills
  3. Knowledge in Servlet and JSP
  4. Java Development Kit (JDK)
  5. Spring tool suite 4 IDE — open-source (recommended)
  6. MySQL database — You can get it here !
  7. A good browser (Chrome — recommended)

Make sure you have all the listed prerequisites software installed and have basic knowledge on the request-response cycle as well as web…

--

--

Nil Madhab
Javarevisited

Developer @Booking.com | ex: Samsung, OYO | IIT Kharagpur | Entrepreneur, founder of simplecoding.dev | JOIN Medium, https://nilmadhab.medium.com/membership