Re: How to talk to a SmartFrog component from the outside?
"Olivier Pernet" <[email protected]> Tue, 20 Jun 2006 19:51:39 +0200
| Newsgroups | gmane.comp.java.smartfrog.devel |
|---|---|
| Message-ID | <[email protected]> |
On 6/20/06, Guijarro, Julio <[email protected]> wrote: > As Steve mentioned you would need to find the RMI reference to that > component and then you will be able to invoke any method exported by > that component using RMI (create a remote interface and export the > interface using RMI). > > To locate a SmartFrog component from a java application you can use the > SmartFrog locator to find a ProcessCompound and then use the > ProcessCompound to find the final component. [...] Is there a way to access the component without using Smartfrog, with raw RMI ? This would remove the dependency on SmartFrog for clients, which would be nice. Using a Naming.list("//host:3800") call we found that only the RootProcessCompound was registered in the naming service. Can we change this ? I reckon that the SmartFrog naming service is much more powerful, but this would make the client's job a tad bit simpler. -- Olivier Pernet We are the knights who say echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq'|dc