File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Advantage of a jar file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Advantage of a jar file" Watch "Advantage of a jar file" New topic

Advantage of a jar file

Pavan Kumar Dittakavi
Ranch Hand

Joined: Feb 12, 2011
Posts: 105


I want to know the advantage of using a jar file. I know that jar files helps in reducing the size and that it can be digitally signed. But, in our project, which they develop via eclipse, each plugin is built into a jar file. What/how does it help?

Tim Moores

Joined: Sep 21, 2011
Posts: 2409
If nothing else, it's much easier to distribute a single jar file than a hierarchy of loose class files.
I agree. Here's the link:
subject: Advantage of a jar file
It's not a secret anymore!