Explore Spring MVC Architecture
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
- Knowledge in Core Java
- Coding skills
- Knowledge in Servlet and JSP
- Java Development Kit (JDK)
- Spring tool suite 4 IDE — open-source (recommended)
- MySQL database — You can get it here !
- 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…