remoting

Cross-network remoting in .NET

I'm doing a sample in .NET remoting. I want to know is it possible to exchange data between a computer in my network to a computer in another network? ...

Reflecting private Remoted Objects

I want to return a private field from a remoted object but i get the exception: RemotingException was caught Remoting cannot find field 'connectionString' on type 'DBGeneral'. I DO get the Private field's FieldInfo object when executing the GetField() method. FieldInfo field = o.GetType().GetField("connectionString", BindingFlags.Inst...

What remoting approach for Java application would you recommend?

I wonder how is the best way to integrate Java modules developed as separate J(2)EE applications. Each of those modules exposes Java interfaces. The POJO entities (Hibernate) are being used along with those Java interfaces, there is no DTO objects. What would be the best way to integrate those modules i.e. one module calling the other mo...

Use of Legacy "Communication" Classes in .NET Framework

I have a web application which passes long-running requests to a Windows Service on another computer, using .NET Remoting. I have been told that .NET Remoting is an obsolete technology, and that it should no longer be used. Should I rewrite the service using WCF, or leave it as it is? If I rewrite it, am I going to have to rewrite it ...

remoting and destructors in c#

Hi, I am playing with the .net remoting features and there is something that I can't figure out nor find an answer in Google and is how the object disposal works. I try to implement some kind of object pooling with remoting, for that I've list of static objects that are basicly a string and boolean state indicator. When I request fo...

Why does a tcp remoting client needs to listen?

When a remoting client creates a TcpClientChannel object, it listens on an (unspecified) port. What for? A single tcp connection to the server is already a full duplex, so why listen? ...

Remoting and OSGi

Is there an elegant way to use Services across or between OSGi containers? Is it even possible? For instance, lets say I have a service interface on my local machine. What methodologies/technologies can I use to get that service interface accessible through a remote OSGi container's BundleContext? ...

Use .NET Remoting to transfer a file?

I'm using .NET remoting to communicate between a web site and a Windows service. They both live on different machines. I have a statically defined port number for use by all requests and responses. I also use this mechanism to transfer files from the web site to the Windows service box. I'm passing a Stream object in the object that ...

.NET Remoting with Service that uses DAAB with Unity giving null reference exception

I have a project that is using Unity and I am trying to implement NET Remoting. I have a NET Remoting Server for an existing Service Layer that has a Data Layer using the Enterpise Library Data Access Application Block. The problem is that due to Remoting requiring a parameterless constructor when the TestService is called I am getting ...

How can I mock out a service using local data in Flex 3?

I am writing a small flex application that will, eventually, call PHP services to perform its work. In the meantime, however, I would like to have it use local data in XML form to allow me to develop the Flex part independently of the data service. What is the best way to do this? I want to emulate a service like this: public class S...

Why .NET remoting events from server cannot reach clients on different computers

In my case, the server will notify the client to fetch his data when the data is ready. This notification is implemented via an event which the client has to subscribe. When tested in the same computer, the client get notified without any problems. However, when client is moved to the other computer, it cannot get the notifications any...

What technology for a larger project ?

I'm planing a larger project,so i'm considering some technology options. The project will use the 3 tier architecture design. The presentation layer will be ASP.NET but it could be some other technology. This doesn't matter for now. My questions are: For the aplication server should i use a windows service or just a normal applicati...

Forwarding variable arguments

I'm encapsulating a call to a remoting service in my own RemoteObject class. This all works fine except when I have to deal with variable parameters that are being passed to the remote call. Since this is a call to the NetConnection.call, I should be able to pass variable arguments but since I'm encapsulating the NetConnection.call it's ...

Start a java program with an object model as parameter

Hello, A server listens on a port, waiting for incoming requests from clients (the client as a matter of fact is an ejb). These requests pass a complete object model as parameter (e.g. a list of Employees, each Employee a list of Tasks etc.). Now the server has to start another java program in a new JVM instance on the same machine, w...

Easiest way to get fast RPC with .NET?

What's the easiest way to get RPC in .NET? I see that there is .NET Remoting and WCF, and according to Wikipedia, WCF is the successor to .NET Remoting. So far, I only tried the remoting stuff, which seems to be pretty simple -- I also didn't hit any problem with the application speed so far. Is .NET remoting really the best way to get ...

.NET Remoting Client's Problem when running on the machine with Multi NICs

I built a .NET Remoting Client which works quite fine on the machine of single NIC, and lots of testing messages received via remoting event. But when additional NIC was added, the Client seemed to be able to connect the remoting Server, but the testing messages cannot arrive anymore. From debugging, the server end did trigger the even...

Cross platform RPC for .NET service

I have a .NET 2.0 service that is currently accessed via .NET remoting, and I would like to add support for another RPC method that allows a wider range of platform and language support. All of the API methods take and return XML and simple types like int. I know about CORBA and IIOP.NET which look promising. What other technologies s...

How to determine if remoting channel is already registered

In my ASP.NET application, I have a line in the global application start event that configures the client remoting channel by calling RemotingConfiguration.Configure(). This works well the first time, but when my web application gets recycled, the application start event is fired again causing the following remoting exception: Remoting...

Npgsql reader type cast error (was: mono does not serialize complex types well)

Hi, Am I right that serializing complex types is not implemented in Mono 2.4.2 yet, or have I made a mistake? When I call my remote function, I get an error message: Cannot cast from source type to destination type. at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy rp, IMessa...

What is the underlying mechanism used to communicate between .Net AppDomains in the same process?

I realize a rational knee-jerk response would be "Remoting you idiot! Read the MSDN docs." Every scrap of info I can find concerning .Net Remoting is in the context of inter-process communication: sockets, shared memory, pipes...the classics when it comes to IPC, but an AppDomain is not really a process. However, AppDomains seem to en...