Can JRuby invoke Java APIs?? For example, if I want to invoke Ruby
scripts from Java application. And the Ruby script will invoke Java
APIs, is it possible??
For example, Beanshell script is able to do that. Thanks.
Can JRuby invoke Java APIs?? For example, if I want to invoke Ruby
scripts from Java application. And the Ruby script will invoke Java
APIs, is it possible??
Can JRuby invoke Java APIs?? For example, if I want to invoke Ruby
scripts from Java application. And the Ruby script will invoke Java
APIs, is it possible??
For example, Beanshell script is able to do that. Thanks.
Yes, invoking Java APIs is one of the main purposes for JRuby. To use
JRuby from within a Java application you can either use the Bean
Scripting Framework, or just access JRuby directly.