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 ...

Rust for Java Devs – Compiling code and using Cargo

After my last post seemed to be well received I am back with another Rust for Java Devs post. Today we will look at a compiling Rust code and have a brief look at using the basics of Cargo. For a developer there isn't much difference between how to compile Rust code compared to Java, ...

Rust for Java Devs – Creating Variables (first Rust post)

I'm going to do something different today and write about Rust instead of Java. This is something that I want to give a try and if it all goes well I will continue writing some posts about Rust in the future. I will be writing about learning Rust from the perspective of a Java developer ...

My 2017 Retrospective

I'm going to go for something a bit different in this post and have my own little retrospective on my last year both professionally and personally. I feel like I achieved quite a lot this year now that I'm looking back at it and have built the foundations that I need for my future. I'll ...

Plumbing included with auto-configuration in Spring Data Cassandra

I received a few comments on my repository for Reactive Streams with Spring Data Cassandra regarding configuration that was not required. This was due to me not making use of Spring Boot's auto-configuration which would of allowed me to remove a whole class from my code! Therefore, in an attempt to redeem myself for not ...

Reactive Streams with Spring Data Cassandra

Today we are going to look at reactive Spring Data Cassandra. This post is actually very similar to one that I did on Reactive Spring Data MongoDB with the only real difference being that they are obviously using different databases. For background information that will not be included in this post have a look at ...

Startup and shutdown scripts in Spring Data Cassandra

Shorter post this time round, it feels nice to get something finished faster than 2 weeks for once. Today we will look at startup and shutdown scripts in Spring Data Cassandra. This is something I probably should of done myself ages ago as it would of made testing my earlier posts much easier. I spent ...

More complex modelling with Spring Data Cassandra

I've got a bit more Spring Data Cassandra for you now, this will be my 4th post on the subject and I should probably get onto something else but your stuck with this for now! In this post we will look at a slightly larger example than what I have shown in my previous posts ...

Multiple keyspaces using a single Spring Data CassandraTemplate

Following on from my last post Separate keyspaces with Spring Data Cassandra we will continue looking into using multiple keyspaces in Cassandra but this time focusing on using a single CassandraTemplate to perform queries, rather than creating extra templates for each keyspace that is being used. This removes the need to create extra sessions as ...

Separate keyspaces with Spring Data Cassandra

Following on from my previous post Getting started with Spring Data Cassandra we will look into using multiple keyspaces within an application. This will be a relatively short post due to most of the content being covered in the earlier post allowing us to focus on the code needed to allow multiple keyspaces and reasons ...

Browse Categories