From: <glassfish_at_javadesktop.org>
Date: Mon, 21 Jun 2010 09:12:43 PDT
You need to create a connector-connection-pool and a connector-resource referring the connection-pool.
Then, the connector-resource (its jndi-name) can be referred in @Resource.