4 ms·
> Spring Boot Vert.x is nothing like Spring Boot. Spring Boot combines Spring with autoconfiguration and the ability to run in its own container. Spring Boot c
by needusername 8y ago
> Spring Boot
Vert.x is nothing like Spring Boot. Spring Boot combines Spring with autoconfiguration and the ability to run in its own container. Spring Boot can run on Undertow which the other branch of JBoss marketing promotes a lighter weight than Netty.
- Areading314 8y agoBut they're both frameworks for writing a server right?
- needusername 8y agoNot Spring Boot. Spring Boot is a framework for implementing a server side application. For example you use Spring Boot to implement a RESTful server side application including persistence and security. You do not use Spring Boot to write an HTTP server, instead Spring Boot uses an existing HTTP server.
- threeseed 8y agoVert.x uses an existing HTTP server as well: Netty.
- needusername 8y agoI look at Netty as an async IO library. You use Netty to build your own servers. Yes, I know, Netty ships with an HTTP client and server.
- chrisseaton 8y ago> But they're both frameworks for writing a server right? reply > Not Spring Boot. Spring Boot is a framework for implementing a server side application. 'server side application' and 'server' or 'web server' are two terms for the same thing in many people's vocabulary. You two are arguing at cross-purposes.
- needusername 8y agoThen people need to use these words more carefully. 'server side application' and 'web server' are not even close to being the same thing.
- jsight 8y agoRight, but you don't use Vert.x to "write an HTTP server" either. In both cases you use the server from the framework, though in the case of Spring Boot that is also pluggable.
- yunyu 8y agoSorry, Vert.x web would be a more appropriate comparison.
- needusername 8y agoEven Vert.x web has no equivalent to Spring which forms the basis of Spring Boot. Spring is a complete application framework that combines dependency injection, AOP and enterprise integration. To my knowledge Vert.x and Vert.x web have no equivalent to Spring Boots autoconfiguration. I am not saying Vert.x or Vert.x web are worse than Spring Boot but they do very different things.
- signal11 8y agoSpring's WebFlux is the closest analogue I could find to Vert.x web (https://docs.spring.io/spring/docs/current/spring-framework-reference/web-reactive.html https://docs.spring.io/spring/docs/current/spring-framework-...). However WebFlux is quite new and looks like it's targeted to existing projects that use Spring and need some reactive features.