all groups > dotnet remoting > april 2007 >
You're in the

dotnet remoting

group:

RMI Application


RMI Application Ghada Ayed via DotNetMonster.com
4/10/2007 12:00:00 AM
dotnet remoting:
Hi all,

can anybody give me a simple steps to run a java RMI application. The
application is simple a client and server. The client invoke a computation
method on the server and return the result. When I run the server I get an
exception that the "Class Definition is not found" which is the definition of
the remote interface class. Even I put it in the directory from which the
server will download the code.

Thanx

--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-remoting/200704/1
Re: RMI Application UnreferencedObject
4/16/2007 4:44:41 AM
well ... I don't know so much about java RMI ... it is a long time since I used ... but insteade of using RMI, you can simulate that using socket programming ... you can build a client-server application with (let's say) a simple customized protocol so that the client sends the fucntion name, and its parameters in a serialize object ... then the server reviece the client request and return the result back ...

hope it will help you ...

RE: RMI Application UnreferencedObject
4/16/2007 4:46:38 AM
well ... I don't know so much about java RMI ... it is a long time since I used ... but insteade of using RMI, you can simulate that using socket programming ... you can build a client-server application with (let's say) a simple customized protocol so that the client sends the fucntion name, and its parameters in a serialize object ... then the server reviece the client request and return the result back ...

hope it will help you ...



From http://developmentnow.com/g/24_2007_4_0_0_955745/RMI-Application.htm

Posted via DevelopmentNow.com Groups
RE: RMI Application ghadaayed via DotNetMonster.com
4/16/2007 5:43:19 PM
[quoted text, click to view]

Thanks too much.

I have run the application successfully, I was looking for steps that I can
fully understand, it was just a matter of time to find my own approach.

--
Message posted via http://www.dotnetmonster.com
Re: RMI Application Peter Bradley
4/17/2007 3:01:11 PM
It's a heck of a long time since I did Java RMI programming, but I seem to
remember that you had to run a server that provided a directory service
(Java Directory Services??) for locating the required object(s). Something
I read recently suggested that this was now a part of the Java application
server (Sun AppServer/JBoss or whatever) in newer versions of Java.

But I may have misunderstood. I wasn't paying much attention.


Peter

[quoted text, click to view]

AddThis Social Bookmark Button