Link Details

Link 430839 thumbnail
User 564673 avatar

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.
  • 53
  • 4
  • 9124
  • 21

Comments

Add your comment
User 169014 avatar

Peter Mularien replied ago:

0 votes Vote down Vote up Reply

I have to confess that I didn't know about the wildcard classpath feature. Nice article, Ted!

User 306525 avatar

Dave Newton replied ago:

4 votes Vote down Vote up Reply

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.

User 294007 avatar

madth3 replied ago:

1 votes Vote down Vote up Reply

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.

User 191349 avatar

raveman replied ago:

1 votes Vote down Vote up Reply

its just sad if you didnt know that, for me nothing new. really nothing :(

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Play Framework
Written by: Ryan Knight
Featured Refcardz: Top Refcardz:
  1. Akka
  2. Design Patterns
  3. OO JS
  4. Cont. Delivery
  5. HTML5 Mobile
  1. Akka
  2. JUnit/EasyMock
  3. Java Performance
  4. REST
  5. Java