Date Released: Mar 11th 2025
MicroProfile LRA is useful in situations where loosely coupled long running JAX-RS based activities should coordinate with each other and where they want to rely on a guarantee that a globally consistent outcome can be reached without the need to take locks on data. The scope of the activity is called a Long Running Action and services indicate that they wish to start or participate in activities using annotations. Each service is guaranteed to be notified when the activity is being cancelled so that it can compensate for any externally visible actions it performed during the activity – in this way a globally consistent outcome must eventually be reached.
MicroProfile LRA 2.0 is a major release providing Jakarta EE 9.1 Alignment