remoting

how to modify a textbox using remoting

I am trying to modify a textBox found in the server Form using remoting from the client side. i have tried some solutions i found, but none of them work. the remoting part works propperly, the only thing that I am not able to figure out is this: this is what i have: client side: ... private void btn_b1_Click(object sender, EventArgs e)...

Is there something wrong with this code? AMFReader vs AMFWriter

Something doesn't seem right about the source code for Flash Remoting's Date(AS3) <-> DateTime(.NET) stream reader/writer methods, when it comes to handling UTC <-> Local times. It seems to write the DateTime data fine, including a 64-bit representation as milliseconds elapsed since Jan 1, 1970, as well as a UTC offset. public void Wri...

Implement the business logic in an app server with spring

Is posible implement the business logic in an App Server remote using pojos instead of either EJB or Servlets???. The main idea is apply a model of 3 layers where the clients may be both web browsers and desktop applications, and they share the business logic in an App Server. this would be the architecture browser----- >Web Server --...

Circular reference while setting up bidirectional communication line between two remote objects

I'm using .Net remoting to set up a bidirectional communication line between two objects. The basic structure is as follows: Instances of RemoteObjectA call methods on StaticObjectA. Instances of RemoteObjectB call methods on StaticObjectB. StaticObjectA needs to be able to call methods provided by RemoteObjectB. StaticObjectB needs to ...

How do I pass references as method parameters across AppDomains?

I have been trying to get the following code to work(everything is defined in the same assembly) : namespace SomeApp{ public class A : MarshalByRefObject { public byte[] GetSomeData() { // } } public class B : MarshalByRefObject { private A remoteObj; public void SetA(A remoteObj) { this.remoteObj = remoteObj; } ...

Requested Service not found - .NET Remoting

I am Getting this exception System.Runtime.Remoting.RemotingException occurred Message="Object '/55337266_9751_4f58_8446_c54ff254222e/rkutlpt5hvsxipmzhb+jkqyl_98.rem' has been disconnected or does not exist at the server." Source="mscorlib" StackTrace: Server stack trace: at System.Runtime.Remoting.Channels.ChannelServices.Che...

Can I use the ASObject.ASType property with flash remoting in AS3?

I'd like to have ASObject's returned to Flash with their ASType property set. I expected that by setting ASType to the full qualified name (e.g. "package.package.ClassName") of an AS3 class that had the same property names as public variables, that flash remoting in the client would automatically look up the class and populate the fields...

Flash (ActionScript 3): how to build a remoting application

Hi, I'm looking for examples (code) of applications that uses Flash (NOT Flex) and Remoting classes for ActionScript 3 (NetConnection). Once there was ARP, a repository of code of this kind, but it seems there is not anymore. I'm trying to figure out how to build an applications that makes heavy use of calls to WebORB and responders. I n...

Powershell Remoting Profiles

How do i use a function in my profile on the remote machine when using Enter-PSSession on my local machine to open a remote powershell session. ...

How to preserve object identity across different VMs

To be specific let me illustrate the question with Spring http-remoting example. Suppose we have such implementation of a simple interface: public SearchServiceImpl implements SearchService { public SearchJdo processSearch(SearchJdo search) { search.name = "a funky name"; return search; } } SearchJdo is itself...

Performance on .NET Remoting

Hi all, I have a web service that uses a shared object through '.NET Remoting'. For avoiding problems related with channel duplication, I call the UnregisterChannel method everytime one webmethod is done. Does anyone know if this solution (unreg a channel after webmethod is going to finish) is acceptable in terms of performance? Tha...

Getting .net remoting to support IP v4 and v6: how to get a stream mapped to a real ip, not just an argument exception

My company has an existing .Net Remoting service exposing interfaces to external processes. I am configuring this service to support both IP v4 and IP v6 communications by having the following app.config section: <system.runtime.remoting> <application> <service> <wellknown mode="Singleton" type="type, ...

Delphi DataSap in HTTP proxy Server

Hello TO All: I saw the Example of Mr. Bob regarding Delphi 2010 Datasnap, I am impressed. But my question is what if the client is connected thru proxy server? how could I define the proxy in the client? thanks... ...

Replacing TCP/IP pipe with WCF

So currently my company is using a TCP/IP connection to talk between server and client programs, right now we are building this connection using System.RunTime.Remoting, which is clunky and not that reliable. It was built about 5 years ago and the model keeps getting reused and it's starting to propagate some issues, ports used, refused ...

What is the default connection limit of .Net remoting http channel?

When using .net remoting, does the server limit incoming client remoting calls? I find a particular remoting call (during ASP.NET page rendering) to take from 200ms to 1500ms. While the underlying data call is only 50ms. Factoring in remoting overhead of 150ms per call, the only difference between the two cases is that the latter scena...

When should I unregister remoting channel?

I have configure the channel by RemotingConfiguration.Configure(String, Boolean): Void. On server side, it's hosted on a http server on a windows service. And client side is a windows application. The server is always waiting for a incoming call. So do I need to call ChannelServices.UnregisterChannel(IChannel) : Void on some where? An...

.NET Remoting connecting to wrong host

I have an application I wrote which has been running well for 4 years. Yesterday they moved all their servers around and installed about 60 pending Windows updates, and now it is broken. The application makes use of remoting to update some information on another server (10.0.5.230), but when I try to create my remote object, I get the fo...

.NET Remoting: Getting underlying socket?

Hi, I'm writing a light remoting app to assist in debugging a problem with remoting communication. This app mimics much of what a larger application does: Periodically sends a heartbeat to another peer application, and periodically verifies that a heartbeat has been received within some time threshold. What we're seeing is...

.NET Remoting Client Config File multiserver Object

I'm in the middle of a crisis. How can i register a object in configuration file multiple times? Its simple i have server1, server2 and server3 that have the object (SomeObject) and i would like to do something like this on Clients configuration file: <client> <wellknown type="IRemCalc.ICalc, IRemCalc" url="http://loca...

How can I create a .net remoting IPC channel accessible from all sessions?

If I have a Windows Service running in its own session (Session 0 isolation Vista/7), my GUI application in the users session cannot connect via .NET remoting using a IPC channel(named pipe). I do not want to use the TCP channel. Can I specify the channel as global? ...