Defining An Identity in JXTA.............................................................................................................................................126
Creation Of Peer IDs & Importation Of IDs From Other Systems..................................................................................127
Peer Group Creation & Identity.........................................................................................................................................127
Configuration Modes..................................................................................................................................................................129
JXTA Peer Types...................................................................................................................................................................129
Minimal Edge Peer........................................................................................................................................................129
Full-Featured Edge Peer...............................................................................................................................................129
Rendezvous Peer...........................................................................................................................................................129
Relay Peer.......................................................................................................................................................................129
JXSE Configuration Modes..................................................................................................................................................130
ADHOC..........................................................................................................................................................................130
EDGE..............................................................................................................................................................................130
RENDEZVOUS..............................................................................................................................................................130
RELAY............................................................................................................................................................................130
PROXY............................................................................................................................................................................130
Peer Type versus Configuration Types..............................................................................................................................130
About Implementation Of Services....................................................................................................................................131
Network Scope............................................................................................................................................................................131
To Be Or Not To Be?.............................................................................................................................................................132
A Relay...........................................................................................................................................................................132
A RendezVous...............................................................................................................................................................132
Number of Seeds...........................................................................................................................................................133
Network Administration............................................................................................................................................................134
Default IP Ports.....................................................................................................................................................................134
Default HTTP Port...............................................................................................................................................................134
Default Multicasting Port & IP Address............................................................................................................................134
Implementing Seeds.............................................................................................................................................................135
About Subnets......................................................................................................................................................................135
Cryptography..............................................................................................................................................................................135
Implementing Your Own Cryptography Layer................................................................................................................135
Exportation Limitations................................................................................................................................................136
Access Control Implementation................................................................................................................................................136
Using JXSE 139
Getting Started.............................................................................................................................................................................139
Creating A Project................................................................................................................................................................139
Eclipse Plugin.......................................................................................................................................................................140
Javadoc..................................................................................................................................................................................140
First Connection & Local Configuration...................................................................................................................................140
Example 100 - Starting And Stopping JXTA.....................................................................................................................140
Example 110 – Creating A Local Configuration...............................................................................................................142
Example 120 – Retrieving, Modifying & Saving A Local Configuration.......................................................................144
Example 130 – Setting Default Seeds And Waiting For A Rendezvous Connection....................................................145
Miscellaneous.......................................................................................................................................................................147
Understanding ConfigParam.......................................................................................................................................147
Modifying Other Configuration Parameters..............................................................................................................148
Loading A Configuration From A URI.......................................................................................................................148
Automatic Change Of IP Addresses...........................................................................................................................148
Local Configuration Directory Structure....................................................................................................................148
Exploring Connectivity Issues...................................................................................................................................................149
Running Multiple Peers On A Single Device....................................................................................................................149
The Proper Angle To Strike A Match.................................................................................................................................149
Jack, The Rendezvous..........................................................................................................................................................149
Anna, The Edge....................................................................................................................................................................151
Testing Angles Between Jack And Anna...........................................................................................................................153
Angle I - Start Jack, Then Anna, Delete Configuration, Approve Seed & Enable Multicasting...........................153
Angle II - Start Jack, Then Anna, Delete Configuration, Approve Seed & Disable Multicasting.........................155
Angle III - Start Anna, Then Jack, Delete Configuration, Approve Seed & Enable Multicasting........................155
- 6