Coherence CE 21.06 Milestone 2 Released

Aleks Seovic
Oracle Coherence
Published in
2 min readApr 29, 2021

We are pleased to announce immediate availability of Coherence 21.06-M2 release, the second milestone release on the road to Coherence 21.06 scheduled for June of this year, which contains a number of bug fixes and improvements, and a brand new Repository API implementation.

The Repository API implements Repository pattern and enables another way of accessing data stored in Coherence. It provides a higher-level API on top of the existing NamedMap API, effectively making many common data access operations one-liners. It is particularly well suited for applications that use Domain Driven Design (DDD), although it is certainly not limited only to those.

The Milestone 2 release adds support for asynchronous, CompletableFuture-based repository implementations, which allow you to access data managed by Coherence in a non-blocking fashion, as well as to stream potentially large result sets without incurring the cost of accumulating all the results in a single process.

The Repository API was introduced to make the implementation of data access layer within the applications easier, regardless of which framework you use to implement applications that use Coherence as a data store. It works equally well for plain Java applications and applications that use CDI, where you can simply create your own repository implementations, as described at the beginning of this document.

It is also the foundation for our Micronaut Data repository implementations, so all the functionality described here is available when using those frameworks as well. The only difference is how you define your own repositories, which is framework-specific and documented separately.

We hope you’ll find this new feature useful, and that it will make implementation of your Coherence-backed data access layers even easier.For more information check out complete Repository API documentation.

For the list of remaining bug fixes and improvements, please refer to the release notes on GitHub.

--

--

Aleks Seovic
Oracle Coherence

Father of three, husband; Coherence Architect @ Oracle; decent tennis player, average golfer; sailor at heart, trapped in a power boat