Creating UberJARs / FatJARs with Quarkus

Quarkus usually ships as a "SkimmedJAR" with cleanly separated business logic and infrastructure.

Setting the quarkus.package.uber-jar parameter to true in application.properties, creates a self contained, executable JAR in the target folder.

The simplest possible "hello,world" UberJAR with cdi and resteasy extensions takes ~9MB disk space.

Although it is hard to find any good arguments (do you know any?) to use this approach for container, kubernetes or clouds deployments, Quarkus UeberJARs are perfect for building electron-like desktop apps.

Big thanks to Alex Soto @alexsotob for the hint.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments
License