Forums Register Login

compressed jar files?

+Pie Number of slices to send: Send
Hi,
My ide offers an option to compress the jar files to make them smaller. Should I use it for the final submission?
Thanks,
Aruna.
+Pie Number of slices to send: Send
NO!
M, author
The Sun Certified Java Developer Exam with J2SE 1.4
+Pie Number of slices to send: Send
Why not? it comes for free with jar, won't hurt the tester and reduces the size of the deliverable, which is good for the upload.
I don't see any argument against using the compression option.
Bern
+Pie Number of slices to send: Send
I was joking in my tone, but serious in the content of my advice. It increases the complexity of your code, introduces another variable that could go wrong, and worst of all, deviates from the mandate that complexity should be sacrificed in favor of clarity. You are, of course, free to do as you please.
All best,
M, author
The Sun Certified Java Developer Exam with J2SE 1.4
+Pie Number of slices to send: Send
 

Originally posted by Max Habibi:
[Jar compression] increases the complexity of your code

How?

introduces another variable that could go wrong, and worst of all, deviates from the mandate that complexity should be sacrificed in favor of clarity.

Which variable? What becomes less clear? Is everyone talking about the same thing here? I got the impression that all we were discussing boiled down to typing "jar c0f" versus typing "jar cf" (or executing the same behind the scenes of an IDE).
- Peter
[ January 15, 2003: Message edited by: Peter den Haan ]
+Pie Number of slices to send: Send
No Pete,
the original poster said compressing Jar files, which I assume means compressing existing jar files.
The typical usage of the jar command 'jar -cf', already compresses the files. I'm reading the reader's query as a further compression.
There are ways to do this, but they are, IMO, out of scope here.
HTH,
M, author
The Sun Certified Java Developer Exam with J2SE 1.4
[ January 15, 2003: Message edited by: Max Habibi ]
Tell me how it all turns out. Here is a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 657 times.
Similar Threads
Upload file size limitation?
Final .jar size limitation ?
Jar file structure
name of the submittion jar file
(NX,URLyBird)About submission packaging:
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 08:56:19.