Spring MVC Rapid Tutorial For Beginners
Rapidly learn how to use Spring MVC correctly to code elegant web applications, using latest best practices.
Watch Promo
Introduction
In this course, we're going to rapidly grasp the basics of Spring MVC, how to use server side templating (using JSP), view controllers, how to serve static content, how to use the model object, messages for internalization, forms, validation etc..
After going through this course, you should be able to code Spring MVC applications using its latest best practices, and can proceed to learning other Spring modules like Spring Data, Spring Security etc. (covered in our Spring Framework Tutorial: Practical, Rapid, Intuitive).
Why JSP over Thymeleaf
Some of you may be thinking why we chose JSP over Thymeleaf. We chose it because of a few reasons.
First, in real life, most new applications today may not need any server side templating – neither JSP nor Thymeleaf. They could be REST APIs connected from JavaScript clients (e.g. AngularJS) or Mobo clients. So, just for the sake of learning Spring MVC, it doesn’t make sense to learn a new templating language such as Thymeleaf rather than using the known beast – JSP.
Secondly, although Thymeleaf is technically superior, it’s not much popular – go search a job site for JSP vs Thymeleaf for the proof.
Prerequisites
You should have some prior knowledge of Java web development and JSP. If you don’t have knowledge on web development, we'll recommend you first go through our Basic Concepts of Web Development, HTTP and Java Servlets FREE course. If you don’t have knowledge on JSP, you can just buy some good JSP book or some video tutorial – there are ample available.
It'd also be very helpful to first go through our Spring Framework And Dependency Injection For Beginners course, if you haven't already.
Your Instructor
Sanjay has more than 20 years of programming and leading experience. Since 2009, he is working on Spring Framework fulltime for developing complex applications, REST web services and microservices for multiple clients. He also leads the development of Spring Lemon.
He is currently the director of naturalprogrammer.com, providing consulting on developing large scale real-world applications. Prior to that, he was a technical lead at RAD Solutions Private Limited, doing research on open source tools, frameworks, patterns and methodologies for rapid application development. Previously, he was a project leader at Cambridge Solutions and an assistant manager at L & T Limited. He is an MCA from Osmania University and a B. Sc. (Physics) from Sambalpur University, India.
He is also the author of many real-world books and tutorials around Spring, with about 50K students at Teachable, Udemy, YouTube and Gumroad.
Visit here to know more about him.