6 Integrating Spring with Coherence
Oracle Coherence can be integrated with Spring, which is a platform for building and running Java-based enterprise applications.
If you are interested in using Coherence with Spring, see the Coherence Spring Integration project that is part of the Coherence Community. Coherence Community projects provide example implementations for commonly used design patterns based on Oracle Coherence.
Select a released integration version whose documented dependency set supports your framework, Java runtime and Coherence release. Pin that integration and use its BOM/dependency constraints; a matching version number alone does not establish compatibility. Use its managed Session/client lifecycle, package model/POF and generated application trust metadata on the actual runtime classpath, and test startup, representative operations, restart and shutdown under the hardened default. See Building Examples with Application Security Metadata and Coordinating Framework Configuration Health and Metrics. Do not mix container-provided Java EE libraries with an integration built for Jakarta namespaces.