[jboss-dev-forums] [Design of EJB 3.0] - Re: JNDI names with a leading /
jaikiran
do-not-reply at jboss.com
Wed Aug 12 01:11:43 EDT 2009
"ALRubinger" wrote :
| 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...
|
Maybe a combination of both - Log a WARN message telling the user that the jndi name will be stripped of the leading / and we then go ahead remove those leading / while binding.
"ALRubinger" wrote :
| all leading "/" from the String (recursively until done).
|
|
Good point - Hadn't thought of the multiple leading / case :)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249121#4249121
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249121
More information about the jboss-dev-forums
mailing list