Micronaut Coherence 1.0.0 Released
We are pleased to announce immediate availability of Micronaut Coherence 1.0.0, the official integration of Oracle Coherence with Micronaut Framework.
Micronaut Coherence provides support for a number of Micronaut features:
Dependency Injection of Coherence Objects
The micronaut-coherence
module provides bean factories for commonly used Coherence objects, such as Cluster
, Session
, NamedMap
, NamedCache
, NamedTopic
, and many others, which allows you to easily inject those objects into your application classes.
Listeners for Coherence Events
The micronaut-coherence
module also provides support for Coherence server- and client-side events via Micronaut event listeners.
Micronaut Data Support
The micronaut-coherence-data
module alows you to use Micronaut Data with Coherence as a back end data store. Both synchronous and asynchronous repositories are fully supported, which allows you to access Coherence in a way that is best suited for your application.
Micronaut Messaging Support
The micronaut-coherence
module provides support for Micronaut Messaging using Coherence Topics.
Micronaut Caching Support
The micronaut-coherence-cache
module adds support for using Coherence as a back end for Micronaut Cache.
Micronaut Distributed Config Support
The micronaut-coherence-distributed-configuration
module adds support for using Coherence as a store for Micronaut Distributed Configuration.
Micronaut HTTP Sessions Support
The micronaut-coherence-session
module adds support for using Coherence as a store for Micronaut HTTP Sessions.
The goal for the Micronaut Coherence integration is to make development of Micronaut applications and microservices with a Coherence back end as simple as possible, and we believe we’ve made great strides towards it in this release.
To see how many of the features above work together, check out Micronaut server implementation of our To Do List sample application.
You can run Micronaut services and Coherence cluster members in the same or different JVMs, access Coherence using Micronaut Data, use Micronaut Messaging to publish and consume messages stored in Coherence NamedTopics
, and use Coherence as a back end data store for Micronaut Caching, Distributed Config, and HTTP Sessions.
The complete documentation for the currently supported features is available here.
Enjoy!