Xh wrote:
Hi All,
I can successfully connect to my remote bean, retrieve some results etc.
But in real situation I need to access a database.
In geronimo-application.xml I have:
<sys:dependencies>
<sys:dependency>
<sys:groupId>console.dbpool</sys:groupId>
<sys:artifactId>DataWeaverEARDB2</sys:artifactId>
</sys:dependency>
</sys:dependencies>
but unlike web.xml, geronimo-application.xml does not allow
<resource-ref> element.
I can configure web application to access my database, but it's now
what I really want ;(
My question is, how to add a pool to EAR application?
best regards
Lukasz
------------------------------------------------------------------------
Yahoo! Mail is the world's favourite email. Don't settle for less,
sign up for your free account today
<http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html>.
I think if you already have the DB pool deployed in Geronimo, you can
just have a dependency on it in your openejb-jar.xml.
Hope this helps,
Viet Nguyen