-
1. Re: JNDI binding from deployment descriptors
jaikiran Feb 22, 2012 9:25 PM (in response to sfcoy)Stephen Coy wrote:
So, is this a JBoss extension? Or is this behaviour specified somewhere that I've not looked?
It's a spec mandated behaviour. Section EE.5.2.1 of Java EE 6 spec has the details which includes:
By default, environment entries declared by application components are created in the java:comp/env namespace. Environment entries may be declared in any one of the defined namespaces by explicitly including the namespace prefix before the name.
-
2. Re: JNDI binding from deployment descriptors
sfcoy Feb 22, 2012 10:25 PM (in response to jaikiran)My document search for "env-entry-name" was a miserable failure here .
After reading this content I can see that the example in the documentation should probably read:
{code:xml}
<env-entry-name>java:global/env/mystring</env-entry-name>
{code}
so I can fix that if there's no objections.