This content has been marked as final. Show 2 replies
maybe it goes a bit away from the original intent, by us simply calling new InitialContext().bind()? I'm a bit confused!!!
Been reading up on naming and think it is kosher. I reckon the idea behind the FakeInitialContext is to use the contained HashMap of bindings, and not to have to rely on the NamingService. Is that correct?
Look at the org.jboss.ejb.plugins.SecurityInterceptor used by the ejb container for an example.