I have a question regarding EJB3 JNDI names.
I have 5 different servers. Each server contains one common ear called infra.
I have an
EJB located in the infra that has a function � activate().
In each server I have a property file specifying all the application servers IP's (So I know who is my local EJB and which remote servers EJB's I have to call).
Now, all I have to do is to call all the server's infra EJB's and activate there function.
The question is � how I can bind the server IP to the EJB JNDI name?
Is there any xml file which I can change via shell script that will do this task?
As far as I red there is a way to write it inside the persisntent.xml, is this the only way?
Thank,
Shai