aspose file tools*
The moose likes Glassfish and the fly likes what is difference between glassfish local and remote command ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Glassfish
Bookmark "what is difference between glassfish local and remote command ?" Watch "what is difference between glassfish local and remote command ?" New topic
Author

what is difference between glassfish local and remote command ?

gurpeet singh
Ranch Hand

Joined: Apr 04, 2012
Posts: 924
    
    1

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 ?

Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is difference between glassfish local and remote command ?