XmlBlaster Logo

REQUIREMENT

protocol.rmi

XmlBlaster Logo


Type NEW
Priority HIGH
Status CLOSED
Topic xmlBlaster supports a RMI protocol plugin
Des
cription

You can access XmlBlaster with RMI aware clients. The xmlBlaster server has a protocol plugin based on Suns JDK delivered RMI. The delivered Java client library has support for RMI to connect to the server.

Example
JAVA

Example how to configure RMI on server startup:

 java -Djava.rmi.server.codebase=file:///${XMLBLASTER_HOME}/classes/  \
      -Djava.security.policy=${XMLBLASTER_HOME}/config/xmlBlaster.policy \
      -Djava.rmi.server.hostname=hostname.domainname \
      org.xmlBlaster.Main -plugin/rmi/registryPort 2078

Example how to configure RMI on client startup:

 java HelloWorld3 -protocol RMI -plugin/rmi/registryPort 2078
Configure

These parameters allow to configure RMI.

Property Default / Example Description Impl
plugin/rmi/hostname localhost The host where a client tries to find the RMI registry server. yes
plugin/rmi/registryPort 1099 The port where the RMI registry is searched. yes
plugin/rmi/AuthServerUrl rmi://myserver:1099/I_AuthServer The registry entry yes
plugin/rmi/XmlBlasterUrl rmi://myserver:1099/I_XmlBlaster The registry entry yes

NOTE: Configuration parameters are specified on command line (-someValue 17) or in the xmlBlaster.properties file (someValue=17). See requirement "util.property" for details.
Columns named Impl tells you if the feature is implemented.
Columns named Hot tells you if the configuration is changeable in hot operation.

See REQ protocol
See RMI homepage
See CODE org.xmlBlaster.protocol.rmi.RmiDriver
See CODE org.xmlBlaster.client.protocol.rmi.RmiConnection

This page is generated from the requirement XML file xmlBlaster/doc/requirements/protocol.rmi.xml

Back to overview