rpc

Parallel processing middleware

For relatively coarse-grained parallel processing (data transfers can be done in 100 Mbit Ethernet network), which middleware that is available for Windows and Linux do you consider best? CORBA? MPI1? MPI2? XML-RPC/SOA/WSDL? Custom network protocols? Java RPC? Python RPC? Others? ...

Is there a way to call server side Groovy object method from client side JavaScript code via AJAX?

There is DWR which satisfies my needs in Java. I'm interested if there is any Groovier way to do the same thing - with convention over configuration, dynamic method invokation, etc. ...

Why does NFS use UDP by default?

I'm sure there's some ancient legacy reason for it, but what is it? It seems like a service that's geared towards reliable data delivery. ...

Detect RPC connection loss from server-side on Windows

Is there any way to check the status of the RPC connection from the server-side? I am looking for a way to detect if the connection from the client is lost, be it client crash or other connectivity issues. ...

Can I have a cross-platform cross-technology solution?

Hi , We have an old application which has a FORTRAN API to be called from other applications. After some time they built a ( C ) wrapper for the FORTRAN API.Then I'm now building a c++ wrapper , with a little data handling , for the C API. So I'm thinking what is the best way of building an API that can be called from any programming ...

Which PHP RPC (XML or JSON) library have you successfully used?

Which PHP RPC (XML or JSON) library have you successfully used? I have done some research but haven't been able to find one library that stands out from the others. I've found the following: XML-RPC for PHP XML_RPC (PEAR) JSON-RPC PHP And a few others that either don't look very active or mature. ...

WMI erroring out after a while

I have an interesting/annoying problem with some VBScripts running on Windows 2003 Server (they run fine on XP). The scripts basically periodically call WMI objects to extract performance information and write it to a log file. It's started by Scheduled Tasks at 12:05 each morning and runs until midnight (or would if it didn't keep cras...

When you're using rpcgen, how does the caller find the callee?

This is what I understand of it: The .x file defines the interface and the parameters that are shared by the server and client. When you compile it with rpcgen, it generates the .h, _xdr.c, _clnt.c and _svc.c. The _clnt.c would be the stub and the _svc.c is the skelleton, right? I understand that they intermediate the communication bet...

XML RPC GUI for developers in Windows?

Is there something like this for Windows? If not, what is the easiest/quickest way to test an XML RPC? ...

"Already listening" when invoking an RPC call

I use Microsoft RPC for interprocess communications. I have an interface with a set of methods accepting a byte pipe as an "in" parameter (IDL description): [ uuid(ActualGuidHere), version(1.0), pointer_default(unique) ] interface IMyInterface { //other irrelevant methods here error_status_t rpcDoAction( [in] pipe...

Word Automation InvalidCastException RPC / COM Exception

Hello I'm developing word automation application and I'm facing serious issue with unexpected RPC/COM cast exception [System.InvalidCastException: Nie można rzutować obiektu modelu COM typu 'System.__ComObject' na typ interfejsu 'Microsoft.Office.Interop.Word._Application'. Ta operacja nie powiodła się, ponieważ wywołanie...

Are the chunk sizes in an HTTP response with "Transfer-Encoding: chunked", significant to protocols that sit on top of HTTP?

Does anything carried inside HTTP care about chunk sizes? Some sort of RPC protocol perhaps? EDIT: Here's the Wikipedia sample response Date: Mon, 30 Mar 2009 22:22:21 GMT HTTP/1.1 200 OK Content-Type: text/plain Transfer-Encoding: chunked 23 This is the data in the first chunk 1A and this is the second one 0 The response coul...

GWT with JPA

I'm trying to build database application using GWT 1.5.3. I use JPA annotations with my objects. It seems in hosted mode GWT's RPC works fine. But when I try to compile my app using GWT-compiler I get errors like: "The import javax.persistence cannot be resolved", "Entity cannot be resolved to a type". toplink-essentials.jar is already...

C RPC without the stubs

I have this program that I want other processes to be able to call functions on (through unix sockets). The message protocol is very simple, the function name, a function signature, and a buffer (char *) that holds the parameters. When a module in my program wants to allow a function to be accessible, it registers the name and signature...

Framework for Java RPC server

I'm planning on writing an RPC server in Java. The server needs to accept incoming RPCs - probably over HTTP - and answer them. Fairly basic stuff. Support for 'long polling' or 'hanging' RPCs isn't necessary, so a thread-per-request model ought to be perfectly adequate. If I were writing this in Python, I would probably use a framework...

"call failed and did not execute"

I have a program that uses Microsoft RPC for interprocess communication. When a call of a method with [in, string] parameter like this (MIDL notation): interface IOurInterface { error_status_t rpcMethod( [in, string] const WCHAR* parameter ); } is invoked it is usually successful. But if the parameter string is long enough (more t...

"endpoint is a duplicate" when starting an RPC server

My program uses Microsoft RPC for interprocess communications. To prepare for receiving RPC calls the program runs the following sequence: RpcServerUseProtseqEp(), then RpcServerRegisterIf(), then RpcServerListen() The program starts its RPC server with the sequence above, works for some time, then terminates and may later be restart...

Google Web Toolkit (GWT) + Google App Engine (GAE) + Detached Data Persistence

I would like to develop a web-app requiring data persistence using GWT and GAE. As I understand it, my only (or at least by far the most convenient) option for data persistence is GAE's Datastore, using JDO or JPA annotated objects. I would also like to be able to send my objects back and forth client-server using GWT Remote Procedure Ca...

"operation is not supported" when invoking an RPC call on Vista

My application uses Microsoft RPC for interprocess communications. When two processes are run on the same machine and one process tries to call a method declared as (IDL notation): error_status_t rpcMethod( [in] pipe byte parameter ); this call fails with RPC_S_CANNOT_SUPPORT ("The requested operation is not supported") and never reac...

Using asynchronous RPC pipes without APC callback

Microsoft RPC has a mechanism called asynchronous pipes. The only sample for handling it I've seen so far (in MSDN) involves using APC (asynchronous procedure call) callbacks. Is there a way to implement client and server side pipe handling without APC - for example, with some wait functions? What are the key steps to doing this? ...