Hi,
I have a question regarding remote call
on ejb, as we know,
rmi could pass around serializable object and also could use rmi class
loader to dynamically load a class from client's site into its
local VM. In Application Server, how can I achieve this? Following
is my scenario:
rmi could pass around serializable object and also could use rmi class
loader to dynamically load a class from client's site into its
local VM. In Application Server, how can I achieve this? Following
is my scenario:
I started application server in host A, and also I have a session bean
named RequestSession looks like follows:
public interface RequestSession extends
EJBObject {
public String
service(AnalyzeRequest resquest)
throws RemoteException;
}
AnalyzeRquest is a serializable interface,
the real implementation
MyAnalyzeRequest is in client (host B)'s VM, then if I implement a
session bean client in host B to pass arund MyAnalyzeRequest, how could
I let host A's app server to use RMI class loader to dynamically load
MyAnalyzeRequest from host B?
MyAnalyzeRequest is in client (host B)'s VM, then if I implement a
session bean client in host B to pass arund MyAnalyzeRequest, how could
I let host A's app server to use RMI class loader to dynamically load
MyAnalyzeRequest from host B?
Thanks
