> Hi Jo, I've just checked in the fixes and re-enbabled:
>
> binding-sca-axis2 module which provides a remote version of the default
> binding between SCA components
> distributed-impl module which provides some abstractions of distributed
> domains and nodes and some interfaces for service registration and location
> calculator-distributed which, provides a simple sample of tuscany running
> distributed
>
> I get a clean build on windows so give it a try and let me know how you get
> on.
Ok. I update
> The tests that run during the mvn build use an in memory registry so all the
> nodes run in one VM. This in memory version is replaced in the calculator
> distributed sample with a network version. You can make the sample go by
> starting four separate VMs using the ant build file provided:
I've seen that.
> Run up the node that provides the registry
> ant runDomainNode
>
> Run up the node that runs the add service
> ant runNodeB
>
> Run up the node that runs the subtract service
> ant runNodeC
>
> Run up the node that runs the Calculator services and drives calls to the
> various methods
> ant runNodeA
Ok. Let's go. I've seen part of your code, and I'll debug it tomorrow. I
need to understand the Tuscany core: Where a component is activated? Can
I at runtime, disactivate a component in order to distribute in an other
host? Can I have a multithreaded component (or how can simulate it)?
Now I'm developing now a testing component: A distributed workpool
service. This is my initial step and I'd finish for next Monday.
With the following interfaces:
public interface WorkerService {
void submit(Job j);
}
Where a Job is something that you can compute:
public interface Job<T> {
void set(T k);
void compute();
T get();
}
So if now with your changes, I can compute Jobs in parallel in my LAN: placing
nodeA,nodeB in a host and the others in my other host.
When I have something working I'll providing you a patch.
Cheers,
Jo.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]