Skip to main content

All Questions

Tagged with
1 vote
1 answer
96 views

Make a callback with JAVA RMI

I am currently implementing a kind of bag of tasks using Java RMI. The goal is for a "Client" to submit "Task" objects to a "Server," and on the other hand, I have "...
nicolasCDT's user avatar
0 votes
1 answer
338 views

How to do a session pattern with callbacks?

I know how to do a session pattern without callbacks like here How to organize RMI Client-Server architecture. But i don't know how to do one with callbacks. Do I need another session object for the ...
Mark's user avatar
  • 2,217
4 votes
1 answer
2k views

Get results from JMeter remote test in Java

I´m trying to run JMeter tests directly from my Java code. The load should be produced via a JMeter server. In the code, I use a ClientJMeterEngine instance that connects to the JMeter daemon running ...
Patze's user avatar
  • 307
1 vote
1 answer
4k views

JAVA: RMI Callback -> object already exported

this is my first question, so sorry if i'll make it incorrect and for my english. I have to do a distributed-hangman project in java, there are guests, players and masters (more matches). When a user(...
ghiltanas's user avatar
  • 147
2 votes
1 answer
4k views

no such object in table exception with Java RMI callback

I'm trying to get callbacks working in Java using RMI. I have a server running on AWS. My client succesfully connects to the server and registers the callback. However, while trying to call it I get ...
Michał Glapa's user avatar
-1 votes
1 answer
285 views

Registration program based on RMI with callbacks

I have to make a program with the following requirements: Build a Client/Server application based on RMI with the following characteristics: The application is structured in 3 different projects: ...
Claudiu Razlet's user avatar
0 votes
1 answer
864 views

Having trouble coding RMI client callback from server - UnmarshalException ClassNotFoundException

I will try to keep this post as small as possible so I will add more information and code if requested. Scenario: I am writing a server/client application to track some of our processes here in the ...
Paulo Pedroso's user avatar
0 votes
1 answer
828 views

What port numbers for Spring-RMI-Callback

I am working on an application built upon a spring 2.0 stack with a rich client connecting to a server through RMI. The server is listening for incoming connections on an RMI registry which port has ...
dotvav's user avatar
  • 2,838
0 votes
1 answer
597 views

Pooling data from server using RMI and springs

I am new to RMI and springs and need a little help with a feature we are implementing. We are creating chat software with java and want to use RMI with springs. I can setup a client server ...
Decrypter's user avatar
  • 2,910
1 vote
1 answer
5k views

Java RMI Exception creating connection when used on != machines

I've been struggling with a RMI problem for a couple of hours now. Its a pretty stupid example for now that only works when I launch the both the client & server on the same computer. As soon as I ...
Cuva's user avatar
  • 335
6 votes
1 answer
18k views

Simple RMI Callback Example

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 my ...
BinaryShrub's user avatar
3 votes
1 answer
456 views

How do I properly mimic pass-by-reference in Java RMI with serializable objects and a callback method?

I have a distributed application using java RMI and a main object(CoreApplication) that implements java.io.Serializable. Every minute, this main object is sent to a remote computer and processed on ...
Submerged's user avatar
  • 666
3 votes
3 answers
4k views

spring two-way rmi callback from server executing on client side

On the server-side I have a ListenerManager which fires callbacks to its Listeners. The manager is exported using a Spring RmiServiceExporter On the client-side I have a proxy to the manager created ...
Joe Kearney's user avatar
  • 7,457
1 vote
1 answer
6k views

Java RMI timeout in callback

We are using Java RMI for communication. An RMI client passes a processing request and an object with a callback method to an RMI server. The server invokes the callback when it is done with ...
sakra's user avatar
  • 64.5k
0 votes
2 answers
3k views

Spring Async RMI Call

Is it possible to invoke Java RMI asynchronously? I'd like my RMI call to return immediately and for the server to invoke a callback once a task is completed. I'd currently using RMI support from ...
Anthony S.'s user avatar

15 30 50 per page