ejb@glassfish.java.net

Re: How to get a Handle to a 3.0 EJB

From: Kenneth Saks <Kenneth.Saks_at_Sun.COM>
Date: Wed, 09 Aug 2006 10:44:50 -0400

Sanjeeb Kumar Sahoo wrote:

> Ken,
>
> There seem to be no replacement for EJBObject.getHandle() in EJB 3.0.
> Is this intentional?

Yes. The spec requires that the correct equality semantics be defined
for equals() on
EJB 3.0 business interfaces interfaces, which covers isIdentical(). For
access to the
remaining EJBObject/EJBLocalObject functionality, the developer has the
option of
providing an adapted home and/or adapted localhome for the bean.

> Would you mind taking a look at this forum posting:
>
> http://forums.java.net/jive/thread.jspa?threadID=17391&tstart=0

I posted a response. Thanks.

 --ken

>
>
> Thanks,
> Sahoo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ejb-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: ejb-help_at_glassfish.dev.java.net
>