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 2.1 Developer’s Guide.