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.
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:
so I can fix that if there's no objections.