users@glassfish.java.net

Re: Problem with RMI - EJB Remote invocation with Embedded EJBContainer

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Mon, 16 May 2011 14:38:18 -0700

Remote EJBs are currently not supported in embeddable EJB container (the
spec doesn't require this and we have bugs in the area).

-marina

emiddio-frontier wrote:
> i have test EJB with no-interface, local interface, and remote
> interface views.
>
> when deployed to embedded EJBContainer i can only get the local, and
> no interface views to work;
>
> when deployed to a glassfish v301 non-embedded instance -- i can via
> application client
> invoke the remote EJB interface successfully.
>
> I get a classcast/naming exception in some portable to remote narrow
> method layer.
>
> I thought @Remote was allowed for EJB Embedded Container usage ???
>
> thanks
>
> gary
>
>
>
>