Questions tagged [rmi]

Remote Method Invocation (RMI) is Java's object-oriented remote procedure call (RPC) mechanism.

Java's Remote Method Invocation (RMI) is the standard object-oriented RPC mechanism in all versions of Java. RMI is built upon the Java platform's object serialization mechanism, provides a simple naming service, and provides a distributed garbage collection (DGC) mechanism.

There are at least three RMI protocols: JRMP: Java Remote Method Protocol, built into the JDK; RMI/IIOP: Internet Inter-Orb Protocol, from CORBA, built into the JDK; and JERI: Java Extensible Remote Invocation, which was the subject of two rejected JSRs and eventually appeared in Jini 2.0, whose main purpose was to greatly improve several aspects of secure RMI. RMI/IIOP is the standard protocol for J2EE, although various J2EE vendors have their own protocols as well.

2607 questions
0
votes
1 answer

How to set client local endpoint - Java RMI

So I have a very basic client-server program running on my local lan network. The program consists in the server being a permanent listener, adding every client who connects to his ip to a list of observers and updating them every 5 seconds (Client…
0
votes
2 answers

how can I get all the mbeans about weblogic?

When I use jconsole to access weblogic's mbean,I just can get some info about jvm like 'java.lang'.But what I want to get is about 'jdbc','jta','ejb','servlet'... I wonder if I can get these indicators through…
trgbishi
  • 55
  • 1
  • 2
  • 10
0
votes
1 answer

RMI Service run similar to sockets

So if I have a socket server, I can accept each socket and pass it to a executory while(true){ Socket conn = socketServ.accept(); Runnable task = new Runnable() { @Override public void run() { …
billybob2
  • 681
  • 1
  • 8
  • 17
0
votes
1 answer

what kind of service do we need to update two remote object in one operation

Two remote objects are related and should be updated in one operation. What kind of service do you need for this if you assume that both objects can be on different systems and that multiple operations can happen concurrently?
0
votes
1 answer

Java RMI object location in memory

I have an RMI server client relationship (each running in a different JVM), and the RMI server creates a large object and returns it to the RMI client. After this is done which JVM (server or client) owns the actual memory for that object? If the…
Jon
  • 3,985
  • 7
  • 48
  • 80
0
votes
0 answers

How to run Spring RMI Server?

I get the error when trying to run the rmi spring server. 16 Apr 2019 16:48:16,318 DEBUG org.springframework.remoting.rmi.RmiServiceExporter 394 getRegistry - Looking for RMI registry at port '1099' 16 Apr 2019 16:48:17,588 TRACE…
Mary
  • 103
  • 2
  • 11
0
votes
0 answers

Internal communication into JVM

I have 2 war packages which use one JVM. Is there some internal JVM facility similar to IPC/FIFO in Linux which I can use to send signals. In this case I prefer not to use sockets for security reasons. Communication will be only internal.
Peter Penzov
  • 1,126
  • 134
  • 430
  • 808
0
votes
1 answer

Rmi UnmarshalException: error unmarshalling return

I work on two projects. one implementing the micro services using spring boot and the other the client in javaSE. on the server side I implement an RMI service that I export with RmiServiceExporter. client rating I invoke the service and when I call…
Bayless
  • 1
  • 5
0
votes
1 answer

java.lang.ClassNotFoundException: No ClassLoaders found for: > org.jboss.jms.client.JBossConnectionFactory

I am trying to configure jms setup between two servers. The sender is on (server A)jboss 5 and the receiver is on (server B)jboss 4(which is using remote queue from server A. When i try to run both on jboss 5 or jboss 4, it works. But when the…
Ashok
  • 1
  • 3
0
votes
1 answer

How to setup Java RMI RMI connection between docker containers in different hosts

I have the a docker container (Name CON1) running in the host A, this container is a java RMI server listening on port 1099. I also have another the container (Name CON2) running a java RMI client in the host B. When I telnet CON1 from CON2 using…
RDV
  • 193
  • 1
  • 3
  • 16
0
votes
1 answer

NotBoundException when I'm trying to connect with RMI server

I try to launch this app using RMI client-server. Firstly, I ran it and had the error "Connection refused to host: localhost". After that I went go system32/drivers/etc/hosts and fix it, added line: 127.0.0.1 localhost It wasn't led me to problem…
msn013
  • 103
  • 9
0
votes
1 answer

How can I send an Exception from Server to a Client (I am using T.C.P. socket) ,should i use RMI or is there any other way?

I have been tasked to create a server which emulates a calculator and which on encountering an operation other than '+','-','*' & '/' throws an Exception to the client. but I can't figure out how to send the Exception generated in the Server to the…
0
votes
0 answers

How to use Java RMI with Dynamic Class Loading through HTTP Server?

i'm trying to implement a basic distributed application using the Java RMI framework. Implementing it locally, I can do it, but when I want to manage dynamic class loading remotely, by loading the respective .class files of the classes on an HTTP…
awesomex35
  • 11
  • 1
0
votes
1 answer

Can I develop RMI solutions for the blackberry?

I would like to develop a RMI-based application on my blackberry. But I notice some of the key remoting types (like UnicastRemoteObject and java.rmi.registry.*) aren't defined. Is there a way around this, for example like some other library I can…
Irwin
  • 12,551
  • 11
  • 67
  • 97
0
votes
1 answer

Make a single player game into a multiplayer game

I have a game - Asteroids - that is currently only a single player game. What I want to do is to have 2 players be able to play at the same time by competing in how many Asteroids they can shoot. Rather then each taking turns, I want them both to…
faboys
  • 57
  • 1
  • 1
  • 8
1 2 3
99
100