hiya. i'm writing a session bean which i'd like to have access to the same
datasource/connection pool that controls my entity beans. i've got this
section in my ejb-jar.xml file:
<session>
<description>
Generates IDs for the entity beans
</description>
<ejb-name>IDGenerator</ejb-name>
<home>com.webslingerZ.news.beans.IDGeneratorHome</home>
<remote>com.webslingerZ.news.beans.IDGenerator</remote>
<ejb-class>com.webslingerZ.news.beans.IDGeneratorBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<resource-ref>
<description>DataSource for the database</description>
<res-ref-name>jdbc/PostgresqlTest</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</session>
but i can't figure out to map the JNDI resource named
java:comp/env/jdbc/PostgresqlTest to the datasource named 'PostgresqlTest'
in my jaws.xml file. it would seem that i need to create a jboss.xml file
for that purpose, but i can't seem to find any documentation on how to do
so. any clues?
- donald
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user