Category: Spring Boot

Containerising a Spring Data Cassandra application

I'm continuing my journey of learning Docker. I am still keeping it simple at this point. This time around, I am going to tackle converting a Spring and Cassandra application to use containers instead of running locally on the host machine. More precisely, using Spring Data Cassandra to sort out the application. I wish I ...

Using Docker to shove an existing application into some containers

I have finally got round to learning how to use Docker past the level of knowing what it is and does without ever using it. This is the first post that I have attempted to use Docker in and will probably be what I refer to whenever I start a new project (for Java or ...

https://pixabay.com/photo-61897/

Streaming data out of a Corda node with Spring WebFlux

It's been a while since my last post but I'm finally back! Since I am still on my project, I will be writing about using Corda again. This time, rather than focusing on Corda, we'll look at using Spring with Corda. More specifically, Spring WebFlux. Why do this? One, because we can. Two, because it ...

Interacting with Cassandra using the Datastax Java driver

I'm back with more Cassandra and Java integration today this time focusing on using the Datastax Java driver rather than Spring Data Cassandra which I have already written about quite a lot. The Datastax driver is actually used by Spring Data to interact with Cassandra but comes with some extra goodies built on top of ...

Creating multiple RouterFunctions in Spring WebFlux

In this post we will be looking at defining multiple router functions to different logical domains in Spring WebFlux. This might not be a problem if you are creating "Microservices" as you will most likely only be working within a single domain for each service, but if you are not, then you will likely have ...

Doing stuff with Spring WebFlux

Spring Boot 2.0 went GA recently, so I decided to write my first post about Spring for quite a while. Since the release I have been seeing more and more mentions of Spring WebFlux along with tutorials on how to use it. But after reading through them and trying to get it working myself, I ...

Running on time with Spring’s scheduled tasks

Do you need to run a process everyday at the exact same time like an alarm? Then Spring's scheduled tasks are for you. Allowing you to annotate a method with @Scheduled causing it to run at the specific time or interval that is denoted inside it. In this post we will look at setting up ...