7 Interfacing .NET and Java

SICStus Prolog provides a uniform way of interfacing to Java and .NET clients via the PrologBeans (see lib-prologbeans) interface. This is a loosely coupled interface, which means that the client code runs in a different process from the Prolog code. In fact, the client program and the Prolog program can run on separate machines, since the communication is done via TCP/IP sockets. This design has the following advantages over a tightly coupled interface, where they run in the same process:

The main limitation of the design is that callbacks from Prolog to the client is not provided for.


Send feedback on this subject.