fixed problem in demo webapp
switched to use jdk 1.7
added missing demo class