Regarding the use of JNI (Java Native Interface) to integrate Java and
Haskell...

Another approach is to use sockets. It is easier to develop, and easier
to debug. Another advantage is that the sockets can use a
language-independent protocol, making it suitable for a number of
languages.

For example, in this case the goal is to have a GUI library for
Haskell that runs on the Java GUI. If a modest "GUI Server" protocol
is built in Java then Haskell, SML, Scheme, Clean, whatever, can all
open sockets to the server and create simple GUIs. As the capabilities
of the GUI Server grow, all the other languages can take advantage of
it to create more complex GUIs.

-- 
Patrick Logan                 mailto:[EMAIL PROTECTED]
Voice 503-533-3365            Fax   503-629-8556
Gemstone Systems, Inc         http://www.gemstone.com


Reply via email to