[jboss-user] [JNDI/Naming/Network] - Re: Understand JNDI naming convention
do-not-reply at jboss.com
Thu Aug 13 16:41:45 EDT 2009
java:comp/env is the enterprise naming context (ENC) and contains entries from the resource-ref section of your web.xml file.
anonymous wrote : regarding my second question who uses the namespace?
I hope you mean your third question. The namespace (within an MBean name) has no special meaning - it is simply used as a convenience to prevent naming conflicts among MBeans.
anonymous wrote : I am not sure why it's defined this way?
JBoss AS uses a specific pattern for MBean names that it generates, though it uses different patterns for different items. For example, servlets use one MBean name pattern while EJBs use another. What you showed was part of an MBean name for an EJB (there is more to it on the prior line in the jmx-console output)
anonymous wrote : And also is name= really JNDI name?
Not necessarily. It all depends on how the MBean is defined and named.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249529#4249529
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249529
More information about the jboss-user