[jboss-dev-forums] [Design of EJB 3.0] - Re: Non-deterministic Default JNDI Name

ALRubinger do-not-reply at jboss.com
Tue Oct 14 06:46:24 EDT 2008


"jaikiran" wrote : Any specific reason why we need to know the "default" jndiname?

Turns out: I don't think so.  I ran into this while going through out @RemoteBinding handling to ensure all the bindings were made, and thought this might turn into a hitch of some type.

"jaikiran" wrote : Aren't we going to treat all jndi names equally?

Not all. :)

That example makes for two bindings for the "Default Remote Business Interface using the default interceptor stack and remoting to the default Connector".  So it turns out we can pick either for the "Default JNDI Name".

But some explicit @RemoteBindings will have different properties.

Further, there's the interface-specific bindings which may be invoked upon to get SessionContext.getInvokedBusinessInterface().  The intention is not to look these up directly, but they're the injection targets for the ENC of each component.

S,
ALR

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

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



More information about the jboss-dev-forums mailing list