On Fri, Jul 31, 2009 at 5:31 PM, Mikael
Lammentausta<[email protected]> wrote:
>  I solved my problem. It was really simple in the end :)

Sorry. I should have given the full snippet.  This was what I was
recommending you do :)

For clarification (for more general JI audience), I think in theory we
should consider changing JRuby so:

    beanHome = PortableRemoteObject.narrow(home, BeanHome)

I believe this is more or less unambiguous.  I really don't think
anyone would be asking for our IRubyObject.class of the proxy.  After
all we know whether it is a proxy or not for a Java class.

-Tom

>
>
>     home = @@context.lookup('ServicesHome')
>
>     beanHome = PortableRemoteObject.narrow(
>       home,
>       BeanHome.java_class
>       )
>
>     ejb = beanHome.create
>
>
> Now I can call methods on the ejb object.
>
> Sorry for the inconvenience.
>
>
>
> --mikael
>



-- 
blog: http://blog.enebo.com       twitter: tom_enebo
mail: [email protected]

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to