How to get JProxy working with different EJB Server?
Typically communication with Application Server (EJB, JMS, CORBA) starts from obtaining initial naming context for the server. Usually it may be done calling default constructor without parameters: new InitialContext(); In other cases you have to specify some JNDI properties: “java.naming.factory.initial” that specifies class name for provider-specific implementation. And “java.naming.provider.url” that is a URL of Naming Service. Usually Naming Service Located on the same machine as Application Server. By using JProxy, client implementation may be always same even for different Application Servers, because JProxy is using its own naming context factory and provider URL is hostname of JProxy Server. The “Real” properties of Application Server is stored in proxyclient.jar in com/jproxy/proxy/proxy.properties file. In some cases you need to modify these file in order to adjust JProxy for your Application Server.