File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Distributed Java and the fly likes please post RMI Code to invoce server in one syst and client resides in another system in netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "please post RMI Code to invoce server in one syst and client resides in another system in netbeans" Watch "please post RMI Code to invoce server in one syst and client resides in another system in netbeans" New topic
Author

please post RMI Code to invoce server in one syst and client resides in another system in netbeans

uday babu
Greenhorn

Joined: Sep 18, 2013
Posts: 4
Please anybody post RMI source Code to invoce distributed server method which resides in one system from client code which resides in another system by using netbeans IDE
Ahsan Bagwan
Ranch Hand

Joined: Oct 05, 2010
Posts: 158
You are likely to get help here when you also include what you have actually done. Read NotACodeMill
uday babu
Greenhorn

Joined: Sep 18, 2013
Posts: 4
Actually iam new to RMI and i follow web tutorials they all are perform in single machine to get result i mean they are done all things like interface implementation and server implementation and client implementation in single machine but i want to make it split client and server work in both different systems in netbeans
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

It makes almost no difference whether the two code bases run on the same machine or not. Somewhere in the code (or maybe the configuration) will be one line which tells the client where to find the server; this is all you have to change.

And I would like to contradict one thing you said: No, you don't want to make it work in two systems in NetBeans. That's because NetBeans is a development tool. In real life you will want the applications to run on their own. NetBeans won't be there.
 
 
subject: please post RMI Code to invoce server in one syst and client resides in another system in netbeans