Add support for Glassfish 4