Tutorials

Jini Example
Jxta Example
Web Services

Related

Jxta
Jini
Web Services

For More Info

From P2P to Web Services and Grids: Peers in a Client/Server World
Ian J. Taylor, 2004
Publisher: Springer
ISBN: 1-85233-869-5

Jini Tutorial

There are two examples in this tutorial, providing simple examples of RMI and Jini, as follows:
  1. RMI Example: An example of using RMI, which Illustrates the core transport mechanisms for Jini.
  2. Jini Example: A simple ?hello world? type example of using Jini.
These pages provide links to the necessary libraries and information to run these programs on a any PC, using batch files. However, it would be easy to change these into simple scripts to run on other platforms, as they only set up the environment variables necessary for running the examples.

Downloading

You can download the tutorial in one of the following ways.

  1. The CompleteTutorial:  (recommended – only 0.5 MBytes). This includes these HTML pages, the Java code, batch files and the Jini Libraries needed to run the code.

  2. On-line: Rmi and Jini:  Browse them on-line

Exercise

Try implementing a remote Jini disk file storage service. You could include some of the following types of behaviour:
  1. A method to list the contents of a directory.
  2. A method to change directory.
  3. Read/write access to files.
  4. Delete a file.
  5. Create a file.
  6. Download a file to client (for editing)
  7. Upload a file to remote file system.
  8. Copy paste files from one directory to another.