I'm wondering if I should register @EJB ref dependencies with the kernel as EJB does allow circular references. I'm thinking of registering dependencies, but having an out with a @IgnoreDependeny annotation. Or maybe I should just keep it the way it is and wait for JBoss 5?
I don't understand what this means. If the ejb3 deployer is managing all ejb refs, use of the kernel is an implementation detail. If the ejb3 deployer used the MC with different configurations of the dependency manager it should be the same regardless of jboss4/5 or embedded.