ace demo of java