Added an example to the java backend version of simple