Samuel Kroslak’s blog

Deploy your Java application as one .jar file

leave a comment »

At first, I wanted a tool that will pack everything into one simple .jar file and I can deploy my apps on web thrugh JWS more easily then. However, as far as I was playing with JWS vs. tools to pack app into one .jar, I found that this approach brings more problems than solutions. Whatever, tools I found for packing apps as one .jar are:

  1. JPackIt – best I found, but has serious issues with JWS, and JWS is generally only case in which I’m interested in deploying app as single JAR file.
  2. Fat Jar – is great, but drawback/advantage is that it is Eclipse plug-in. I just love Eclipse, but I need to do my work also on other IDEs, so I would had welcome separate utility for that. It seems Fat Jar is using One-JAR under its hood.
  3. Maven Assembly Plug-in – looks promising, however I had no time to get into Maven yet (shame on me). I have to try this one, this seems to be the right way to go.
  4. One-JAR – I found this one just recently and have not tried it yet. I will post my discoveries soon..

As usual, I encourage anyone who is better involved than me to share few links or hints.

Written by Samuel Kroslak

December 12, 2007 at 22:13

Posted in Java

Tagged with ,

Leave a Reply