I'll plug Scripturian here, a library I wrote that has very good 
thread-aware support for embedding Clojure, as well as other JVM languages 
(JavaScript, Python, Ruby, PHP, Groovy):

http://threecrickets.com/scripturian/

I just recently wrote a detailed tutorial for it, which was missing for a 
long time.

Stdout redirection is fully supported, as well as a sophisticated 
"text-with-scriptlets" mode, very useful for templating.

Even if you don't want to use Scripturian, its source code will show you a 
few examples of how to access Clojure's RT and bindings from within Java. 
It's ... not trivial, to say the least.

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

Reply via email to