Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring or Spring boot

As part of a new web application project, I'm planning to learn Spring. I started to read through the Spring framework reference. While I was googling, I came across Spring boot. What I understood is that spring boot helps to build application much faster than spring by reducing configuration. Now I'm little confused whether should I continue learning spring or jump to spring boot. My intention is to understand how spring works as a framework rather than a few features. So please let me know, as a beginner what should I do? First, learn Spring and then spring boot or vice-versa.

Update

Ok, I know it's a while since I asked this question. I kind of have an answer (personal one)

I started with Spring Boot and so far built one Spring Boot REST application. Yes, as others said, Spring Boot, helps you to get started quickly and being new to some language/technology, I would love to see a working module ASAP. So Spring boot helps you with that. Later depending on your interest, you can start exploring in-depth how Spring boot does that magic.

So, in summary, go with Spring Boot and then deep dive to understand the underlying concept. Again this is my opinion.

Thanks, everyone for your inputs/suggestions.

like image 406
bajji Avatar asked Jul 17 '17 20:07

bajji


People also ask

Which is better Spring or spring boot?

Spring Boot contains all of the functionality of the standard Spring framework while also making application development much easier. When compared to Spring, you can get an application up and running in considerably less time because all Spring Boot attributes are auto-configured. So the answer is Spring Boot.

Which is used more Spring or spring boot?

For building or developing applications, the Spring framework is considered to be the most widely used Java EE framework. For developing REST APIs Spring Boot framework is widely used. Developers have become more productive as this framework has made Java EE development is simple.

Is spring boot replacing Spring?

Spring Boot is not intended to replace Spring, but to make working with it faster and easier. As a result, most of the changes needed for migrating an application are related to configuration. For the most part, our custom controllers and other components will remain the same.

Which is better spring boot or Spring MVC?

Spring MVC helps to develop applications easily. Spring Boot helps to develop the applications easily and quickly with features like auto-configuration and starters. Spring Boot helps in reducing the development time as all the dependency-related task gets handled.


1 Answers

If you want to develop web applications especially micro-services, I will recommend that you should learn Spring Boot first.

  • The first reason is that there are many resources and examples on web, so you can easily find what you need.
  • The second reason is that Spring Framework (including Spring Boot) is suitable for PaaS environment especially Pivotal. Therefore you can rapidly deploy your applications without too much effort.
like image 198
LHCHIN Avatar answered Oct 25 '22 13:10

LHCHIN