<html><body bgcolor="#FFFFFF"><div>Adam or mark, can you file a CDI issue to track this?<br><br>--<div>Pete Muir</div><div><a href="http://in.relation.to/Bloggers/Pete">http://in.relation.to/Bloggers/Pete</a></div></div><div><br>On 16 Mar 2011, at 19:06, Adam Bien <<a href="mailto:abien@adam-bien.com">abien@adam-bien.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>Equals behavior is similarly specificied in the EJB 3.1 spec. Probably we could borrow something:<div><br></div><div>"<span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 10px; ">The </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 10px; "><span style="font: 10.0px 'Courier New'">equals </span></span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 10px; ">method always returns true when used to compare references to the same business inter- face type of the same stateless session bean. The equals method always returns true when used to com- pare references to the no-interface view of the same stateless session bean. Stateless session bean references to either different business interface types or between an interface type and a no-interface view or to different session beans will not be equal." EJB 3.1, Page 54</span></div><div><font class="Apple-style-span" face="'Times New Roman'" size="2"><span class="Apple-style-span" style="font-size: 10px;"><br></span></font></div><div><font class="Apple-style-span" face="'Times New Roman'" size="2"><span class="Apple-style-span" style="font-size: 10px;">greetings!,</span></font></div><div><font class="Apple-style-span" face="'Times New Roman'" size="2"><span class="Apple-style-span" style="font-size: 10px;"><br></span></font></div><div><font class="Apple-style-span" face="'Times New Roman'" size="2"><span class="Apple-style-span" style="font-size: 10px;">adam<br></span></font><div><div>On 14.03.2011, at 12:52, Pete Muir wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Stuart, you had this one worked out right? I believe the spec says the behaviour is unspecified.<br><br>On 7 Mar 2011, at 15:52, Mark Struberg wrote:<br><br><blockquote type="cite">Hi Pete, others!<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Do you remember our discussion about what should happen if equals() gets called on a proxy?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Should it route to the equals method of the currently proxied instance?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">LieGrue,<br></blockquote><blockquote type="cite">strub<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">cdi-dev mailing list<br></blockquote><blockquote type="cite"><a href="mailto:cdi-dev@lists.jboss.org"><a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a></a><br></blockquote><blockquote type="cite"><a href="https://lists.jboss.org/mailman/listinfo/cdi-dev"><a href="https://lists.jboss.org/mailman/listinfo/cdi-dev">https://lists.jboss.org/mailman/listinfo/cdi-dev</a></a><br></blockquote><br><br>_______________________________________________<br>cdi-dev mailing list<br><a href="mailto:cdi-dev@lists.jboss.org"><a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a></a><br><a href="https://lists.jboss.org/mailman/listinfo/cdi-dev">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br></div></blockquote></div><br><div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Consultant, Author, Speaker, Java Champion</div><div> </div><div> Weblog: <a href="http://blog.adam-bien.com"><a href="http://blog.adam-bien.com">blog.adam-bien.com</a></a></div><div> press: <a href="http://press.adam-bien.com"><a href="http://press.adam-bien.com">press.adam-bien.com</a></a></div><div> eMail: <a href="mailto:abien@adam-bien.com"><a href="mailto:abien@adam-bien.com">abien@adam-bien.com</a></a></div><div> twitter: <a href="http://twitter.com/adambien"><a href="http://twitter.com/adambien">twitter.com/adambien</a></a></div><div> Mobile: 0049(0)170 280 3144</div><div><br></div><div> Author: 7 (Java SE/EE, SOA) Books, about 100 articles </div><div><br></div><div><br></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></div></div></blockquote></body></html>