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
Hello Eugen,
Q Are groovy scripts allowed access to all Java API (file io, network etc)?
A Yes groovy scripts can pretty much access all resources and Java APIs. But
they are implemented in multiple places as different things (service
implementations, events, or simply helper scripts)
Q
Hi,
Please see my reply inline.
La 06.05.2020 14:21, Taher Alkhateeb a scris:
> For me I would forget about the services for a moment. I would focus my
> attention on defining a container for the REPL [1]. Then I would try to
> implement clojure as an engine implementation for the services.
For me I would forget about the services for a moment. I would focus my
attention on defining a container for the REPL [1]. Then I would try to
implement clojure as an engine implementation for the services. This involves
modifying a few XSD files and java files for parsing and also providing
Hello Taher,
Thank you for the feedback.
Yes, that is what I am doing at the moment. I had less than 48h of
knowledge about ODBiz API so it was the best I could do.
I believe even that can provide benefits since you have a way to call
every service in a running OFBiz instance from code. It
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
Hello,
I just wrote a simple component for that adds clojure nRepl support for
OFBiz. This allows people to use clojure to interact with OFBiz and do
all sorts of nice things.
It also opens a lot of possibilities for improving the developer
experience.
Please let me know what you think about