[JXTA discuss] Understanding how to use modules?
"Ferruh Zamangoer" <[email protected]> Mon, 18 Apr 2005 13:05:32 +0200
| Newsgroups | gmane.comp.java.jxta.general,gmane.comp.java.jxta.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, i'am trying to understand the functionality of modules in JXTA. In a book I read that modules are definitions of services and applications available on a peer or in a peer group. Modules are used to define the code to be executed. For example I have two peers(Peer A and Peer B). I write my module code on PeerA and publish a ModuleImplementation Advertisement. Does it means that PeerB can discover the advertisement and invoke the module code on PeerA? Is there any simple example of writing a module? Is a module similar to a web service? Any help is appreciated. Regards Ferruh