It’s easy to write non-blocking, asynchronous multi-layered web applications using Spring 4.2+ and Java 8’s CompletableFuture. This blog post shows you how.
Continue reading “Non-blocking Web Apps with Spring Boot & CompletableFuture”Asynchronous Query Methods with Spring Data & CompletableFuture
CompletableFuture, introduced in Java 8, provides an easy way to write asynchronous, non-blocking, multithreaded code. Since Spring 4.2 it’s now possible to write asynchronous code by returning CompletableFuture
from non-private methods annotated with @Async
.
Value Types in Java 8
This is a blog post based on the lightning talk I gave at the Kats Conf 2 conference in Dublin. The inspiration came from the book Functional Programming in Java by Pierre-Yves Saumont. Value types and how to implement them in Java is introduced early in the book and for good reason. value types are great for increasing type safety and getting the compiler to detect errors for you while you write code.
Continue reading “Value Types in Java 8”