8 Topics

Member Avatar for
Member Avatar for Ralphael
Member Avatar for Tinnin

Hi All, I'm running through "Head First Java" and I'm hitting a snag with an exercise involving RMI. My Classes ---- package myremoteimpl; import java.rmi.*; import java.rmi.server.*; /** * * @author Michael */ public class MyRemoteImpl extends UnicastRemoteObject implements MyRemote { public String sayHello() { return "Server says, 'Hey'"; } …

Member Avatar for Tinnin
0
4K
Member Avatar for murali2489

Dear All, I am trying to understand RMI Concept and have tried the sample steps and programs written in Oracle website [http://docs.oracle.com/javase/tutorial/rmi/compiling.html](null) In this URL they have mentioned to run the command as below javac -cp c:\home\jones\public_html\classes\compute.jar client\ComputePi.java client\Pi.java mkdir c:\home\jones\public_html\classes\client cp client\Pi.class c:\home\jones\public_html\classes\client I have tried the exact command …

Member Avatar for murali2489
0
277
Member Avatar for murali2489

Dear All, I have studied in my book that after compiling the RMI server it will produce two Class files RMIServer_Skel.class RMIServer_Stub.class But I have succesfully ran the RMI server and made the client connection, but i could not find any Stub or Skeleton files in my workspace. Why is …

Member Avatar for murali2489
0
193
Member Avatar for jakubee

Hi everyone, I'm doing a RMI chat application for my client-server distributing programming module. I have stuck nearly at the very end of it. What I doing is: running the server. running the the UI, connecting to the server. Loging as user1. sending the priv messagae to other user. Replaying …

Member Avatar for JamesCherrill
0
246
Member Avatar for jeffrey o

when i compiple this using rmiregistry, javac for HelloServer2 and HelloClient it says: I've attached all files as well java.rmi.NotBoundException: ReceiveMessageInterface <<No stacktrace available>> [CODE] import java.rmi.*; import java.rmi.registry.*; import java.rmi.server.*; import java.net.*; import java.util.Random; public class HelloServer2 extends java.rmi.server.UnicastRemoteObject implements ReceiveMessageInterface { String address; Registry registry; int a[]=new int[6]; …

0
136
Member Avatar for manish250

hi all i have start working on java rmi currently.i using this tutorial to write my first java rmi program. [url]http://www.javacoffeebreak.com/articles/javarmi/javarmi.html[/url] i started the rmiregistry.then i compile server file and generate the stub file using rmic.Now when i am running the server using java command it is giving following exception …

Member Avatar for ~s.o.s~
0
251
Member Avatar for ronnieaka

my teacher gave us this basic example of rmi the interface, server and client programs are given in order though i know that in server side there is no bind() statement and in client a proper lookup(),and no import of registry package in server program,cause i googled up and saw …

0
74

The End.