a CQRS implementation in java