HardScenarioSpring, JPA and APIs
An order API occasionally creates duplicate orders when clients retry. How do you make it safe?
This answer is part of Pro
12 of 61 Java Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousExplain transaction propagation REQUIRED versus REQUIRES_NEW.Next Calls to a downstream payment service sometimes hang and exhaust your threads. What do you add?