Ayusman
Ayusman

Reputation: 8719

JVM communication library

NOTE: I did not intend to make this question generic; but rather looking for a very specific tool.

I had used this library a while back, but can't seem to recall the exact library name. This is how the library behaves:

  1. Enable your target JVM to communicate from the external tool (nothing but a command line) by placing a jar in the JVM class path.
  2. while the target JVM is running; connect to the target JVM by running the library and once it starts up; you can effectively communicate with the target JVM from the tools command line.
  3. You can run scripts (java statements without having to write an entire java program).

Example: Say my target JVM has an arraylist myList. I could just write the java statement myList.size() in the tools command line; which will provide me the size of the array list myList.

Note that this does not require me to write a whole java class in the target JVM; but rather allows me to write small pieces of code snippet and run them as if I am in the target JVM it self.

I am unable to recall the library name.

I have tried looking at the librares cajo AKKA JUEL

But not sure any of these are the one I was looking for.

Upvotes: 0

Views: 129

Answers (1)

user1889970
user1889970

Reputation: 736

Is it Beanshell. BeanShell is a small, free, embeddable Java source interpreter with object scripting language features, written in Java. BeanShell dynamically executes standard Java syntax and extends it with common scripting conveniences such as loose types, commands, and method closures like those in Perl and JavaScript. Please see link below

Beanshell

Upvotes: 2

Related Questions