I had to rewrite in Java (1.5) an old c-based code that used PKZIP to compress some input(parameter) files. The problem is one of the requirements for this conversion was to keep at least the same performance as the old one. But unfortunately, creating zip files using java.util.zip is at least 50% slower than PKZIP. Are there any faster java-based alternatives to java.util.zip? I know one good alternative is to just to call PKZIP as the old c-based code but I'd rather not as we'd like to get rid of that 3rd party tool.
Hey, thanks for helping me, but sorry I already saw that but I thought very bad exemple from Apache I didn't understand anything, I need to compress a folder/directory to .zip...