ron Mulder" <[EMAIL PROTECTED]>
To: "jBoss" <[EMAIL PROTECTED]>
Sent: Tuesday, August 01, 2000 12:31 AM
Subject: Re: [jBoss-User] database connection for BMP Entity Bean
> You specify which JDBC URL to use for your data source in
> jboss.conf and/or jboss.jcml. You
You specify which JDBC URL to use for your data source in
jboss.conf and/or jboss.jcml. You can follow the "Minerva" link on the
left sidebar of www.jboss.org to get the procedure for configuring a
database pool. Once jBoss is loading your pool, you add entries to
jboss.xml for each bean
In the testbeans the BMP Entity Bean gets a connection as follows
Connection connection = ((DataSource)
namingContext.lookup("java:comp/env/jdbc/myDatabase")).getConnection();
and the ejb-jar.xml file contains
A jdbc connection for the BMP
bean
jdbc/