From: Anders Bengtsson Date: 2002-11-08T20:38:25+09:00 Subject: Re: Can JRuby invoke Java APIs?? John Davis wrote: > 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. There are a few docs on how to access Java APIs at . > Not sure if Ruby is a java scripting language Ruby isn't, but JRuby is. :) /Anders -- A n d e r s B e n g t s s o n | ndrsbngtssn@yahoo.se Stockholm, Sweden | _____________________________________________________ Gratis e-mail resten av livet p� www.yahoo.se/mail Busenkelt!