Standalone Uberjar

| 1 Comment

Just a note about the new classworlds uberjar functionality. Pete Kazmier has written a maven plugin to make it super-easy, if you're sync'd up to maven HEAD.

classworlds allows the creation of a single standalone jar for your project which may internally include any other additional jars that are required for your application. This allows for easy java -jar myapp.jar type of execution.

1 Comment

Since the adoption of Uber jar, when we start our app from a classworlds-packaged jar (including all 3rd-party jars and our src code jar), the 1st request always takes very long (a few seconds) and often fails w/ timeout.

This only happens when packaging w/ Uber jar. If specifying jars in -classpath there's no such a problem for our app.

I played around Uber jar but don't find options to preload jars or tune its behaviors.

Thanks for comments

Paul

About this Entry

This page contains a single entry by bob published on December 16, 2002 11:57 AM.

Phish rocks, dude. was the previous entry in this blog.

Who? is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.