rpc

Are twisted RPCs guaranteed to arrive in order?

I'm using twisted to implement a client and a server. I've set up RPC between the client and the server. So on the client I do protocol.REQUEST_UPDATE_STATS(stats), which translates into sending a message with transport.write on the client transport that is some encoded version of ["update_stats", stats]. When the server receives this me...

GWT - Return object after file upload from FormPanel?

I'm uploading a file using FileUpload and a FormPanel, on the server I generate a List using the data from the uploaded file. The problem is that I need to display this List on the client, but I can't find a way to serialize it using GWT's serialization in a normal HttpServlet. Only in RemoteServiceServlets which can't process a FormPane...

PHP library for native GWT RPC

I can't find solution for parsing GWT RPC request with PHP. Request has strange format. I need find specifications for that format (parsing and expected response) or working server-side PHP library. Sample of GWT request: 5|0|5|http://tracker/gwt/war/trackingsystem/|6F50E78F07D452C741455B0CA20F764D|client.rpc.RPCApiInterface|getIssu...

RPC w/ PHP - agnostic to transport mechanism

For a recent project, I have a PHP script running as a CLI-based daemon. This daemon will be responsible for monitoring/controlling independent worker processes. Periodically, users will issue requests to manage workers through a PHP web front-end (CLI daemon and front-end code are on the same physical server). The front-end will need t...

Possible channels of communication between Javascript on HTML page and a windows EXE ?

Hi all Here's the thing. A two-way communication (RPC-style) is needed between Javascript on HTML pages provided by a web server online (with session-management and whatnot) and a windows EXE application running on the PC of the website visitor. Both are parts of the same 'package' and should be able to communicate. There is the us...

Should I use CORBA, MessagePack RPC or Thrift, or something else entirely?

I'm writing software for a new hardware device which I want any kind of new third-party application to be able to access if they want to. The software will be a native process (C++) that should be pollable by 3rd party games and applications that want to support the hardware device. Those 3rd party apps should also be able to receive ev...

GWT+Java: Globals, Singletons, and Headaches.

So here's my project: I am building a central interface/dashboard to present the test data for several test types of multiple product versions. We're using TestNG on our massive product, and while not enough tests are being written, that's a discussion for another topic. Here's what the directory structure looks like: Filesystem/prod...

What protocols are available for performing remote operations from within Silverlight?

Hi All, I have a Silverlight app which currently uses a WCF to interact with the back-end. For some reason, the asynchronous calls occasionally (in fact semi frequently) vanish into thin air. We've yet to set up tracing or logging, however I've 'synchronized' some of the more critical calls with some cheap hacks and that seems to have...

What public APIs are provided by Governments to the public?

I stumbled across NOAA's SOAP Service and it got me thinking. What other eGovernment services are provided to Business and the general public by Governments? I know the United States has a lot APIs, but what about other governments like the European Union. I am interested in not just SOAP but any Remote Procedure Call (RPC) service ...

Function Names for sending and receiving RPCs?

I'm using twisted. I have my protocols set up so that, to send an RPC, I do protocol.send("update_status", data). To document which RPCs I've implemented, I make a separate function call for each one, so in this case I'd call REQUEST_UPDATE_STATUS(data) to send that RPC. When a protocol receives an RPC, a function gets called based on it...

Why does an RPC call fail in a C programm called from Groovy on Linux?

We have a program, written in C, that uses RPC to communicate with another program (also written in C) on the same Linux server (in some production setups, the second C program would on another machine, therefore RPC instead of IPC). When called from other C programs, CRON or the command line, it works as expected and has been doing so ...

SunRPC enable one way messaging (streaming / batching?)

We have some services utilizing SunRPC on Linux (RHEL 4/5) that we'd like to speed up. Our RPC call require no return value, though by the nature of RPC, an ack is always sent anyway. This introduces latency that's recently become a problem - when run over a reliable transport (TCP), we'd hope to avoid the latency introduced by the RPC ...

Communicating with Windows Process via RPC from a Java application

I'm looking to communicate with a windows process via RPC. The application I want to communicate with is developed in C++ using Visual Studio 2008. The application provides its interface through an idl file which is then compiled using the microsoft midl tool. This application is already developed and cannot be modified. I'm looking to ...

RPC frameworks available?

I am looking to use a RPC framework for internal use. The framework has to be cross language. I am exploring Apache Thrift right now. Google protocol Buffers does not provide RPC capabilities exactly. What are the choices I have got apart from Thrift. (my servers will be primarily Java and the clients will be Java, Python, PHP). ...

Design pattern for multiple consumers and a single data source.

I am designing a web interface to a certain hardware appliance that provides its own custom API. Said web interface can manage multiple appliances at once. The data is retrieved from appliance through polling with the custom API so it'd be preferable to make it asynchronous. The most obvious thing is to have a poller thread that polls ...

Why is RPC over HTTP a secutity problem?

I am currently reading on Web Services. There is a SOAP tutorial at http://www.w3schools.com/soap/soap_intro.asp . The following paragraph is from that page: "Today's applications communicate using Remote Procedure Calls (RPC) between objects like DCOM and CORBA, but HTTP was not designed for this. RPC represents a compatibility and ...

Messaging Middleware Vs RPC and Distributed Databases

Hi All I would like to know your opinions on advantages and disadvantages of using Messaging Middleware Vs RPC and Distributed Databases in a distributed application? Thanks ...

How do I ask for information from another Android application?

Hi. I need third party applications ("Foo") to get information from my application ("Bar"), but my solution so far seems cumbersome: Application Foo needs information from Bar and sends a broadcast ("bar.POLL"). Application Bar listens for this broadcast, and replies with another broadcast ("bar.PUSH"); Foo listens for bar.PUSH and re...

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 handle all my rpc's onFailure events for redirecting to login page ?!!!! Thanks ...

how to implement RPC Mechanism using RabbitMQ in java

Hi all how to implement RPC Mechanism(both producer and consumer) using RabbitMQ in java?i am also visit official site http://www.rabbitmq.com/api-guide.html#rpc but i am getting detail description about this things. Thanks ...