Re: Very good question in RMI..reply soon
Posted By:
Anonymous
Posted On:
Thursday, May 16, 2002 03:04 AM
You should read the book "A Beginners Guide To RMI" which is available at http://www.universalteacher.com
Re: Very good question in RMI..reply soon
Posted By:
Anonymous
Posted On:
Tuesday, April 16, 2002 08:30 PM
hi,
It is possible to set the Port number for the server to communicate back to the client. The client communicates
with the server on the Port defined in the RMI URL. But when the server connects back
It may not be from the same port, but we can make it to communicate through the same port
or any other user defined ports.
The UnicastRemoteObject 's constructor takes in an argument as port. Just by invoking
super(portnumber) will make the server to contact back in the same port.
Hence the communication will take place between the client to server
through the port set in RMI URL & from Server to client by the port set in the ur RMI Server.
Regds
Joseph
CrimsonLogic