Linux Commands Examples

A great documentation place for Linux commands

rmiregistry



Sorry, no description

... the author of this command may not have provided any manuals


Once you know what this command is about, feel free to add a description in the input "add an example + trick and tips" below
 help other Linux-fans !




see also : java

Synopsis

rmiregistry [port]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
rmiregistry 1099&
0
source
            
javac *.java
rmiregistry &
java EventManager

description

The rmiregistry command creates and starts a remote object registry on the specified port on the current host. If port is omitted, the registry is started on port 1099. The rmiregistry command produces no output and is typically run in the background. For example:

rmiregistry &

A remote object registry is a bootstrap naming service that is used by RMI servers on the same host to bind remote objects to names. Clients on local and remote hosts can then look up remote objects and make remote method invocations.

The registry is typically used to locate the first remote object on which an application needs to invoke methods. That object in turn will provide application-specific support for finding other objects.

The methods of the java.rmi.registry.LocateRegistry class are used to get a registry operating on the local host or local host and port.

The URL-based methods of the java.rmi.Naming class operate on a registry and can be used to look up a remote object on any host, and on the local host: bind a simple (string) name to a remote object, rebind a new name to a remote object (overriding the old binding), unbind a remote object, and list the URLs bound in the registry.

options

-J

Used in conjunction with any java option, it passes the option following the -J (no spaces between the -J and the option) on to the java interpreter.


see also

java , java.rmi.registry.LocateRegistry @
http://docs.oracle.com/javase/7/docs/api/java/rmi/registry/LocateRegistry.html and java.rmi.Naming @
http://docs.oracle.com/javase/7/docs/api/java/rmi/Naming.html

How can this site be more helpful to YOU ?


give  feedback