This service is an evolution of the service that we implemented in Chapter 3, Cloud-Native Applications.
Its goal is to handle the football player registry; in this version, we will use the MicroProfile specifications to build the LRA saga specifications. To make it easy to understand the use of the specifications, we will only change the edit method's management of the transaction.
To use LRA specifications, we will change the Maven pom.xml; the following code snippet shows the changes we've made:
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> ...