Sorry to report that all suggestions in this realm fail.
The attached Maven project demonstrates that injection of any kind within a resource class is broken using Glassfish 3.1b04 or later. I don't know enough to know whether this is a bug or pilot error. I will let this sit for a while and then file a bug if there are no responses.
Best,
Laird
[Message sent by forum member 'ljnelson']
http://forums.java.net/jive/thread.jspa?messageID=474389