Hi Taher & Eugen, I came across this thread by accident while searching for something else, but I wanted to say that what Taher suggests is possible and fairly easy to do. I have an NRepl container & Clojure service engine I wrote a few years ago for some older OFBiz codebases and that's basically the only way I interacted with them. :)
I can locate them and post them on GitHub if you are interested - I believe the code involved was very minimal. Joe On 2020/05/04 14:22:38, "Taher Alkhateeb" <ta...@pythys.com.INVALID> wrote: > > Hello Eugen, > > Great initiative! Thank you for the work. > > I have a question about the implementation. It seems from reading your code > [1] that you're essentially just passing the the context object to NREPL and > getting it working from there. > > Although the idea works, you're not getting anything beyond just running the > clojure REPL against the context. Why not design NREPL to be part of the > framework from the start. Implement it as a container and fire it up and > fully integrate with the framework. This way not only will you be able to run > the REPL (which is great) but you will also have the ability to introspect > every request / response and even add clojure as another implementation > engine.