SWI-Prolog engine as a Service

Pavan Kumar <[email protected]> Tue, 22 Apr 2014 10:24:29 -0500
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <CAFVqwvhTtWsNPbeE2wAkznxVpNRgEnGHqWaokrb+6q7OJ3pOMg@mail.gmail.com>
 I have a Java Program that will generate a Query for SWI-Prolog(CLPFD). I
need this query to be sent to SWI-Prolog for further processing and getting
back the results or Output of the SWI-Prolog.

I figured out JPL is a good approach and also we can try to host SWI-Prolog
engine as a Web Service and send our query which is generated by Java
Program to get back the results.

I saw a web services section in SWI-Prolog Documentation but it seems like
creating web Servers in SWI-Prolog which serves html pages and http
requests but not the SWI-Prolog Functionality as a Service itself.

Can you let me know which is the better approach for my problem? JPL or
Hosting SWI-Prolog engine as a service?

If the latter is better can you guide me how to do it and communicate with
the web service?

I am using a Windows 8 machine with SWI-Prolog 6.6.4 setup.

Thanks,
Pavan.
-------------- next part --------------
HTML attachment scrubbed and removed