aspose file tools
The moose likes Sockets and Internet Protocols and the fly likes Naming.rebind Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Naming.rebind" Watch "Naming.rebind" New topic


Mohamad Salman

Joined: Jan 09, 2014
Posts: 1
im doing a simple login on server and everything was going fine, i started the RMI registry and the server was working fine, i test the code and i was able to login.
now i want to start putting the codes in method and doing more methods, but when i put the Naming.rebind("server", i); in the server to call methods in the client from the server it shows error and i dont know what to do.
this is the code of the server:

help please
Supun Lakshan Dissanayake
Ranch Hand

Joined: Oct 26, 2012
Posts: 133

Welcome to Ranch!
On server side I'd use

Any problems?

feel free to ask.

Are you better than me? Then please show me my mistakes..
Have you tried LearnNowOnline?
subject: Naming.rebind