remoting

RMI: Pass by Value or by Reference?

I'm having trouble finding a clear answer to this question so I thought I'd ask here with my own specific example: I am creating a mulitplayer monopoly game. The actual monopoly code runs on the server and the client is essentially a GUI which accesses and control this code. The monopoly game is controlled by a class called 'Bank'. Sa...

Using Grails without an user interface

I'm thinking about possible alternatives for our EJB based service layer and wondered if it would make sense to use just the service and database layer of Grails together with the Remoting Plugin or is this using a sledgehammer to crack a nut? Speaking of the Remoting Plugin: is there a standard way of generating a JAR file, that conta...

Remoting set timeout

.Net remoting is used in my brownfield application. We decided to set timeouts for our remoting methods. System.Collections.IDictionary properties = new System.Collections.Hashtable(); properties["name"] = Ipc_Channel_Name; properties["timeout"] = 1 * 1000; IChannel clientChannel = new IpcClientChannel(properties, null); ChannelServic...

Why is my C# AppDomain fine one moment, then throws exceptions the next?

I have an AppDomain that I'm using to load modules into a sandbox with: class PluginLoader { public static AppDomain PluginSandbox; static PluginLoader() { AppDomainSetup ads = new AppDomainSetup(); ads.ApplicationName = "Plugin Modules"; PermissionSet trustedLoadFromRemoteSourceGrantSet = ...

.NET Remoting slows down when internet connection starts up

I have been using .net remoting with client and server on my dev machine, and everything was fine. And then I've located the server on the other machine, connected with my through a 100-Mbit LAN. It has a VPN connection, allowing it to connect to the internet. Whenever a VPN connection is started, .NET remoting gives out huge lag for ev...

C# Windows Service and Remoting

Hi, I'd like to create a Window Service that can load several DLLs from a certain location and publish them using Remoting on a specific TCP port (let's say 9000). Each DLL contains a single class that will published. For example (Test.dll) namespace Test { class Service { // methods here } } The service should publish it ...

Flash Remoting with Array of Objects and 2D Arrays

Hi again, I'd like to use AMFPHP and Flash Remoting to set up a system in which an array of objects on the Flash client gets checked against a mirrored array on the server. I've never used Remoting or AMF before, but I have worked on some projects that involved serialization, and I remember serializing an array of objects and arrays of...

Generic method for accessing remoting and WCF classes

I am working on a project at the moment which is using WCF for all communication. Standard sort of coding, using ChannelFactory and CreateChannel to access methods and objects running on the server. Now, I have a form of event system setup, where a db table stores all the endpoints to inform given certain condiitons. So something happen...

C# Remoting classes organization

Hi, I'm developing a Remoting classes library so that I can keep database interaction and business object on the server and not on clients. I'd like to be able to return my own objects to the clients so that they can interact with them through the server itself. For example (semi-pseudocode): Server class Database { ... } class Utili...

Simple client / server concept for .NET

Hey everyone I want to implement a simple cardgame in silverlight that can be played together via a server. My question is, what concept for communication between client and server I should use. Is it possible to use WCF to implement the server ? I guess no because its more like a dataprovider right ? or do I need to use .NET Remoti...

Flash Player Unresponsive on Remoting Error - AS2

We have an application that was developed with Flash, AS2 and ColdFusion backend (remoting). I observed that when there was a database query failure, and that came in to Flash, the _result handler will be called (instead of _status), and the player hangs with the infamous unresponsive / abort the script error. Doing a trace on the resul...

IPC (.NET): Which user rights would I need to create an IPC channel?

I have a program here (with access to the source code, no problem there) that I need to install on many customers PCs. All of them still run under good old XP (SP3), but on a few (very few) of them I can't start the application, because when I try opening the IPC channel (I need that for a few service functions) I get an "Access denied"...

Can python share info like .net remoting?

I known python can use pipe to communicate between two process of py. But, data and functions of this method are not clear. I like .net remoting better. So, can python realize that approach? ...

Write object with transient attributes to stream (Java)

I want to write an object into a stream (or byte array) with its transient attributes to be able to reconstruct it in another VM. I don't want to modify its attributes because that object is a part of legacy application. Standard Java serialization mechanism doesn't help. What other options do I have? Update: The reason I'm asking the...

Stop Process on Network Machine with .Net

In my project, I am going to do that : There is a server in restaurant, and some pos machines which are running on Windows XP called Radiant systems. There will be a .exe on server, and this .exe will stop running some process on Radiant Poses. It is possible with .Net Remoting. But it requires to write an .exe on the Radiant Poses, but ...

No Event Logs in Diagnostic on Windows Azure?

I'm trying to get .NET Remoting to work on Windows Azure, with a web role. I get a 500 internal server error when trying to access the URL. I've tried using Azure MMC (http://code.msdn.microsoft.com/windowsazuremmc), but I'm only able to get Infrastructure Logs. No Event Logs, Azure Logs or similar. What am I doing wrong? I've tried sett...

Need to initiate seperate background processes using .NET Remoting for Interprocess Communication

Hello, I need to solve simplest problem. I have some abstract factory which will initiate on demand seperate processes(.NET EXE's). It means abstract factory needs to initiate processes at any time and let the newly created processes be able to communicate with process in which abstract factory reside. This interprocess communication is...

.Net Remoting - Reboot Server and get reboot status

I have a client server set up between different computers on a network using .Net Remoting in C#. The server runs in a service that starts up when the computer turns on. I want the client to be able to restart the computer that is running the server service and receive a status if the restart succeeded or failed. What is the best appro...

Singleton and Client Activated Object(CAO), Remoitng

Both perform the same operation that is MSDN Singleton: ""Single Call objects service one and only one request coming in.... " CAO: "Client-activated objects (CAO) are server-side objects that are activated upon request from the client...." in both cases, data is not shared, but in singleton only once client can be connected at a ti...

Passing client created object to server .net remoting

How can I pass my client-side object to my server object in .net remoting? This is how I'm doing my test. On my class library: public interface IServer { bool SubmitMessage( ISampleClass sample ); } [Serializable] public Server : MarshalByRefObject , IServer { Public Server() { } public bool SubmitMessage( ISampleCla...