I am wondering if
import org.jboss.ejb3.annotation.LocalBinding;
import org.jboss.ejb3.annotation.RemoteBinding are backwards compatible for jboss 4.2.3-GA.. I tried the same code which was working on jboss 5 on jboss 4.2.3.GA and get a NameNotFoundException when doing the lookup on the ejb.