well, I have a lot of beans running with :
java:/skyline
<datasource-mapping>MS SQLSERVER2000</datasource-mapping>
and ...
I want to create other beans in the same jar file (EJBs.jar)
but these beans will be use a different jndi connection like
java:/skylineAdmin
<datasource-mapping>MS SQLSERVER2000</datasource-mapping>
Can I do that ?
Yes you can do it.
You can add the datasource and datasource-mapping tags at the entity level in jbosscmp-jdbc.xml.
However, this is not recommended.
Make 2 different jars.
Saludos,
Hernan Terzian.