
Time to answer some questions about Griffon:
- What is the size of the jar that gets generated for a Griffon jar?
If you package it all up (‘griffon package’), then a vanilla Griffon jar weighs in at 4.7M. That’s mostly the Groovy runtime (4.4M) and the Griffon runtime (204k). If you’re concerned about download size for Java Web Start, then you won’t want to bundle it as a single jar, but rather let your users download the Groovy and Griffon runtimes once, then your app specific jar as it is updated. - Can Griffon apps be distributed via Java Web Start?
Yes. When you run ‘griffon package’, you get an executable jar, an applet, a JWS app and a ‘zip’ that is structured as a directory with bin and lib subdirs and batch and shell files to run the application. In short, most ways that you may want to deploy the application.
There is even an installer plugin that allows you to package your app as an izPack (platform independent), RPM (Linux) or DMG (Mac) distribution. It will also create app (Mac) or exe (via JSmooth) launchers for Mac and Windows. Pretty sweet.
