Spring Exception Handler

Error Handling for REST with Spring Before Spring 3.2 the two main approaches to handle exceptions where HandleExceptionResolver or @ExceptionHandler annotation. The it was added @ControllerAdvice and ResponseStatusException. Controller level (MVC) This strategy only works for active controllers is not global to the entire application. HandleExceptionResolver This is enabled by default in DispatchServlet. DefaultHandlerExceptionResolver Used […]

Reactive programming

Implementations Reactive programming is a programming paradigm associated with non-blocking, asynchronous and event driven processing of data streams. It facilitates automatic propagation of data flow. Implementations: Project Reactor, RxJava, Java9 Reactive Flow. https://medium.com/globant/reactive-programming-project-reactor-rx-java-java-9-reactive-flow-881f5070f7df There are four interfaces: Project Reactor Spring WebFlux, provides two data types: RxJava Java extension of ReactiveX Observables – any object can […]