On Sep 18, 8:51 am, noahr <[EMAIL PROTECTED]> wrote:
> Was the 'other side' (Berkely DB) in a separate process / machine? Or
> part of the same jvm?
Same JVM; I am running my Clojure application on the server and it
persists and retrieves data from Berkeley. It currently exposes an API
for a cl
Was the 'other side' (Berkely DB) in a separate process / machine? Or
part of the same jvm?
If separate, what clojure knowledge / libraries did the other side
have? I assume there was serialization across or else you wouldnt have
gotten the PersistentMap error.
And sounds like your passing the CLA
Hello noahr,
I have created a library for myself to do persistence in Clojure to
Berkeley DB. I generally leverage Clojure's reader support for
(de)serialization.
However, in one instance I had to implement a particular interface and
pass that class as parameter to the Berkeley API.
At first I,
You wouldn't be able to execute any clojure created class or proxy
without having clojure available on the other side. You would have to
stream all of the dynamic classes that clojure creates (and each fn is
also a class), but also have available the clojure.lang stuff it
depends on to load and r
Well digging into it more, I've since realized the whole approach I
was taking is misguided anyway, as serialization appears to be for
marshaling the data of already defined classes. What I was really
trying to do was create new classes (java or clojure), and stream them
across the network, and h
On Sep 12, 8:55 am, noahr <[EMAIL PROTECTED]> wrote:
> So it looks like I will have to implement the object I want to send
> across the stream in Java, not clojure (sigh)
>
> Any ideas anyone?
If you've got Clojure available on both ends, you can serialize with
(pr-str...) and deserialize with (r
I've hit a problem trying to serialize an object from one (clojure)
server to another (java). I was *hoping* to simply use (PROXY) to
implement the object I want to send in clojure, and serialize that
across the stream. Unfortunately java barfs about:
java.io.NotSerializableException: clojure.lan