Re: Server - java and python
Arnkell Logi Pétursson <[email protected]> Wed, 07 Apr 2010 15:27:50 +0000
| Newsgroups | gmane.comp.ai.powerloom |
|---|---|
| Message-ID | <[email protected]> |
Hi, thanks for the replies, that was swift! We are gonna go with the XML-RPC = to begin with and see if we can use the new version also. best regards, Logi =DEann 6.4.2010 22:56, skrifa=F0i Christian Blouin: > I started working on a Python wrapper a few years ago. It was pretty > simple but was doing the basics. I can try to fish this out if anyone > would like to look at it (assuming that I can find it). > Christian > > On Tue, Apr 6, 2010 at 3:08 PM, Thomas Russ<[email protected]> wrote: > = >> On Apr 6, 2010, at 8:01 AM, Arnkell Logi P=E9tursson wrote: >> >> = >>> Hi, >>> >>> I'm working on this project here: >>> http://cadia.ru.is/wiki/public:socialgame:main >>> >>> I have a program in Python that needs to write to Powerloom and >>> another >>> code in Java that needs to read from the same KB. What would be the >>> best >>> way to achieve this? Has anybody implemented a server that I could >>> use? >>> = >> Well, from the Java perspective, the very simplest method of working >> with PowerLoom is to just do it directly. So one option would be to >> just run the PowerLoom code in Java and have your Python program >> communicate with that Java program using a method of your own choosing. >> >> A second method would be to use a SOAP-server interface to PowerLoom. >> We have created a simple server like that, which allows manipulation >> and querying of PowerLoom knowledge bases. As long as you can have >> Python operate using the appropriate SOAP protocol, you could work >> with this. As it happens, we are close to finishing up some work on >> making PowerLoom server systems a lot easier to deploy. Now I should >> also note that there isn't any security built into the SOAP protocol >> itself, so you would really need to implement the security using an >> external protocol. >> >> As for a Python interface, there isn't anything that I'm aware of for >> communicating directly with PowerLoom through any sort of a Python >> interface. >> >> >> >> _______________________________________________ >> powerloom-forum mailing list >> [email protected] >> http://mailman.isi.edu/mailman/listinfo/powerloom-forum >> >> = > > > =