#reactive
Posts
-
Digging into Spring's Source 19: ORM and R2DBC Integration — JPA Support and Reactive Transactions
How JPA's EntityManagerFactory becomes a bean, why the EntityManager you get from @PersistenceContext is safe to share between threads, how JdbcTemplate ends up on the same connection under JpaTransactionManager, and where a @Repository's exceptions get translated — all checked in the source. Then the reactive side, where there is no thread to hang a transaction on, and R2DBC transactions ride in the Reactor Context instead.
-
Digging into Spring's Source 24: WebFlux — DispatcherHandler, Functional Endpoints, and WebClient
Follow the path a request takes through Spring WebFlux, in the source. We look at how WebFilter and WebExceptionHandler are woven together under HttpHandler, at DispatcherHandler as the reactive counterpart of DispatcherServlet, at how annotated controllers and functional endpoints share one road, and at the filter chain inside WebClient.