• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is difference between glassfish local and remote command ?

 
gurpeet singh
Ranch Hand
Posts: 924
1
Fedora Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic