I am currently writing a ruby plugin for a 3d drawing application(written in c ++, ruby is it's scripting language).
What I want to do is communicate between that and another application written in java, both programs are running on the same computer.
The ruby version that is integrated into the 3d drawing application is rather cut down and pretty basic and from what I understand has fairly limited or non existent socket libraries.

Any ideas on how to exchange information between the two applications would be greatly appreciated.

The amount of information that will be exchanged will be fairly small.