Only the J2EE application client can access Java 2 Connector (J2C) connection factories, datasources, or JMS queues. WebSphere Application Server does not support accessing these resources from other external clients.
For instructions on how to access these resources through the J2EE Application client, see Data sources for application clients.
Any client running in the WebSphere Application Server process (such as a Servlet or an enterprise bean) within the same cell that can look up a resource in the JNDI namespace can obtain connections without providing authentication data. It is important to note that J2C authentication alias is per cell. An enterprise bean or Servlet in one application server cannot look up a resource in another server process which is in a different cell, because the alias would not be resolved.