Hi, In servlets, there will be a only one instance of class. and each request handled by seperate thread. How it happens in RMI?. How is the relationship between client and remote object? is it one-to-one or many-to-one. Thanks in advance bye mohan
posted 15 years ago
Hi , I would say one-to-one. In your client program Naming.lookup, looks for the specific object registered in the rmiregistry. Then client asks for the "stub" class. Once it gets the stub class, it can invoke remote methods. Praveen.