a remote procedure call (RPC) is a form of inter-process communication (IPC)
Questions tagged [rpc]
2527 questions
12
votes
5 answers
Communication between Python and C#
I have a Python backend running machine learning algorithms. I want to use the same backend for both an Excel plugin (C#) and a website. I want both interfaces to send my training data (thousands of lines of numbers in arrays) to the same Python…

Vincent L
- 699
- 2
- 11
- 25
12
votes
2 answers
JBoss 7.0 - GWT - Exception while dispatching incoming RPC call
I am currently migrating GWT apps from JBoss 5.1 to JBoss 7.0 EAP server.
I have bundled gwt-servlet.jar in the war deployed to server
I am getting the below error.
05:11:49,068 ERROR [io.undertow.servlet] (default task-5) Exception while…

Karthik
- 1,302
- 5
- 25
- 56
12
votes
8 answers
How to redirect to login page after session expire in GWT RPC call
I am using GWT and RPC in my app. after session expires when I do a RPC call, because of my login-filter the request redirect to login.jsp, but my problem is client doen't show me login.jsp instead the RPC's onFailure raised.
It means I should…

Nav
- 4,450
- 10
- 53
- 84
12
votes
3 answers
Error:1722 Getting session names
I am trying to check if anybody is connected to the server in my team with the following command: query session /server:. But Every time I end up getting the following error:
Error:1722 getting session names.
Error[1722]: The RPC sever…

Ninja
- 331
- 1
- 3
- 16
12
votes
2 answers
RPC over STOMP using Spring, and correctly handling server side errors propagated to clients
I need to implement RPC over STOMP, where the client runs with javascript in a browser, and the server side is implemented using Spring messaging capabilities.
While using @MessageMapping is fine for normal messaging, I find using @SendToUser quite…

Alessandro Polverini
- 2,301
- 19
- 29
12
votes
2 answers
Is it appropriate to use message queues for synchronous rpc calls via ajax
I have a web application that uses the jquery autocomplete plugin, which essentially sends via ajax a request containing text that has been typed into a textbox to our web server, once the web server receives this request, it is then handed off to…

nickbw
- 463
- 1
- 4
- 12
12
votes
3 answers
How can I call a GWT RPC method on a server from a non GWT (but Java) gapplication?
I have a regular Java application and want to access an GWT RPC endpoint. Any idea how to make this happen? My GWT application is on a GAE/J and I could use REST for example but I already have the GWT RPC endpoints and don't want to build another…

hansi
- 11
- 2
- 4
11
votes
3 answers
Should I RESTify my RPC calls over HTTP?
We have HTTP webservices that are RPC. They return XML representing the object the either retrieved or created. I want to know the advantages (if any) of "restifying" the services.
POST http://www.example.com/createDoodad
GET…

Mike Pone
- 18,705
- 13
- 53
- 68
11
votes
3 answers
Forging a stack trace in Java
When you use RMI in Java the remote stack trace of an exception will be prepended when you receive it, somewhat like this:
ERROR Client received error when doing stuff:
myapp.FooBarException: bla
at server.myMethod()
at rmi.callHandler() // and…

Bart van Heukelom
- 43,244
- 59
- 186
- 301
11
votes
3 answers
Problem with gRPC setup. Getting an intermittent RPC unavailable error
I have a grpc server and client that works as expected most of the time, but do get a "transport is closing" error occasionally:
rpc error: code = Unavailable desc = transport is closing
I'm wondering if it's a problem with my setup. The client is…

harumphfrog
- 187
- 1
- 1
- 7
11
votes
1 answer
Websockets Notification- / Chat- System
I've read a lot about websockets and already implemented them within my system. This question is about how to use them properly. I want to implement a notification and a chat system the right way.
For notifications, I have the channel…

user3746259
- 1,491
- 2
- 23
- 46
11
votes
3 answers
Creating a queue per remote method when using RabbitMQ?
Let's just accept for a moment that it is not a horrible idea to implement RPC over message queues (like RabbitMQ) -- sometimes it might be necessary when interfacing with legacy systems.
In case of RPC over RabbitMQ, clients send a message to the…

Mate Varga
- 3,144
- 2
- 14
- 17
11
votes
4 answers
Sun RPC: transferring binary files
I want to transfer binary files to remote server. I am using SUN/ONC RPC (rpcgen on Linux) for my code. I am using C. I have written code for server and client and it works for text files, but when I try to transfer binary files it says the file is…

Madhusudan.C.S
- 831
- 1
- 7
- 19
11
votes
3 answers
What are the alternatives to ZeroMQ for moving protocol buffer payloads around?
At the moment I have a solution that uses ZeroMQ to exchange protocol buffer payloads.
The protocol buffer method of serialization is bound to stay as it is, but I can replace ZMQ with a more convenient option.
The things I am not happy about in…

mahonya
- 9,247
- 7
- 39
- 68
10
votes
3 answers
Session management in gwt
I am using GWT for my client side application. However, I am not sure how I can handle session management. The GWT application resides on one page, all server calls are done via AJAX. If a session expires on the server. let's assume the user didn't…

DonX
- 16,093
- 21
- 75
- 120