• 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

How can i display a message at the Server using Java RMI

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am new to Java RMI and have very basic knowledge of that.

I want to write a program which uses the Java RMI to display a message at the Server.

Please provide some pointers.

Thanks.

 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's a pretty vague requirement. Let's skip over the obvious questions like what does "display" mean and just talk about generalities, then.

As you know, RMI stands for "Remote Method Invocation". So that would mean you would write a class containing a method which displays the message, whatever that might involve, and then you would invoke it remotely. Just like you would invoke any other RMI method.

Does that help? Or do you actually have a question like "How do I invoke an RMI method?" or "How do I display a message on a server?"
 
reply
    Bookmark Topic Watch Topic
  • New Topic