rpc

How to wait until GWT RPC completes?

Hello! I am using GWT and i am making RPC calls to get some data from database. I use this data to draw charts with Google Charts API. The problem is that GWT RPC call is async and my chart is always using data from the last call, not the current one.(i populate int array in onSuccess function)). How should i wait some time to make sur...

Secure authentication with GWT and GAE over https?

I want to implement a custom user authentication system in my appengine app. I don't want to use sessions. I'm a newbie in this area, so I have two basic questions: 1: Is it secure to just send a username and password with every single RPC over https? What do I need to do to keep that username and password secure on the client end? ...

How should a ZeroMQ worker safely "hang up"?

I started using ZeroMQ this week, and when using the Request-Response pattern I am not sure how to have a worker safely "hang up" and close his socket without possibly dropping a message and causing the customer who sent that message to never get a response. Imagine a worker written in Python who looks something like this: import zmq c ...

How to identify what state variables are read/written in a given method in C#

What is the simplest way to identify if a given method is reading or writing a member variable or property? I am writing a tool to assist in an RPC system, in which access to remote objects is expensive. Being able to detect if a given object is not used in a method could allow us to avoid serializing its state. Doing it on source code ...

CORBA sequences: can I define sequences of objects w/ methods?

Hello, I have an interface with a method that should return a list of items, and each item should have certain methods associated with it. For example, I want to define a method listAllItems() that returns a bunch of "item" objects which have methods attached to them (so I can have the client process pick one of the items and say itemo...

Create MS-Word 2003 in WCF Error???

I built WCF solution about reporting by using MS-Word 2003 API(Microsoft.Office.Interop.Word) but I got this error : 2010-09-17 16:31:39,218 [21] ERROR ERROR [(null)] - Error : Generate 0900000a80395799 System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) at Sys...

how do I include the source from another project in netbeans to use in gwt rpc?

I'm working with one large gwt project. We have a related project that is a mixture of WebStart and an Applet. I'm trying to reuse some of the classes used to communicate between the applet and server on the client side of the gwt project. These classes are currently used on the server side of the gwt project by importing the jar from th...

RPC: Unknown Protocol

We are developing a RPC system with client in ubuntu system and server in Solaris system. Currently we are struck at this error: "RPC: Unknown Protocol" can some one help us with this? ...

GWT RPC Testing DB connection

Hi, I'm using GWT RPC to connect to server side. On server side I've to connect to MySQL database, from which I get data I need. My question is which is best practice when I want to test my application, because I haven't deployed it yet on Tomcat app server, and it seems I cant test it, if it is not deployed. When I test it in developme...

PHP remote procedure calling

I have two servers on PHP that need to communicate, calling remote methods of each other. XML-RPC for PHP is not very good solution because it's very slow, and I can't call multiple methods in one request. ...

What are the good alternatives for communication between local C++ and Java programs?

By "local" I mean both run in the same subnet, in most cases the same host/VM, therefore some standard cross-network cross-platform RPC mechanisms like SOAP, XML-RPC, CORBA, etc. seem unnecessary. The payload is mainly numerical (mostly tabulated) data with some small amount of meta data (for example available data services, data descri...

What is the easiest solution for transparent remoting with Delphi?

I have a two tier Delphi for Win32 application with a lot of business logic implemented in a god object I want to outsource into a separate service. This separate service should be accessed by multiple clients via TCP/IP telnet-style protocol. How do I go about making the transition most simple? Precisely, I'd like to keep this simplic...

How to structure a client-server application with 'push' notifications

EDIT: I forgot to include the prime candidate for web applications: JSON over HTTP/REST + Comet. It combines the best features of the others (below) Persevere basically bundles everything I need in a server The focus for Java and such is definitely on Comet servers, but it can't be too hard to use/write a client. I'm embarking on a...

XML-RPC for an object broker

Hi, is there any good reason not to use XML-RPC for an object-broker server/client architecture? Maybe something like "no it's already outfashioned, there is X for that now". To give you more details: I want to build a framework which allows for standardized interaction and the exchange of results between many little tools (e. g. comma...

Closing Perspective Broker connection in Twisted

Hi! I have program which has servers interacting with each other using Twisted's remote procedure calls, and I run in problems with closing connections when they are not needed anymore. Connections should be able to close itself in both sides. Case 1: How do I close connection in connecting part? factory = pb.PBClientFactory() reactor...

Using MapMaker#makeComputingMap to prevent simultaneous RPCs for the same data

We have a slow backend server that is getting crushed by load and we'd like the middle-tier Scala server to only have one outstanding request to the backend for each unique lookup. The backend server only stores immutable data, but upon the addition of new data, the middle-tier servers will request the newest data on behalf of the cli...