rmi

remote methode invocation for c

Is there any equivalent middleware for c like rmi for java or .net for c#? ...

java.rmi.ServerError: java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/JasperPrint

Hey, I have a problem with running my server application which registers itself in rmi registry. In Remote interface I have method which returns JasperPrint. The exception is thrown when server calls: server = (Server)UnicastRemoteObject.exportObject(server, 0); Registry registry = LocateRegistry.getRegistry(); registry.rebind("server"...

How to serialize ByteBuffer

Hi everyone, I wish to send a java.nio.ByteBuffer accross a network using RMI, however ByteBuffer isn't serializable. I've tried the following custom class to no avail: public class NetByteBuffer implements java.io.Serializable { ByteBuffer buffer; public NetByteBuffer(ByteBuffer buffer) { this.buffer = buffer; } public ByteBuff...

How to address this RMI Extensive Usage scenario?

Dear Experts, I am working on a distributed animation of moving BALLS with RMI. My goal is to move multiple balls in a way, so that multiple clients observe the same movement/position of balls, i m using ball object which is remote object. registering objects: public MyMultiRemoteBallServer() { try { RMIball[0] = new R...

RMI Binding Issue (from Windows RMI Server to Ubuntu RMI Registry)

Hello, I have an RMI Server which correctly binds to an RMI Registry when running on localhost (to demonstrate that things are setup correctly). The code which does this is: private void exposeTickHistoryRemoteProvider(TickHistoryRemoteInterface aTickHistoryServer) { if (System.getSecurityManager() == null) { Secur...

Running an RMIRegistry on a different host to RMIServers

Hello, Is this possible? (Assuming Java 6) A contrived/simplistic example to illustrate my point is: I have a well-defined RMI interface that will never change (a single JAR file, no template parameters) an RMIRegistry running on host X; RMI Services which registry.rebind() to it (RMIRegistry on host X) from host Y; and RMI clients w...