How to deploy web app using asadmin command on GlassFish Enterprise Server

I have always liked the command line deployment on any application server. Somehow, I still don't trust the web based admin console for deploying my war/ear file on any server. Many times I have observed that the server doesn't respond if there is a problem in deployment. Therefore I always prefer the asadmin command deployment on Glassfish Application server.
Continue Reading