Yes, you can bind the different instances under separate naming contexts. Your client must be aware of which application and database it wants to talk to.
Thank you for your comments.
Does some method to specify that all JNDI references in a jboss.xml must be prefixed with a string exists ?
Or must I edit all my bean JNDI names ?
You must edit them.