Netbeans 8 beta, glassfish4, security exemple