Re: Java interop

2010-06-03 Thread Alexander Burger
Hi Henrik, nice research! writeup here: http://www.prodevtips.com/2010/05/30/clojure-with-a-picolisp-= database-via-clojure-http-client/ Concerning your worries about using 'eval' in: (println (eval (list 'get (qReq 'link) (qReq 'direction) (qReq 'attr Perhaps I don't fully

Re: Java interop

2010-06-03 Thread Henrik Sarvell
Fixed, works, thanks! My own simple testing confused me, since then I would do (get '{x-x} 'to 'uid), I just locked on to that and thought I would need the quotes and all but of course I don't. On Thu, Jun 3, 2010 at 8:23 AM, Alexander Burger a...@software-lab.de wrot= e: Hi Henrik, nice

Re: Java interop

2010-06-02 Thread Henrik Sarvell
at 2:05 PM, Alexander Burger a...@software-lab.de w= rote: On Thu, May 27, 2010 at 11:45:57AM +0200, Henrik Sarvell wrote: Now pretend I have a PL database that listens on say port 4040, could it be possible to use the current Java interop code to pass data to that database for storage

Re: Java interop

2010-05-28 Thread Henrik Sarvell
:45:57AM +0200, Henrik Sarvell wrote: Now pretend I have a PL database that listens on say port 4040, could it be possible to use the current Java interop code to pass data to that database for storage? This is not directly supported by the existing interfaces, as 'Reflector' is itself a server

Re: Java interop

2010-05-27 Thread Alexander Burger
Hi Henrik, Hi Alex, I just took a look at the old java gui download. ... communicating with a running JVM from PL. The starting point is the class java/Reflector.java, together with the start-up shell script java/vm. 'Reflector' is a kind of Java functionality server. It mediates - as you

Re: Java interop

2010-05-27 Thread Henrik Sarvell
Great, thanks, I haven't tested yet but that answer should be enough to get me up and running with the scenario where PL is using Java in an auxiliary fashion. Now pretend I have a PL database that listens on say port 4040, could it be possible to use the current Java interop code to pass data

Re: Java interop

2010-05-27 Thread Alexander Burger
On Thu, May 27, 2010 at 11:45:57AM +0200, Henrik Sarvell wrote: Now pretend I have a PL database that listens on say port 4040, could it be possible to use the current Java interop code to pass data to that database for storage? This is not directly supported by the existing interfaces

Java interop

2010-05-26 Thread Henrik Sarvell
Hi Alex, I just took a look at the old java gui download. To recap some discussion that has been going on on IRC for all the rest, I want to be able to use the logic you created for the old Java GUI but in a more general fashion, both as it was intended, communicating with a running JVM from PL.