Please tell me if it's possible to do the following thing :
- create an instance of a specific class in Java
- pass it to JRuby to do something with it
- continue using the "modified" version in Java
Please provide a small working example if it's not too much to ask .
EDIT : turns out embedding was the simplest way to achieve this . More informations are available HERE