Reputation: 58786
I have a web server running in a JVM which uses Clojure. I want to remote connect to this JVM from a REPL, but I cannot find any "CLEAR" steps which work on how I can do this. Has anyone already done this?
Note: I can use either the standard REPL or jline
Upvotes: 2
Views: 2025
Reputation: 13850
You can include nREPL in your code. If you just want to look into JVM heap and other statistics you can use jconsole.
Upvotes: 4
Reputation: 1158
If you use Emacs, http://asymmetrical-view.com/2009/08/20/emacs-slime-remote-repl.html describes how you would connect your local Emacs to a remote swank-clojure.
Upvotes: 1
Reputation: 9283
How about simply using GNU screen http://www.gnu.org/software/screen/? It lets you connect to anything running in terminal.
EDIT: Here is a good short intro to Screen with more advanced links in the end. It is actually very simple to use and extremely useful if you work on remote machines, so I recommend looking into it.
Upvotes: 1