users@servlet-spec.java.net

[servlet-spec users] pack200 in WEB-INF/lib?

From: Philippe Marschall <kustos_at_gmx.net>
Date: Fri, 16 Mar 2012 17:38:43 +0100

Hi

Using pack200 to compress .jars can make quite a difference. One of our
largest JARs goes from 10 MB to 1.5 MB. Although URLClassLoader can
handle them just fine no container I saw to far seems to support
.pack.gz in WEB-INF/lib/. Probably because section 10.5 of the servlet
spec mentions only WEB-INF/lib/*.jar.

Is there any reason pack200 was not considered so far?

The same goes for .EAR as well.

Cheers
Philippe