2 Replies Latest reply on Apr 19, 2007 11:37 AM by fastbob

    Invoking equals() on EJB


      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.