Most voted "rmi" questions
20 questions
Sort by count of
-
5
votes1
answer486
viewsjavax.persistence.Persistenceexception (no security manager: RMI class Loader disabled)
I created a policy file that gives permission for my machine to run both the client and the server, I also passed the ports to them. Inside the server I prompt RMI Security (since if I remove it the…
-
4
votes1
answer3441
viewsError creating Java Virtual Machine
I was running an rmi application on Eclipse Luna and appeared the following message : "Could not create the Java Virtual Machine. A fatal exception has occurred. Program will closed.". The operating…
-
3
votes1
answer567
viewsWhat is the difference between RMI and JRMP?
I only know the MRI... JRMP is just a different way of calling the RMI or is another protocol? If JRMP is another protocol, what is the difference with the RMI?
-
3
votes0
answers216
viewsRmiregistry not found
I am programming a simple system, using RMI, to train programming. However I found some problems when creating the file .batch receiving the message on the windows terminal 'rmiregistry' is not…
-
2
votes1
answer107
viewsDoubt RMI and JNDI
Talk to you guys!, currently I started studying RMI (Remote Method Invocation) with JNDI (Java Naming and Directory Interface). Briefly, from what I have learned so far is that the RMI technology is…
-
2
votes1
answer73
viewsTesting RMI with Junit
How to test a client/server application using RMI with Junit? I’ve searched a plethora of places and found nothing to help me.
-
2
votes1
answer466
viewsRMI equivalence (Java) in C#
What is the equivalence of RMI (Remote Method Invocation - Java) in C#?
-
2
votes0
answers545
viewsHelp with java RMI, how to use the rebind method and lookup with the client class?
I’m doing a job in college where I feel lost. I don’t know how to indicate the server with the method rebind and make lookup with the customer class. I wish you could look at the code I’m writing to…
-
2
votes3
answers404
views -
1
votes1
answer143
viewsProblems connecting to an RMI server
On the server RMI I have the following settings: Registry r = LocateRegistry.createRegistry(rmiport); r.rebind(rminame, h); System.out.println("Servidor RMI pronto:"); where, rmiport = 7000 and…
-
1
votes0
answers61
viewsError when registering an RMI Service
I have the following Class representing a service: public class HelloImpl extends UnicastRemoteObject implements Hello { protected HelloImpl() throws RemoteException { super(); } @Override public…
-
1
votes1
answer330
viewsRMI application works localhost, but gives error when placing Server IP
If I run the code snippet as it is below in my application, it works: public static void main(String args[]){ try { final InterfaceTrilha interfaceServer = (InterfaceTrilha)…
-
1
votes0
answers42
viewsCustomer asking the same amount 2 times
I am making a distributed system, and the customer is asking for the same amount several times. Follows class Cliente: import java.awt.HeadlessException; import java.rmi.Naming; import…
-
1
votes0
answers1274
views -
1
votes0
answers78
viewsHow to return when finished/keep record of the remaining time (Timer/Schedulel)?
So, I’m developing a project for a game that uses RMI (client/server) and needed to manage the timeout of players' plays. For example, if a player takes more than a minute to make his or her move,…
-
1
votes0
answers73
viewsMethods call using RMI in JAVA
I’m starting to work with remote procedures in JAVA and I’m having trouble calling methods in sequence. In the code below, when I invoke the sayHello() method through the stub, the code works…
-
0
votes1
answer161
viewsAndroid supports RMI?
The Android supports the Java rmi? I’m developing on the platform Android 4.0. If supported, please. Please report a report or tutorial on how to do this communication?…
-
0
votes0
answers80
viewsAdd boats dynamically to the board
I’m developing an MRI application that simulates the game of naval battle. My code for now dynamically generating the board and automatically positioning the ships on the board, my doubt is how do I…
-
0
votes1
answer156
viewsOrganize message from Thread
good night. I need your help in something kind of simple, I’m doing a chat via RMI, the implementation of the program is already working less as I want, but I’m breaking my head in a simple print. I…
-
0
votes1
answer104
viewsDynamically create board
I am solving a problem using RMI of a naval battle, I need to generate the board dynamically according to the user’s need, this code I took from a video and I am adapting as requested in the…