Published Sep 3, 2019

SE-Radio-Episode-267-Jürgen-Höller-on-Reactive-Spring-and-Spring-5.0

Explore the strategic advantages and architectural challenges of adopting reactive programming in Java with insights from Jürgen Höller on the integration of Reactor and RxJava in Spring 5, and how it enhances web application scalability leveraging HTTP/2 and JDK 9.
Episode Highlights
Software Engineering Radio - the podcast for professional software developers logo

Popular Clips

Episode Highlights

  • Reactor & RxJava

    Spring 5's integration of Reactor and RxJava marks a significant step in the evolution of reactive programming. explains that while Spring 5 is fundamentally based on reactive streams, it offers first-class support for RxJava as a user-level API choice 1. Reactor serves as the internal composition library, providing a robust foundation for building reactive web applications. This alignment with reactive streams allows for seamless interaction between various components, enhancing scalability and performance 2.

    Reactive Streams is more of an integrational effort than it's not really user facing a very minimal set of interfaces with a publisher subscriber.

    ---

    The collaboration with stakeholders like web server implementers and datastore companies is crucial for the success of reactive streams, ensuring a cohesive ecosystem for developers.

       

    Spring Boot

    Spring Boot plays a pivotal role in simplifying the setup and configuration of Spring applications. describes Spring Boot as an entry point into the Spring ecosystem, offering pre-chosen versions of core frameworks and third-party projects 3. Its auto-configuration capabilities allow developers to start with minimal setup, making it ideal for microservices architectures.

    Spring Boot is many things to many people, but it turns out to be a very, very popular part of the modern day spring ecosystem.

    ---

    The embedded bootstrapping and special deployment arrangements further enhance its appeal, aligning well with the demands of modern software development.

       

    HTTP/2 & JDK 9

    The adoption of HTTP/2 and JDK 9 in Spring 5 brings notable improvements to the framework. emphasizes the importance of embracing HTTP/2 for enhanced server performance, noting that it requires minimal changes to application code 4. JDK 9 offers JVM-level benefits like compact strings and improved garbage collection, making it a valuable upgrade for Spring applications 5.

    With HTTP two, you can leave your code as it is, and through configuration and infrastructure updates get almost all of the benefits.

    ---

    These advancements ensure that Spring 5 remains at the forefront of modern web development, providing developers with the tools needed to build efficient and scalable applications.

Related Episodes