Equals behavior is similarly specificied in the EJB 3.1 spec. Probably we could borrow something:"The equals 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 54greetings!,adamOn 14.03.2011, at 12:52, Pete Muir wrote:Stuart, you had this one worked out right? I believe the spec says the behaviour is unspecified.
On 7 Mar 2011, at 15:52, Mark Struberg wrote:Hi Pete, others!Do you remember our discussion about what should happen if equals() gets called on a proxy?Should it route to the equals method of the currently proxied instance?LieGrue,strub_______________________________________________cdi-dev mailing listcdi-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/cdi-dev
_______________________________________________
cdi-dev mailing list
cdi-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/cdi-devConsultant, Author, Speaker, Java ChampionWeblog: blog.adam-bien.compress: press.adam-bien.comeMail: abien@adam-bien.comtwitter: twitter.com/adambienMobile: 0049(0)170 280 3144Author: 7 (Java SE/EE, SOA) Books, about 100 articles