rmi Questions

4

Solved

Why do people use RMI, or when should I use RMI? I read those tutorials about RMI on oracle's website. But it doesn't provide enough practical examples. To my understanding, software should h...
Curvaceous asked 14/1, 2013 at 21:22

3

Solved

I am interested to implement some processes that span over machines i.e. form a distributed program. It is the functionality that these processes provide that I want to distribute and not data. So ...
Jaeger asked 12/1, 2013 at 20:5

1

Solved

I trying to make simple java profiler and using ClassLoader for this. This is my implementation of ClassLoader: import java.rmi.RemoteException; import java.rmi.registry.LocateRegistry; import ja...
Parulis asked 24/12, 2012 at 18:52

2

What are the advantages and disadvantages of RMI?
Noonan asked 26/2, 2010 at 6:25

2

Solved

We are implementing a sever-client architecture and some of the client apps are supposed to run on android OS. The first idea that came to mind was to use java RMI, but the RMI api is obviously not...
Locris asked 5/11, 2010 at 22:28

4

Solved

I have a client that starts a long running process on the server. At regular intervals, I'd like to show the user what's happening in the background. The most simple approach is to poll the server ...
Interdiction asked 27/7, 2009 at 12:6

8

Solved

I want to share some information between two classes (A and B), which are running in different java programs. Instead of writing a whole communication protocol I want to use the java build-in rmi c...
Prostitute asked 26/5, 2009 at 17:46

8

I'm looking for suggestions regarding RPC libraries implemented in C++, for C++ developers. Some requirements constraints: Should work on both linux/unix and win32 systems Be able to execu...
Basic asked 4/12, 2010 at 5:34

1

Been following this tutorial on RMI for Java, trying to translate it to Scala. Instead of interface I use trait, and I annotate methods to indicate the throwing of the RemoteException. Got everyth...
Locomobile asked 3/10, 2012 at 6:35

1

Solved

I use rmi in Java. however there is a ExportException "remote object implements illegal remote interface". Here is my code, May someone help me? public interface RemotePeer extends Remote { pub...
Conic asked 29/9, 2012 at 17:40

1

Can someone give a simple RMI Callback Example of Hello World? I have been trying to research it but I cant seem to find one that I understand. I don't understand what a callback is/does. This is ...
Kletter asked 3/5, 2012 at 18:38

5

Solved

I have a problem using java rmi: When I'm trying to run my server, I get a connectException (see below). Exception happens when executing the rebind method: Runtime.getRuntime().exec("rmiregistr...
Necrology asked 1/12, 2009 at 0:26

3

Solved

I have read various articles about passing variables around using RMI. Some of them say that it is impossible to pass variables by references in RMI. e.g.: this one and this one While others say...
Lento asked 25/6, 2012 at 10:26

2

Solved

I'm working on a distributed system which is RMI based using jdk1.6. Occasionally I can see ConcurrentModificationException errors on that thread happening within the RMI runtime when it fails to ...
Teddy asked 6/6, 2012 at 11:42

1

Solved

Im currently learning about RMI. I dont really understand the concept of the codebase. Every paper i read suggests, that the client, which calls the Remote object can load the Method definitions f...
Hixon asked 5/5, 2012 at 19:35

3

Solved

This might sound similar to this, but it's not. I kind of understand EJB and RMI, and I have been working with web services under SOA for a while. I want to know why is useful to work using EJB ex...
Additory asked 17/4, 2012 at 20:2

4

Solved

We're doing some prototyping work and we're wondering if it is possible to interrupt a thread that performed an RMI call. If we call interrupt() on this thread, would it throw an InterruptedExcepti...
Routh asked 28/2, 2011 at 10:16

2

Solved

I am running Jconsole on my macbook and trying to connect to a linux terminal on ec2 that does not have graphics(only command line access). I run my code like this: java -jar program.jar -Dcom.su...
Honebein asked 2/4, 2012 at 23:39

1

Solved

I am creating my first, very simple RMI client-server application. Here is the code: Interface "ICommunication" package itu.exercies.RMI.server; import java.rmi.Remote; import java.rmi.Remot...
Angellaangelle asked 8/3, 2012 at 15:34

3

Solved

In RMI, I can only get return value by InetSocketAddress address = new InetSocketAddress(hostname, port); Server server = Stub.create(Server.class, address); int return = server.getValue(); But...
Space asked 28/2, 2012 at 17:7

1

Solved

I'd like to be able to restrict the ports used by my application to some small-as-possible known set. The application uses Java RMI to communicate with a remote server. The registry is exported on ...
Allotment asked 20/2, 2012 at 18:15

2

Solved

To make a long story short, I'm having trouble getting a couple of Java RMI's non-daemon threads to close out after my application no longer needs RMI. This prevents the JVM from exiting when main(...
Infidelity asked 21/2, 2012 at 23:57

4

Solved

I'm coding an application that requires remote binding, i.e., bind a remote object to a remote registry. By default, Java RMI Registry only binds locally, only remote objects that are binded in the...
Lection asked 18/1, 2012 at 0:13

1

What is the relay in RMI ? I have been googling around for the call sequences but haven't got any satisfactory results. I am unable to understand the role of a stub on both client and server ...
Anthropophagi asked 21/12, 2011 at 6:2

1

Solved

I have to send through the network a complex object which references are almost all of them Null, but I wonder about the size of this object with this null references inside. Which is the size of...
Daren asked 5/12, 2011 at 10:16

© 2022 - 2024 — McMap. All rights reserved.