Build the project:
mvn clean package
Start the server
java -jar coherence-extend-demo-server/target/coherence-extend-demo-server-1.0.0-SNAPSHOT.jar
Start the client application
java -jar coherence-extend-demo-app/target/coherence-extend-demo-app-1.0.0-SNAPSHOT.jar
Open your browser with address http://localhost:8080/hello
You should see the word world
printed.
Module coherence-extend-demo-app-plain
demonstrates the use of Coherence with Spring Boot without Coherence Spring.
The application behaves the same as module coherence-extend-demo-app
. Simply start the app with:
java -jar coherence-extend-demo-app/target/coherence-extend-demo-app-plain-1.0.0-SNAPSHOT.jar
Open your browser with address http://localhost:8080/hello
You should see the word world
printed. Additionally open http://localhost:8080/hello/
This will return the entire map of 2 entries. 1 entry being added by the server app on startup:
{"server":"says hello","hello":"world"}