Migration to Glassfish 4.0