I'm planning to start learning Spring but when I open any spring tutorial, I find many modules like Spring REST, spring MVC etc.
I'm really confused on how to start with spring, from which module to start, how are these modules related to each other, should I go through all the modules??
I tried searching many sites to answer my questions but couldn't find satisfactory ans, so thought of posting here. It would be great if somebody can guide me in this regard.
There are several modules like Spring Core, Spring MVC, Spring Security, Spring Data, and Spring Boot and you need to decide what you want to learn. Since most of the developers want to learn Spring MVC, I suggest you first start with Spring Core and then follow the Spring MVC part.
Spring Boot is one of the most popular and used frameworks of Java Programming Language. It is a framework based on microservice and making a production-ready application using Spring Boot takes very little time. It is very easy to create stand-alone, production-grade Spring-based Applications that you can “just run“.
In fact, I suggest all first-timers start with Spring Boot, it's better to start with the latest and popular technology than traditional ones, btw, if you still want to start with Spring first, then you should first check out the Spring Framework 5: Beginner to Guru before going through any of these Spring Boot courses ...
Spring is a java framework which provides solutions to several problems. So i guess it really depends on what you are planning to learn. The most important to learn first is understanding what Dependency Injection and inversion of control means. When you understand this you will understand why the rest of the frameworks are designed as it is. i suppose learn Spring IoC first since this is basically the core component of Spring Framework. Link: http://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/beans.html
After learning Spring IoC, you can go on learning each specific Spring frameworks which address specific problems. For example:
Are you interested in Web development? --> Spring MVC
Are you interested in storing data to database? --> Spring Data
Are you interested in developing web services / web apis --> Spring REST
http://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/overview.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With