Reputation: 1894
I recently ran over a bootstrap.jar. For me bootstrap is only a css / js library and I include it as such. Now following questions came up:
I've also seen other examples of .jar files where I wouldn't expect them. I'm most likely to see them in some artifactory.
Edit: Looking into the .jar with WinZip: It is the bootstrap css / js framework. inside a folder called webjars.
Upvotes: 0
Views: 117
Reputation: 1143
The advantages of these jars containing client-side javascript and css code include:
Explicitly and easily manage the client-side dependencies in JVM-based web applications
Use JVM-based build tools (e.g. Maven, Gradle, sbt, ...) to download your client-side dependencies
Know which client-side dependencies you are using
Transitive dependencies are automatically resolved and optionally loaded via RequireJS
Upvotes: 2