Would download the glassfish distribution and then install it in a given directory. Can be usefull to automate the whole install / setup / deploy / test thing.