Re: Server - java and python
Christian Blouin <[email protected]> Tue, 6 Apr 2010 19:56:08 -0300
| Newsgroups | gmane.comp.ai.powerloom |
|---|---|
| Message-ID | <[email protected]> |
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. =A0So 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. =A0As long as you can have > Python operate using the appropriate SOAP protocol, you could work > with this. =A0As it happens, we are close to finishing up some work on > making PowerLoom server systems a lot easier to deploy. =A0Now 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 > -- = Christian Blouin, Assoc. Prof. Faculty of Computer Science AND Department of Biochemistry and Molecular Biology Dalhousie University Halifax, NS, Canada