im not able to exactly grasp the difference between the glassfish local commands and remote commands . uptil the information i gathered so far local commands affect the glassfish local directory layout or run program through batch or shell scripts. the remote commands require that the glassfish server should be running. what does it mean. ?
secondly suppose i have a glassfish server running on machine B and im sitting on machine A. can i use asadmin utility from machine A to connect with glassfish server on machine B and perform any command ?
Local commands, so-called, presume to operate on file system semantics, so there's no need for GlassFish to negotiate a state-oriented session connection for a local request. Remote requests, on the other hand, are moderated by the server, and so the server has to be active to accept them.
asadmin can work on a remote server, just not out of the box. You must configure the server with a realm the asadmin client can use to authenticate.
Make visible what, without you, might perhaps never have been seen. - Robert Bresson