What is the relationship between Spring Boot and Spring IO?
Asked Answered
L

4

28

Spring has a new project called spring IO http://platform.spring.io/platform/ and it is not really clear what is the difference between that project and Spring Boot.

I am already a spring boot user but can't tell if I should be using SpringIO or just continue on with Spring Boot.

Am I missing anything if I just sing Spring Boot and Ignore Spring IO?

I have read through the documentation for Spring IO but the answers to the above questions are still unclear.

Lycopodium answered 26/6, 2014 at 19:35 Comment(1)
sping io is a platform which consists of a lot of projects. Spring boot is recognised as project which provides templates(in terms of dependencies and configuration) for common tasks and few other nice thingsCelom
E
26

Spring IO provides a superset of the dependencies managed by the Spring Boot starter-dependencies. Spring IO level-sets the dependencies across the various Spring projects, but no additional runtime requirements. It is not, in that sense, a project so much as very convenient dependency management solution.

Spring IO is a logical construct - you can think of the various pieces as being part of this larger, managed platform. This does not require you to use all of the libraries, of course. Please check out the announcement blog for more details.

If you want to consume the Spring Boot starter dependencies, then there's no reason to change. If you're using other Spring projects, without the benefit of the Spring Boot starter dependencies, then the Spring IO platform is tailor-made for you.

Ezra answered 26/6, 2014 at 20:8 Comment(2)
So if I understand you correctly Spring IO does not include dependencies on Tomcat / Jetty which would be in Spring Boot but not in Spring IO. Does Spring Boot inherit from Spring IO in any way.Lycopodium
It sounds like another approach to address the JAR hell problem that the Enterprise Bundle Repository addresses. Is that right?Surmullet
B
6

Spring boot offers you many dependency-set to enable features, it will include dependencies (properly) in your classpath. On the other hand, Spring IO offers you NO dependencies at all, it can only help you to manage your dependencies(like to manage your dependency versions), if you need any dependency or dependency-set(e.g. via spring boot), you need to help yourself and add them manually.

Bronchial answered 26/6, 2014 at 22:36 Comment(0)
V
2

There is an interesting article on DZone by Pilar Argudo about this relationship. Here is the conclusions of this article:

  • Spring IO Platforms allows you to manage dependencies without worrying about the versions and compatibility between them.
  • Spring Boot makes the Spring application configuration easy using predefined properties, annotations and starters as dependencies.
  • Spring IO Platform includes Spring Boot as a parent. That’s the reason because Spring IO Platform includes all Spring Boot dependencies and starters.
  • Use Spring IO Platform as a parent if you want to use Spring IO Platform and Spring Boot together.

Update

Note that Spring IO will reach end of life. From the project main page:

The Platform will reach the end of its supported life on 9 April 2019. Maintenence releases of both the Brussels and Cairo lines will continue to be published up until that time. Users of the Platform are encourage to start using Spring Boot's dependency management directory, either by using spring-boot-starter-parent as their Maven project's parent, or by importing the spring-boot-dependencies bom.

Verla answered 26/2, 2017 at 10:15 Comment(0)
A
1

Spring IO Platform defines a set of dependencies (both Spring Framework dependencies as third-party libraries) that could be included in a Java project to allow you to choose the necessary dependencies without worrying about compatibility between their versions. and the spring boot is different because it is a framework that makes development and configuration of Spring applications easy. Here is a list of predefined properties and configuration classes that could be included using Java annotations and starters.

Annetteannex answered 22/4, 2019 at 7:20 Comment(1)
There are other answers that provide the OP's question, and they were posted many years ago. When posting an answer, please make sure you add either a new solution, or a substantially better explanation, especially when answering older questions.Joellejoellen

© 2022 - 2024 — McMap. All rights reserved.