how to specify individual datasource for CMP entity bean in JES
Hi,
I encounter a problem regarding specifying datasource in Sun Enterprise System.
In the deplyment descriptor sun-ejb-jar.xml, I specify a common datasource for all the CMP bean.
<sun-ejb-jar>
<enterprise-beans>
<unique-id>0</unique-id>
<ejb>
<ejb-name>User</ejb-name>
<jndi-name>User</jndi-name>
</ejb>
<ejb>
<ejb-name>Custom</ejb-name>
<jndi-name>Custom</jndi-name>
</ejb>
<cmp-resource>
<jndi-name>jdbc/STARS_ORACLE</jndi-name>
</cmp-resource>
</enterprise-beans>
</sun-ejb-jar>
But for bean User, I need to get the data from another data source due to security issue. I check through the development guide, didn't get the answer. I know that JBoss can support bean-level datasource. How to I specify a datasource for an individual bean in Sun JES?
My Environment is Sun Java Enterprise System 8.1.
Any answer is appreciated.

