By alireza.haghighatkhah@gmail.com
via ibm.com
Published: Jun 15 2010 / 11:51
Many Java™ developers never think beyond the basics of JARs — only using them to bundle classes before shipping them off to the production servers. But a JAR is more than just a renamed ZIP file. Learn how to use Java Archive files at their fullest capacity, including tips for jarring Spring dependencies and configuration files.
Comments
Peter Mularien replied ago:
I have to confess that I didn't know about the wildcard classpath feature. Nice article, Ted!
Dave Newton replied ago:
I actually found it rather disappointing, as some things weren't really about jars, and the rest are well-known features :/ Not disappointed enough to vote it down, but I had kind of hoped for five things I didn't know about jars.
madth3 replied ago:
As mentioned, Point 4 is relatively recent and some people might've not heard about it.
Point 3 is not such a great idea IMHO. It obscures the dependency on some libraries and it can cause conflicts when a different version of the library is desired. Best to use the IDE's functionality to easily add large things like Spring and its dependencies.
raveman replied ago:
its just sad if you didnt know that, for me nothing new. really nothing :(
Voters For This Link (53)
Voters Against This Link (4)