Get Jini

So you've read Introduction to Jini] and you want to get started using it? You've come to the right place!

Download Jini

If you haven't already, download the Jini Starter Kit from the sidebar or the Jini Starter Kit] page.

Your first Service

Once Jini is installed, Dan Creswell has posted an article on Creating a JINI Service.

Warren Strange has posted a blog Jini Made Easier that explains how to create and deploy an simple service using the Seven Jini Service Container and for a full tutorial about creating Jini services have a look at the Developer Guide.

There is also a simple HelloWorld example along with sample configuration scripts that is created if you performed the jini install with examples. Detailed explanation of the example and its configuration scripts can be found in $JINI_HOME/index.html

Helpful Toolkits

The Startnow Project on java.net provides several different tools for making service creation and access easier.

The Glyph Project on java.net provides an annotation based facility for creating Jini services.

Jini Containers

Containers are an alternate way to deploy Jini based applications; usually they offer a simplified programming model. You can find a list of available containers in the "Links" page.

Troubleshooting

Troubleshooting information may be found at Troubleshooting]

Linux Jini Starter Kit installation

In some strange cases there is a problem caused due to incompatibility of the installer's Java Run-time Environment with certain system libraries.

This results in the following error messages when calling the jini_2_1.bin :

* Open the bin installer file in an hexadecimal editor (such as hexedit). * Look for the line

* and replace it with

* Save the file and lauch. It should work

The same works for the /jini2_1/installverify/support/launch-all script.

* found at http://www.linuxquestions.org/questions/showthread.php?t=370056

References

Further information is available at Jan Newmarch's very excellent Guide to Jini Technologies. This is published as a hardback book by APress as Foundations of Jini 2 Programming ISBN 1-59059-716-8

JOW_Getting_Started (last edited 2009-09-20 23:56:25 by localhost)