473,386 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Remoting Client Activated Object

JJ
I want to create a client activated object using TcpChannel. The only way I could get it to work, though, is to provide the client with the remoted object's implementation. I'd rather not do this. I got around this by using a factory pattern, but there has to be another way. I tried using soapsuds with -nowp, but that didnt' work. Most examples deal with HttpChannels, and soapsuds, and all the examples work fine, but not with TcpChannels.

My question is: How can I create a CAO using a TcpChannel and not provide the client with the implementation of the object to be remoted without resorting to a Factory pattern

Thanks

JJ
Nov 16 '05 #1
2 3979
check out this article I wrote on the subject for more information on
how to use a remoting assembly without providing the implementation.

http://www.glacialcomponents.com/Art...cleID=CAOGuide

Allen Anderson
http://www.glacialcomponents.com
mailto: allen@put my website url here.com

On Fri, 4 Jun 2004 16:06:02 -0700, "JJ" <my*******@mchsi.com> wrote:
I want to create a client activated object using TcpChannel. The only way I could get it to work, though, is to provide the client with the remoted object's implementation. I'd rather not do this. I got around this by using a factory pattern, but there has to be another way. I tried using soapsuds with -nowp, but that didnt' work. Most examples deal with HttpChannels, and soapsuds, and all the examples work fine, but not with TcpChannels.

My question is: How can I create a CAO using a TcpChannel and not provide the client with the implementation of the object to be remoted without resorting to a Factory pattern?

Thanks!

JJ


Nov 16 '05 #2
JJ
Thanks, Allen. Based on your article I guess the factory pattern I stumbled across is the recommended way to go. Thanks, again

-JJ
Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Yair | last post by:
Hi, After executing a server-client remoting scheme I wrote, I've noticed a constant memory growth (both at the server, and at the client). Searching through various newsgroups, I've stumbled...
2
by: Fadi | last post by:
Backround: I am trying to figure out how to do the equivalant of a classic COM Local Server Singleton in .NET/C#. I created a coupld of simple Class Libs that exposes public interfaces and hosted...
5
by: Mark Broadbent | last post by:
Could someone clear this up for me a bit. I am a little bit uncertain about this but this is my understanding. Please correct where wrong or bits missing. There are two types of remoting :- ...
4
by: Uchiha Jax | last post by:
Hello everyone, I am a plenty silly person who is trying to learn .NET remoting through trial and error (all articles I read are going over my head at the moment (mostly) so I thought i'd give...
0
by: Martijn Damen | last post by:
Hi, At the moment I am trying to develop an application that uses another app over .net remoting and having some problems with it (ok, that is ofcourse why I am here), hope somebody can shine a...
0
by: Dave A | last post by:
When I register a remoting service programmatically things work great but when I register the service using a config file I get the error "Requested Service not found" when invoking a server...
2
by: Sagaert Johan | last post by:
Hi When the remoting server starts and the client immediate begins calling the remote object on the server no problems. But when the client does not need to access the remote object for some...
6
by: Palvinder Singh | last post by:
Hello google group peeps, I am new to remoting, but have a grasp of it. I am trying to create a server/client application, which will be deployed over an intranet. I have upwards of five...
0
by: Metal2You | last post by:
I have a remoting application, written in C# .NET 2.0, that works in my development environment in IIS 5 on a Win XP machine, but does not work in IIS 6 on my production Win 2003 Server machine. ...
2
by: erbilkonuk | last post by:
Hi, I am very new to .NET Remoting and I try to run a simple program to subscribe to an event raised by Remoting Class. The Remoting Server initiates an instance of Remoting Class as Singleton /...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.