Re: Calling Java from Clojure

2019-06-11 Thread Alan Moore
Maybe this is too old school but wouldn’t a dynamic proxy help here? E.g. java.lang.reflect.InvocationHandler & java.lang.reflect.Proxy. Clearly you’d be relying on reflection but if your interface usage is large grained enough the overhead wouldn’t be too bad. -- You received this message

[ANN] Clojure core.async 0.4.500 released

2019-06-11 Thread Ghadi Shayban
Release 0.4.500 on 2019.06.11 - ASYNC-227 cljs alts! isn't non-deterministic - ASYNC-224 Fix bad putter unwrapping in channel abort - ASYNC-226

Re: Calling Java from Clojure

2019-06-11 Thread henrik42
If you're willing to use Spring you can create Clojure-based Spring Beans [1] and let Spring inject (autowire) them into your Java-based Spring-Beans. And if you like you could use Spring just as a factory that you invoke. I would still define interfaces (that you want to use from Java) in