"Derek Haskin" <DHaskin / transurban.com.au> wrote:
>
> Actually I just found out that the API is provided in 3 different
> languages.
> - Java
> - COM
> - C++
>
> i will probably use the java api since i've used java in the past.
>
> so the question is does ruby provide a mechanism to interface with APIs
> written in Java.

COM is pretty easy to interface with - look at Win32OLE, included in the 
standard library.

Documentation is here:
http://www.ruby-doc.org/stdlib/libdoc/win32ole/rdoc/index.html

And here's the relevant page from the old Pickaxe, with a basic intro with 
examples:
http://www.ruby.ch/ProgrammingRuby/htmlC/win32.html

Cheers,
Dave