Introducing Spring Sync

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.

Read more...

Spring Sync 1.0.0 Milestone 1 Released

Dear Spring Community,

I am pleased to announce the first milestone release of Spring Sync 1.0.0.

Spring Sync enables efficient communication and synchronization of data between clients and Spring-based servers.

The release dependency is available in the repo.spring.io milestone repository at the dependency coordinates of “org.springframework.sync:spring-sync:1.0.0.M1”.

This release includes:

  • A patch abstraction for calculating differences and applying patches between Java objects.
  • Support for representing patches as JSON Patch.
  • An implementation of Differential Synchronization for creating and applying patches in a controlled manner.
  • DiffSyncController, a Spring MVC controller that handles HTTP request of type application/patch-json+patch and performing Differential Synchronization against a resource.
Read more...

This Week in Spring - October 21st, 2014

Welcome to another installment of
This Week in Spring!
This week I’m talking to developers at the Neo4j GraphConnect conference with my pal
(and Neo4j evangelist) Kenny Bastani, and then on
Thursday I’ll be doing a webinar with my one of my pals on the Vaadin team, Peter Lehto, on how to build
Bootiful Vaadin applications - don’t miss it!


Next week, I’ll be doing a string of appearances at Toronto, New York City, and Boston meetups helping people better build microservices with Spring Boot, Spring Cloud and Cloud Foundry.
Register now, come for the code, conversations, pizza and beer! Microservices are a big thing these days, and I’m sure there’ll be a lot to talk about so don’t miss these events!

Read more...