MODE-2066 - Updated the examples to use the latest 4.0 codebase

This involves using ISPN 6.x and JDK 7.