From: Vetle Roeim <vetler_at_gmail.com>
Date: Thu, 24 Mar 2011 10:08:16 +0100
Hi Richard,
Take a look at the test case attached to this issue:
http://java.net/jira/browse/GLASSFISH-15523
This example uses both lookup and injection, but hopefully you should
be able to make sense of it.