JBoss answer
"/The connection factories provided by a Resource Adapter (RA) are
typically not available for use by clients that are outside of the
application server. That is, the JCA specification is intended to
provided resources to the application server, and relies upon behavior
on the part of the application server in connection pool management,
transaction management, and security.
Also, for this reason, the JNDI location of the RA's ConnectionFactories
should be located in the "java:" namespace. This namespace is local to
the jvm and has no visibility to external clients./"
Is it true ? I'm not sure. How other application server do ?
Philippe