[jboss-as7-dev] JNDI name rules

David M. Lloyd david.lloyd at redhat.com
Thu Apr 14 16:08:49 EDT 2011


Historically we've allowed lots of crazy binding setups, from 
unqualified names to non-java: names to java:/ names.  In EE 6 we have 
these nice namespaces now, and we've previously talked about adding a 
java:jboss namespace as well.

So I'd like to propose the following naming rules:

- "java:/foo/bar" is transformed to "java:jboss/user/foo/bar"
- "foo/bar" is transformed to "java:jboss/user/foo/bar"
- "java:foo/bar" is invalid

This will allow people to continue using their odd legacy names but 
still provide predictable semantics.

Thoughts?
-- 
- DML



More information about the jboss-as7-dev mailing list