Re: SWI-Prolog engine as a Service
Sergio Castro <[email protected]> Tue, 22 Apr 2014 14:56:02 -0700 (PDT)
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
If your client is a Java program and you can execute it in the same machine than SWI, I think the best you can do is to try with JPL. Configuring it as a web service in that scenario may add another layer of complexity. Also you would experiment a strong impact on performance. Sergio Le Mardi 22 avril 2014 17h26, Pavan Kumar <[email protected]> a écrit : 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 >_______________________________________________ >SWI-Prolog mailing list >[email protected] >https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog > > > -------------- next part -------------- HTML attachment scrubbed and removed