Hi,

Since in Clojure 1.2 all data structures are serializable and Clojure
is homoiconicity language. Why don't make functions serializable? I'm
trying to pass function with RMI and execute in on the second REPL.
Right now, the only way to get it working is to pass string and
evaluate it on REPL. However it would be nice if I could use Clojure
in a way like this:


(.process unit { :input-process (fn[] .... ) :output-porces
(fn[] .... ) })


where unit is a RMI stub with process method in its interface and
hashmap passed as a parameter to the method is a detailed work to do
by the unit.

The purpose of all is something like this: 
http://java.sun.com/docs/books/tutorial/rmi/client.html

BTW. Java allows to set policy on the remote unit, so it is able to
load (by rmi classloader) missing classes (for both - client and
server side).

Any thoughts?
Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to