Tutorial: Configure the JXTA Network Adapter

Janus default network implementation uses JXTA to implement it.

As jxta allows a lot of configuration properties, the network modules allows you to configure JXTA though a set of configuration properties. This document describes them.

None of the following properties are mandatory.

  • janus.net.jxta.application.id : The application ID refers to a PeerGroupID that will be used to create the application level peergroup. This peergroup is used to broadcast newly created Janus Groups (i.e. groups created by agents using any of the createGroup* methods). If the id is not provided one will be created for you using the Janus application name retrieved using the janus.app.name property. This ID is very important to ensure compatibility between different application's versions. If different versions of your application are not compatible (e.g. new Organizations, changes in the interactions protocols, etc) they MUST have different application IDs.
  • janus.net.jxta.home : The JXTA home folder. Default: <janus.home>/.jxta
  • janus.net.jxta.clean : If the jxta cache directory should be cleaned (i.e. deleted). Default : true
  • janus.net.jxta.mode : The default JXTA mode. Default : EDGE, However the peer will automatically become a RDV if it cannot connect to a RDV.

Related Pages

2012-01-31Roadmap of Janus is public.
This page was last modified on 16 February 2011, at 08:51. This page has been accessed 737 times.
Copyright 2010-2012 © Janus Core Developers - Privacy policy