SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

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)

  1. 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.

  2. facet-provider.xml

    This provides the node facet required by (a)

  3. 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.

  4. 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.

  5. This binds a service from an external source, and uses it to fetch the message text. It won't run unless (d) is running


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.