Hi!

Davide Mora wrote:
> i'm trying to put my EJBs in a Vector, everything work
> fine until i call the remove() method passing the ejb
> i want to remove.
> I took a look in the source, and i think the
> ProxyContainerForObject class doesn't implement a
> custom equals() method.
> In my test i simply iterated the vector calling the
> isIdentical() of the EJBObject interface.
> 
> This it's a bug (fixed in jboss2?) or it's the normal
> behaviour?

It is not required by the EJB spec to implement "equals" in stubs, but
jBoss 2 will redirect any "equals" calls to "isIdentical".

/Rickard

-- 
Rickard �berg

@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.ejboss.org
http://www.dreambean.com




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to