Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to get JProxy working with different EJB Server?

0
Posted

How to get JProxy working with different EJB Server?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123