[jboss-dev-forums] [Design of EJB 3.0] - Re: JNDI Bindings

ALRubinger do-not-reply at jboss.com
Wed Sep 17 02:07:03 EDT 2008


"scott.stark at jboss.org" wrote : Additive meaning create duplicate bindings? The metadata processing should already be treating mappedName annotation as being overriden by the jboss jndi-name. We don't have an xml form for @RemoteBinding.jndiName do we?

Ah, I wasn't aware jboss.xml "jndi-name" overrides spec "mappedName".

No, we've got no XML @RemoteBinding equiv, or way of specifying more than one (ie JNDI Name) in XML.  This was probably not the original intent, but @RemoteBinding as it stands tangles:

* JNDI Targets
* clientBindUrl (invokerLocator and protocol)
* Interceptor Stack
* Proxy Factory

TBH, I'm not even sure which of those are currently supported.

...so I'm starting to wonder about this notion of creating duplicate bindings.  The waters get murky and confusing either way, and I want to provide the most intuitive mechanism we can (with much better logging).  JNDI problems are at the top of the gripes of new users.

Also related (noted before) is the absence of LocalBindingMetaData/LocalBindingsMetaData.

S,
ALR

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

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



More information about the jboss-dev-forums mailing list