title: Enabling gzip compression in Glassfish via XML configuration
body: <p>There are a <a href="https://stackoverflow.com/questions/5070924/enable-glassfish-compression">variety</a> of <a href="http://www.vikasing.com/2010/01/enable-gzip-compression-on-glassfish-v3.html" rel="nofollow noreferrer">answers</a> to this question which tackle it via the admin console. I would like to enable this via Glassfish's XML configuration but have not found any documentation regarding this feature.</p>