Hi

In my application , from  web module, I want to access EJBModule deployed on
multiple instances.
So I want to add something like load balancer while doing lookup. What i
need to do. 

            /  Properties properties = new Properties();
            properties.put(Context.INITIAL_CONTEXT_FACTORY, 
          "org.apache.openejb.client.RemoteInitialContextFactory");
            properties.put(Context.PROVIDER_URL,
"http://127.0.0.1:8081/tomee/ejb";);
            InitialContext ic=new InitialContext(properties);/

This code is working fine with one PROVIDER_URL, but if i'm giving other URL
also with comma separated, i'm getting naming exception.
Is there anything like i can implement a EJB broker kind of thing which can
manage requests to multiple app servers.





--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html

Reply via email to