The asant utility can help you assemble and deploy modules and applications. For details, see Chapter 3, The asant Utility, in Sun GlassFish Enterprise Server v2.1.1 Developer’s Guide.