Download the transport example binaries if not already done, and extract the ZIP file
Open a Terminal and execute the bash script run.sh (Unix/Linux). Two xterm windows should open and execute two JVMs with the PON platform, in parallel.
Each PON platform is running a component, which allows you to start georeferenced services, called provider. In your browser, open these three URLs in different tabs: Transport Manager, Transport Provider et Transport Client.
In the TransportManager tab, click on "Add Zone".
Enter a polygon, and then you have finish, click on "End Add Zone".
A Pop-Up window should appear, enter the name of the component that will be created. Enter hello, for example.
The component hello, that you have created, is a transport-provider component type. Go into the TransportProvider tab, do a Refresh of the components list, and hello should appear.
Select the Hello component, and set a description in this component. For example, "Hello World", and then set the description with the setDescription button.
Click on the TransportClient, which represents a TransportClient component running on another JVM. This component doesn't know any service yet. Click on the map to search services working for your position (so in the polygon you set for hello).
The polygon should appear on the client's map, if it is not the case, try again by clicking the map.
The result of the search for nearby services appear in the list. Hello should be in it.
As we are interested in hello, select it in this list, and click on connect. The tranport-client component will connect to hello.
Wait a few seconds, then click on GetDescription to invoke a service on the component hello. The response of this call should pop-up.
In conclusion, it is possible to use the DHT for adding meta-information about the components. In this example, we present georeferenced services.