To run the helloworld demo:
0. Compile nodality somewhere else
1. Compile hello.jar (ant)
2. Run hello.jar (java -jar hello.jar) to create the various netlet descriptors
3. Run cmdtrix with (java -jar ../nodality/cmdtrix.jar)
4. Boot a node (boot)
5. Execute an xml file (exec 0 0 embedded-service.xml)
- facet-client.xml
This requests a node facet and uses it to find the well known message. It will fail unless something else is providing the node facet.
- facet-provider.xml
This provides the node facet required by (a)
- embedded-service.xml
This binds a service to retrieve the message text. The warrant for the service is contained in the parameter bean for the client. The parameter bean is held in the descriptor. The warrant contains the required service as a so called 'embedded' service and needs no external binding.
- service-provider.xml
This 'advertises' a hello service which can be bound with a warrant, and responds to requests to bind that service. This is done through the simulators 'simtrix' binding protocol.
- This binds a service from an external source, and uses it to fetch the message text. It won't run unless (d) is running
