Individual banks
When creating JAR files, I always saved the source code separately and offered it as an additional option.
eg:
This seems to be the obvious way to do things and is very common. Benefits:
- Keeps a small binary jar
- Source cannot be open / public
- Faster for a class loader? (I have no idea, just guessing)
Single jar
I began to doubt whether it was always worth it. I am working on a tiny open source component. None of the above benefits were a problem in this project:
- Classes + source is still trivially small (and will remain that way)
- The source is open.
- The download speed class of this jar does not matter.
, , :
. , , javadoc zip , (, Google guava), ?
, , , jar .
? ?