The Coherence Spring project provides bootstrapping support of Oracle Coherence for Spring Framework and Spring Boot. Coherence Spring also provides a set of components to aid in the integration of Oracle Coherence and various other projects of the Spring ecosystem:
-
Spring Data
-
Spring’s Cache Abstraction
-
Spring Session
Furthermore, the project also provides various examples to show-case the integration of Oracle Coherence into Spring-based projects.
Detailed project documentation is available on the Coherence Spring website. This includes the reference documentation in various formats (Multi-page/Single-page HTML, PDF), as well as extensive JavaDoc for the Coherence Spring source code.
4.2.0 |
|||||
4.2.1-SNAPSHOT |
|||||
3.4.0 |
|||||
3.4.1-SNAPSHOT |
Note
|
The Apache Maven-based snapshots and releases for this project are published to Maven Central. |
Coherence Spring | Java | Coherence CE | Spring | Boot | Jakarta | Git Branch/Tag |
---|---|---|---|---|---|---|
4.x |
|
|
|
|
✔ |
|
3.x |
|
|
|
|
|
In order to get started quickly, please read the reference guide as it provides a detailed Quickstart chapter (v4.2.0).
Through the reference documentation we will also refer to various demo and sample applications. Those are part of this repository, and you can find those in the samples module.
In order to build Coherence Spring, you need to have installed:
Check out the project using Git:
git clone https://github.com/coherence-community/coherence-spring.git
cd coherence-spring
Coherence Spring uses Apache Maven as build tool. You do not need to have Maven installed to build the project. Simply use the provided Maven Wrapper, e.g.:
-
Windows:
mvnw.cmd clean package
-
Linux/Mac:
./mvnw clean package
Build the entire project using Maven:
./mvnw clean package
In case you are offline and you run into issues building the project, e.g. the Coherence cluster as part of JUnit tests does not start up successfully, then you may have to provide additional command line arguments:
./mvnw clean package -DargLine="-Dcoherence.localhost=127.0.0.1 -Djava.net.preferIPv4Stack=true"
In case you have questions or if you run into issue using the Coherence Spring project, please feel free to reach out to us either via:
-
Stackoverflow using the oracle-coherence tag
Both support channels are monitored by the project community.
We would love to review your Pull requests. Please see the contributor guidelines for details.
Coherence Spring is Open Source software released under The Universal Permissive License (UPL), Version 1.0.