Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Starting with Spring framework

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.

like image 560
kav12345 Avatar asked Sep 11 '15 15:09

kav12345


People also ask

Which Spring framework should I learn first?

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.

Is it hard to learn Spring framework?

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“.

Is spring boot good for beginners?

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 ...


1 Answers

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

like image 100
slbb Avatar answered Oct 02 '22 20:10

slbb