Starting with Spring Frame

I plan to start learning Spring, but when I open any Spring tutorial, I find many modules like Spring REST, Spring MVC, etc.

I am really confused about how to start with spring, from which module to start, how these modules are connected to each other, should I go through all the modules?

I tried to search many sites to answer my questions, but could not find satisfactory answers, so I thought about posting here. It would be great if someone could guide me in this regard.

+5
source share
3 answers

Spring is a Java framework that provides a solution to several problems. So I think it really depends on what you plan to study. The most important thing to learn is understanding what injection of dependencies and inversion of controls mean. When you understand this, you will understand why the other structures are created as they are. I suppose to learn Spring IoC first, as this is basically the main component of the Spring Framework. Link: http://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/beans.html

After learning Spring IoC, you can continue to explore each specific Spring framework that takes into account specific problems. For instance:

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

+3
source

Start with Spring's core module, which is the heart of all of Spring.

Spring The main module helps in the dependencies of input (java objects) to the application at run time.

See below URL for more details:

http://www.springbyexample.org/examples/core-concepts.html

0
source

A good knowledge of design patterns is essential for learning any Java framework.

These Youtube videos can give you a good idea of ​​basic Spring.

As explained in previous answers, start learning with the Spring kernel. To understand advanced topics, you need to have a good knowledge of servlets, JSP, Hibernate (ORM).

0
source

All Articles