I'd like to learn how to invoke Clojure code from a Java application.
I see at least two options.

1) From a Java application, read a text file containing Clojure code
and invoke specific functions it defines from Java code.
2) Compile Clojure code to bytecode and use it from a Java application
just like any other Java code.

An example of the first option is provided at
http://markmail.org/message/tx23zaxf77b6widh#query:%22calling%20Clojure%22%20%22from%20Java%22+page:1+mid:tx23zaxf77b6widh+state:results.
It's about seven months old, so I don't know if it's still accurate or
whether it's the best way to implement the first option. Is this a
good example?

I see that the second option is described at http://clojure.org/compilation.

-- 
R. Mark Volkmann
Object Computing, Inc.

--~--~---------~--~----~------------~-------~--~----~
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
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