[Fwd: Re: Javaspaces and perl]

Aaron Trevena aaron.trevena at gmail.com
Tue Nov 7 15:51:06 GMT 2006

On 07/11/06, alex at owal.co.uk <alex at owal.co.uk> wrote:
> AlexMc (I) wrote:
> > I am interested in using javaspaces (aka Jini) to distribute a loosely
> coupled system across loads of machines. The basic idea is that I have
> several machines put tasks into the space and have several machines read
> out those tasks, do them, and put the results back into the space - or
> maybe a database, or maybe generate more tasks.
> "Aaron Trevena" responded:
> What's the advantage of using JNI over xml/rpc?
> Er, "Jini" is not "JNI". "Jini" is a way of distributing your system
> across many machines and JNI is Java Native Interfaces.

Right... I've always found Java to be full of confusing acronyms.

> Now - you may be telling me to do Jini using JNI but I'm not going to
> unless someone else says they have done it and it worked :-)

No - I thought Jini was JNI, nevermind.

> However you did make an interesting suggestion. I could perhaps write a
> Jini client which accesses a perl xml_rpc server. That is known technology
> :-)

You could also write a Jini client, compile it to C++ and embed it in
a perl library using the GCJ::CNI package (and some SWIG/XS hackery).


LAMP System Integration, Development and Hosting

More information about the london.pm mailing list