DSTC Vacation Summer Project by Jia YU   

 

JINI Surrogate Projects

Introduction: 

 Jini is a technology from Sun Microsystem. it is defined as an infrastructure and programming model which allow devices to connect with each other to create an instant "community". However, necessity of having a Java 2 platform and TCP/IP network prevents many devices to join the jini federation. Jini surrogate Architecture is aimed to solve this problem.  The Jini Surrogate Architecture Specification version 1.0DraftStandard can be found at the surrogate project site http://developer.jini.org/exchange/projects/surrogate/ .

These projects are based on a contributed Surrogate Host Implementation,Madison 1.0, from Sun Microsystems. It can be download from 
http://developer.jini.org/exchange/projects/surrogate/IP/ .


Part One

The first project implemented an adapter for RCX and RCX surrogate.

Source codes and jar files(Pls put jar files in \jini_surr_madison1_0\lib\)

adapter source code(RCXAdapterImpl.java)                  rcx_adapter.jar                   

surrogate source code(RCXSurrogate.java)                    rcx_surrogate.jar 

Supplement classes (Other supplement classes can be found in Madison packages)

RCXInterconnectContext.java                                        RCXInterconnectcontext.jar

COMM API can be download from  http://java.sun.com/products/javacomm/

RCX API can be download from  http://www.escape.com/~dario/java/rcx/

Batch file and property file:

rcxhost.bat   rcxhost.prop

Note: please change your host addresses in your batch file.

 

Part Two

The second project implemented an adapter and surrogate for Axis network camera

 Source codes and jar files(Pls put jar files in \jini_surr_madison1_0\lib\)

adapter source code(AXISAdapterImpl.java)            axis_adapter.jar

surrogate source code(AXISSurrogate.java)              axis_surrogate.jar

client source code(AXISServiceClient.java)               axis-client.jar

Supplement classes (Other supplement classes can be found in Madison packages)

AXISInterconnectContext.java   AXISInterconnect.jar

AXISService.java  AXISServiceProxy.java  AXISServiceServer.java    

Batch files and property files

axishost.bat     axishost.prop

axisclient.bat

Note: Please change your axis address in your property file(axis.hostIP) and http addresses in your batch files 



Any comment is welcome, please send email to Jia YU .

 

 

This project has been sponsored by the Distributed Systems Technology Centre and has been funded in part by the Co-operative Research Centre Program through the Department of Industry, Science and Tourism of the Commonwealth Government of Australia.