Rio is distributed under the Apache License, version 2.0.
Rio requires JDK 1.5.x or greater.
Although not required, setting the JAVA_HOME environment
variable to point to the home of a Java 5 (or later) installation
is always a good idea.
Rio is distributed with dependencies. Dependencies are additional software required for running Rio. Note that each of these libraries is subject to the respective license; check the respective project distribution/website before using any of them in your own environment.
The distribution includes the following third party technology: Apache River 2.1.1 (Jini), CGLIB 2.1_3, Hyperic SIGAR, Commons Compress 1.0, Groovy and the Prefuse Visualization Toolkit.
Hyperic SIGAR is licensed under the GPL with a FLOSS license exception,
allowing it to be included with the Rio Apache License v2 distribution.
If for some reason the GPL cannot be used with your distribution of Rio,
remove the RIO_HOME/lib/hyperic directory.
To install Rio on Linux or OS/X, unzip the distribution package to the desired installation directory. For example, to install into /opt:
unzip rio-4.0.zip -d /opt
This creates a directory called rio-4.0 under /opt
To install Rio on Windows, unzip the distribution package to the desired installation directory. You should use a zip application such as 7zip, not the built-in folder decompression. Note that both Windows and Java 5 have some issues with long file names and file paths, as well as with spaces in directory names. We recommend installing into a directory of your chosen drive, and ensuring that directory names do not have spaces (like C:\Program Files).
Once you have unzipped the distribution, you will have a rio-4.0 directory containing the following items:
You can look at the examples provided, as well as checking put the following tutorials:
Please make sure to examine the examples provided. An overview of all the examples can be found here.
You can create a Rio project in seconds using the Rio Archetype. Simply run:
RIO_HOME/bin/rio create-project
You will be prompted to enter the artifactId, service to create (this will be the classname of the service interface), the groupId, version and package name.
The RIO_HOME/bin directory contains starter script (and .cmd) files to start Services and Utilities provided by Rio.
Note, you should make sure that you set the RIO_HOME
environment variable to point to the directory that you have
installed the Rio distribution.
The rio script is the the command and control utility for starting Rio services and the Rio command line interface. All of the other scripts are wrappers around the rio script. The convention for starting services using the rio scripts is as follows:
For example:
The following scripts are shortcuts for starting the basic services in Rio:
By just running rio, you will be put into the interactive command line shell:
Welcome to the Rio Interactive Shell Program. You can interact with the Rio using the following commands : list http deploy destroy dir help pwd jconsole redeploy set undeploy cd ls stats For help on any of these commands type help [command]. To leave this program type quit rio> _