Example code for my talk at the Detroit Java User Group in Dec 2014