Andrew McLaughlin wrote:
>
> Is anyone working with RMI so far? I'm launching into a project where I'll try to
> connect Sanfrancisco to a legacy database (UniData). While UniData does provide ODBC
> it's too slow and, gulp, read-only.
>
> I welcome any and all commentary with open arms and squinted eyes!!
>
I'm using RMI in a project integrating a legacy RPC system with Java clients.
It works very well and I do not see any significant performance degradation
compared to regular RPC connections.
If you decide to use JNI to interface directly to your legacy API, try very
hard to centralize the API into a single JNI call (ioctl-like). It is very
tedious and error-prone to develop JNI interface calls.
It took +50 lines of the ugliest C code per each argument/call.
--
Diego Pons Pharos Consulting LLC