Adding Java CLI example using the new Java client.