You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by David Carew <dc...@gmail.com> on 2008/02/20 21:33:38 UTC

Mapping annotation to an actual database pool in Geronimo

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