If you deploy the same EAR in three different instances of a specific container, you will have to edit the deployment settings because there is no way for the deployment process to have an idea of which of your three versions you would like to use for a specific deployment.
Deployment options should go into JNDI entries, as Pierre-Yves said.
If I were you, I would establish that my script (Ant?) Deployment correctly populates JNDI entries depending on the environment you are deploying to.
M0rph13
source
share