You certainly can!  It's one of the coolest parts of JRuby.  Why don't you
start with this and see if it answers some of your questions:
https://github.com/jruby/jruby/wiki/CallingJavaFromJRuby

Joe

On Fri, Oct 19, 2012 at 7:22 AM, Carl Bourne <carl.bou...@me.com> wrote:

> Hi,
>
> Please would somebody clarify the following for me:-
>
> I'm using some external libraries (BouncyCastle) within my JRuby code that
> returns a bunch of objects like this:
>
> org.bouncycastle.pkcs.PKCS10CertificationRequestBuilder@550bdfe
> org.bouncycastle.operator.jcajce.JcaContentSignerBuilder$1@b2d2e71
> org.bouncycastle.pkcs.PKCS10CertificationRequest@fbcb2522
>
> Obviously, these are Java Objects.
>
> I'm assuming that since they are dependant on Java's typing mechanism,
> there is no way to access these objects directly as you would native Ruby
> objects?
>
> Best Regards,
>
> Carl
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>

Reply via email to