Read-only EntryProcessors with Hazelcast

This post is a follow-up on my post EntryProcessors and EntryBackupProcessors with Hazelcast. In the comments, Peter Veentjer from Hazelcast gave me the idea to use an EntryProcessor to read part of the data. I will show you below how to best do this. We start with a cache that has 10 User objects in…

EntryProcessors and EntryBackupProcessors with Hazelcast

Hazelcast has the concept of EntryProcessors (like Oracle Coherence). EntryProcessors allow to update cache entries without having to pull over the actual values. You move the processing to where the value lives and update the cache there. Furthermore, Hazelcast has the notion of EntryBackupProcessor (which Coherence does not have). To explain the usage of this,…

Introduction to using JavaFX with afterburner.fx

I wanted to try out afterburner.fx, a JavaFX framework which describes itself as: a minimalistic (3 classes) JavaFX MVP framework based on Convention over Configuration and Dependency Injection. For this purpose I created a simple note taking application which looks like this when finished: First off, the domain class that represents a Note: I also…

Using Cassandra-unit with TestNG

I just started some tests with Cassandra and Spring Data Cassandra. I want to write some unit tests for this using TestNG. The Cassandra Unit project uses JUnit by default, but can be used with TestNG as well with some tweaking. To start, add the following dependencies in your Maven pom: Now we can setup…