Earlier today, I announced the first milestone release of Spring Sync, a new project that addresses efficient communication between client applications and Spring backends by employing patch-based exchanges. As this is a new project, I thought it would be a good time to show you what Spring Sync can do.
The examples given here refer to the Spring REST Todos example and/or the
Todo class in that example project.
Creating and applying patches
At its lowest level, Spring Sync provides a library for producing and applying patches to Java objects. The
Patch class is the centerpiece of this library, capturing the changes that can be applied to an object to bring it in sync with another object.