Example Java program for Deis – http://deis.io