Sample code from my presentations regarding designing for continuous delivery. It shows the original version which is using a JPA datastore and the refactored which is using a websocket datastore.