I have a database pool  defined in the admin console and  I want to  refer to it in a Servlet or EJB  via an annotation like the following

@Resource DataSource myPool ;


How do I map the variable myPool to an actual  Database Pool in Geronimo ?

TIA