add Java Inversion of Control demo.