• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 254
1
MySQL Database Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are likely to get help here when you also include what you have actually done. Read NotACodeMill
 
uday babu
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic