rpc

Cross-platform general purpose C++ RPC library

Here's the task: Imagine, we have an applications and a plug-in for it (dynamic library). Interface between the application and the plug-in is completely defined. Now I need to run the application and the plug-in on different computers. I wrote a stub for the plug-in on a computer where the real applications is running. And the applicat...

More GWT and Tomcat 6 Security headaches (windows)

Hey guys, I've been browsing around on SO for quite some time and can't thank everyone enough. I've finally come to a road block after ironing out the other bugs in my code: Tomcat 6's security manager combined with Java's security is stalling me. Basically, I've written a web application (that only trusted people will have access to,...

How to translate RPC_STATUS into HRESULT?

In my COM component I need to translate all errors into the most suitable HRESULT values possible. Currently if I call some RPC interface method (I call a MIDL-generated stub that in turn calls NdrClientCall2()) and the call fails I return E_FAIL which is not very convenient. There's so-called facility in HRESULT. Can I use this? I tri...

Is allowing unauthenticated RPC calls okay for servers behind a corporate firewall?

Our distributes application uses Microsoft RPC for interprocess communications. Starting with Windows XP SP2 and Windows 2003 SP1 Microsoft tightened the bolts so now the programs on two different computers can't communicate that easily. Either they both must be running under suitable user accounts so that uathentication succeeds or the...

Really strange GWT RPC behavior + display

So essentially this project builds a portal of testing results from various test types. The fetching and display of results is fine; however, the resulting tables are not being displayed in the correct order. The order they're displayed in is random, but it's clearly specified the order in which the RPC calls are dispatched and I even ...

GWT RPC: Use same DB connection across multiple requests

I'm working on a web front-end to a database. The purpose is to create a tool that students can use to learn SQL, issue queries, and see the results. Prior to now I've been using the CLI. Its primary disadvantages are a) students these days are more used to GUIs; and b) when the query returns a very wide table, it's hard to read because ...

protobuf-net and rpc over tcp

I'm looking for a rpc over tcp implementation that uses protobuf-net (or any other .net implementation of protobuf). Any suggestions? ...

Does the REST architectural style require physically separate clients and servers?

Is it a requirement that RESTful interactions occur between physically separate clients and servers? i.e. does the interaction need to involve the network stack in some way? Is there any benefit to employing an HTTP-like "calling convention" between the various components of an application? It seems to me that the benefits of REST, su...

C# DHCP Access Error

I'm using dhcpobj.dll to interface with our DHCP servers and when I try to reference any Scope property other than "Address", I get a Windows dialog box stating there was a COM Surrogate error, followed by a COMException in my code stating that "The remote procedure call failed. (Exception from HRESULT: 0x800706BE). Has anyone come acro...

Making Json-Rpc calls from java

I'm writing a java application which runs on the local machine, it needs to interact with another program (also running on the local machine), the other program has a JSON RPC API which is the best way to interact with it. However, in googling around I found a lot of libraries forexposing JSON RPC methods from a java application but noth...

Serializable Hibernate data object for GWT RPC

I have a simple POJO mapped to a table using Hibernate. Which works just fine. public class Patient implements Serializable { private int patientId; private String firstName; private String lastName; private Set<Prescription> patientPrescriptions; public Patient() {} ... } My problem is I want to be able ...

Using COM RPC from within CView::OnBeginPrinting

I've inherited maintenance for a program which currently queries an ADODB database from within its CView::OnBeginPrinting override. However, when the ADODB database handle is a proxy for an out-of-process database connection, this crashes frequently - apparently, while waiting for an RPC response, a paint message causes it to reenter CVi...

What are efficient and secure Java RPC options?

I'm looking for good Java RPC mechanisms that are Secure Efficient (Fast) What are the options other than RMI? ...

Problems with deploying GWT with RPC to tomcat (web.xml problem probably)

Hello! My gwt app that uses mysql database runs normaly in eclipse when debugging. When i run it on tomcat, it displays correctly but when i click on a button that makes a RPC (executes servlet and contacts the database) i get an error. I checked my tomcat log and i see 404 error when clicking on a button: 0:0:0:0:0:0:0:1 - - [22/Jul/2...

GWT RPC using classes from jar on client side

My problem is very similar to this only in my case the class comes from a jar. So again: I have a class in a jar on the server side and I would like to use it on the client side. I already added a source to the main.xml but it doesn't work and I can't find any tutorial or example about this. ...

Passing NT handles through DCOM

Is it possible to pass a raw NT handle (eg, to an event object) via a DCOM call - on the local machine, of course. If so, how would one go about doing so? ...

Is there a framework like Twisted Matrix for C#?

A few years ago I experimented with TwistedMatrix for Python and loved it. Unfortunately my current project precludes the use of Python as C# is the only language allowed. ...

Looking for guidance on developing specialized a version control system

I work in the architecture and construction industry, but currently spend a lot of my time doing software development. After moving my software projects into Subversion repositories I've realized how much this industry really needs a similar system for design and construction documents. I've only been developing software for a year and h...

Can you make a rpc call timeout after x seconds?

If I have a service that makes RPC calls (say to web services, or restful services, or just to scrape data from a url, etc), is it possible for me to have it timeout after 5 seconds? I don't want it to hang and then crash if the remote service is down, rather try for x seconds, if its down, then just carry on to the next remote service ...

searching for a working GWT RPC library

hi im searching for a GWT-RPC lib for the client side to communicate with a zend framework php server thus rpc like json, xml or rest would be interesting all i find are projects which have been stuck in years 2007/08 which dont seem to work anymore so is there anyone who can suggest a working library? thx ...