![]() |
|
To connect to the Message Server from beans deployed on other application servers, ensure that the archives classpath.jar is in the classpath of that application server. The properties object containing the appropriate properties is passed to the InitialContext method as shown in the code:
env.put ("java.naming.factory.initial",
"com.pramati.naming.client.PramatiClientContextFactory");
env.put("java.naming.provider.url","rmi://:");
Context ctx= new InitialContext(env);
where IP is the IPAddress of the Message Server and port is Port number of the Message Server naming service port.
Pramati Message Server can also be accessed by the following clients:
| © Pramati Technologies 2007 | Runs on Pramati Server | Feedback | Legal |