[jboss-user] [EJB/JBoss] - Invoking equals() on EJB

fastbob do-not-reply at jboss.com
Wed Apr 4 16:16:36 EDT 2007


Got a hopefully simple question: If I have an ejb, is there any reason why I shouldn't call ejb.equals( "foo") and get false? In JBoss 4.0.1 and I think 4.0.4 a ClassCastException is thrown in isIdentical() because "foo" is not an EJBLocalObject.

Bob

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034770#4034770

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034770



More information about the jboss-user mailing list