Spring framework

  • How to Safely Call Blocking Code in Spring WebFlux Without Breaking Reactive Flow

    There might be situations where you need to invoke a blocking call within a reactive flow in Spring WebFlux. This can be an external service like a database API, file I/O, or another API. If you don’t handle this case with care, it can break the reactive flow. You don’t want to break the reactive…

    Read More …

  • How to build a REST API with Spring Boot

    Spring Boot makes it very easy to build production-ready REST APIs with minimal configuration. In this tutorial, we’ll build a simple Book Management REST API with CRUD operations. This article doesn’t cover the security aspects. This will be covered in later posts. You will learn to build rest api with spring boot with full code…

    Read More …

  • Spring WebFlux: A Complete Guide to Reactive Programming and High-Performance APIs

    Spring WebFlux is a reactive programming framework introduced in Spring 5 to handle asynchronous, non-blocking web applications. It is designed to provide a scalable and efficient solution for handling concurrent requests, making it ideal for modern cloud-native applications, microservices, and streaming data scenarios. Why Spring WebFlux? Traditional Spring MVC applications use a synchronous, thread-per-request model,…

    Read More …

theStemBookDev

about science, tech, engineering , programming and more