views:

528

answers:

4

Does anyone know of a sample distributed application (.NET or J2EE) using RMI or Web Services?

+1  A: 

As often, Sun has an excellent tutorial on RMI: http://java.sun.com/docs/books/tutorial/rmi/index.html

Carra
that's a good example. for tutorial purposes, though, you can skip running the registry from the os (here under "starting the server") and just use createRegistry() instead of getRegistry() on the server's side.
Amir Arad
+1  A: 

A RMI example: link

A Web Service example: link

Hope it helps

Shimi Bandiel
A: 

Here's a simple solution:

BEA Weblogic has a sample web application called MedRec that I've been using for a while. This sample comes with a .NET client built in called CSharpClient that connects to MedRec via Web Services. I was thrilled that I didn't need to install anything else.

In Weblogic 10 the client can be found in the folder "bea\wlserver_10.0\samples\server\medrec\src\clients\CSharpClient".

Jonathan
A: 

Another powerful bare bone working RMI example that loads dynamic objects from the client to server and execute it there then return the results. This can easily expanded for full featured distributed computing environment.

http://www.ningzhang.info/example.java.rmi.ComputeEngine

Ning120