What you seem to be suggesting -- a brute-force approach to discovering a server process -- can also be interpreted by a network monitoring agent as a prelude to a spam attack, so if you're thinking of doing this in a shared subnet, large LAN envirnoment, or on an ISP's network, be careful.
perhaps, you are right.
But my intention is to develop a communicator (messenger). And instead of starting server application on a particular machine, I want to run at machine, which starts application first (in case server object is not available in n/w (LAN)).
At first instance using CORBA came to my mind, as application can search server object in n/w automatically.
And second thought was using RMI. And I want to use RMI.
Sorry, if still I am irritating you because of poor programming technique/skills.
All Suggestions are welcomed.
Thanks.