Sharing RMI port for my server
Hi,
My application uses RMI for communication with other Java programs and TCP sockets for non-java programs. As I want to limit the number of listening ports open in my server (firewall constraints), is it possible to share a single port for both RMI and my own TCP server?
Basically, I want to have the control of listening to a port and delegate the requests to rmiregistry/unicastremoteobject or my TCP server depending on the request.
Regards,
Anand

