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
<resource-ref>
<description>A jdbc connection for the BMP
bean</description>
<res-ref-name>jdbc/myDatabase</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
How can this be configured for different databases e.g. SQL Server or
Oracle?
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]