Fork me on GitHub
#java
<
2023-01-28
>
jherrlin07:01:50

Hey, We are using Kotlin/Java at work and often I would like to fire up a REPL and inspect some state in our service. Is it possible to start a Clojure REPL alongside Spring Boot?

emccue18:01:56

It is. Include the clojure jar + nrepl jar and start an nrepl server with interop

emccue18:01:40

There would be more steps to actually poke at the state in spring, but idk what they would be

jherrlin18:01:58

Nice! Is it straight forward? Do you have examples?

emccue18:01:14

Eh, sorta? And no

emccue18:01:23

I have some examples of interop

emccue18:01:31

But not doing that specifically

jherrlin18:01:42

Yeah I am a bit afraid that Spring will hide stuff for me. Time will tell

jherrlin18:01:55

Thx! I figure it out

mathpunk04:03:46

@UAEV0STAA I would also like to put a repl in Spring Boot. Is there anything you can share about doing that?

jherrlin08:03:03

@U0E9KE222 I havent had the time to do anything yet so atm I have nothing to share

🆒 2