[jboss-dev-forums] [Design of EJB 3.0] - Re: JNDI names with a leading /
ALRubinger
do-not-reply at jboss.com
Wed Aug 12 01:04:35 EDT 2009
So it binds something it cannot lookup. :)
We haven't documented any support for absolute JNDI references (everything goes into global JNDI anyway), so I don't think we much need to worry about backwards compatibility for breaking user's cases (like our test is). My personal opinion is that we should throw some descriptive error if the first character of the jndiName is '/'.
However, if we wanna be nice, we could just as easily remove all leading "/" from the String (recursively until done).
S,
ALR
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249120#4249120
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249120
More information about the jboss-dev-forums
mailing list