well, I have a lot of beans running with :
I want to create other beans in the same jar file (EJBs.jar)
but these beans will be use a different jndi connection like
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.