use java 1.7 / use generic Session