Skip to content

making/functional-spring-cookbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

functional-spring-cookbook

Functional Spring Cookbook

Disclaimer

Samples in this repo try to use functions as much as possible rather than annotations. This is not always the best practice.

Spring WebFlux.fn

This sample shows the simplest WebFlux.fn application.

This sample shows how to use Functional Bean Registration instead of @Bean annotation config.

This sample shows how to use a http client (WebClient).

This sample shows how to use a simple retry operator.

This sample shows how to use reactor.retry.Retry from reactor-addons instead of retry operators.

This sample shows how to cache a result using java.util.concurrent.ConcurrentHashMap and reactor.cache.CacheMono from reactor-addons.

This sample shows how to cache a result using Caffeine and reactor.cache.CacheMono from reactor-addons.

This sample shows how to validate an input using Bean Validation.

This sample shows how to validate an input using YAVI.

This sample shows how to use circuit breaker using Spring Cloud Circuit Breaker and Hystrix

This sample shows how to use circuit breaker using Spring Cloud Circuit Breaker and Resilience4j

This sample shows how to access H2 database using R2DBC and DatabaseClient from Spring Data R2DBC

This sample works as same as hello-fluxfn but does not use Spring Boot.

This sample works as same as vanilla-fluxfn but does not use even ApplicationContext (DI Container).

Spring WebMvc.fn

This sample shows the simplest WebMvc.fn application.

This sample shows how to use Functional Bean Registration instead of @Bean annotation config.

This sample shows how to use a http client (RestTemplate).

This sample shows how to validate an input using YAVI.

This sample shows how to use circuit breaker using Spring Cloud Circuit Breaker and Hystrix

This sample shows how to use circuit breaker using Spring Cloud Circuit Breaker and Resilience4j

This sample shows how to access H2 database using Spring JDBC.

About

Functional Spring Cookbook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages