clojure « Bean « Spring Q&A

1. Spring-managed Clojure beans

I'm just wondering if it's possible to create Spring managed beans backed by Clojure code (Clojure namespace I guess, would implement regular Java interface)? If so, the example would be appreciated. Thanks, Dmitriy. ...

2. NoClassDefFoundError on a protocol when requiring its namespace

This is the recipe for the exception I'm getting (EDIT: ProtoImpl is defined in another ns, I'll leave it out to ease the description): myns.clj

(ns myns)

(defprotocol Proto
  (func [this]))

(extend-protocol Proto