markovuksanovic
markovuksanovic

Reputation: 15906

Single jar vs Multiple jars - performance benefits

I have an application which is deployed into Jetty but is not packaged into single war file. Contrary, it is stored as a folder. There are quite a lot of dependencies in war/WEB-INF/lib folder which I am thinking of merging into one jar.

Are there any performance benefits that I would get by doing so?

Upvotes: 2

Views: 719

Answers (2)

ag112
ag112

Reputation: 5697

@markovuksanovic: performance should not really matter or very insignificant. Jar file is meant for archiving set of meaningful collection of classes and resources...that is all...

Upvotes: 1

AlexR
AlexR

Reputation: 115378

It does not matter. I do not know about jetty but all other servers I know extract archives anyway, i.e. store war/ear files in temporary directory in extracted form.

Upvotes: 2

Related Questions