This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Naming.rebind" Watch "Naming.rebind" New topic
Author

Naming.rebind

Mohamad Salman
Greenhorn

Joined: Jan 09, 2014
Posts: 1
Hi,
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: 132

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..
 
 
subject: Naming.rebind
 
Similar Threads
cleint-server interaction
Running a client/server apllication
Problems getting response from server
Server Program Airplane scheduling system
port number