Test example by JavaEE7