PC Review


Reply
Thread Tools Rate Thread

Data sharing between applications

 
 
Tom Q
Guest
Posts: n/a
 
      31st Jul 2004
A user has multiple applications running on his/her PC and I want to create
a broker component or service that is shared among the multiple apps. Each
time an application changes a record it notifies the broker and the broker
in turn notifies the other applications so they can take appropriate
actions. Any one app may send a string data to the broker and the broker
makes this string data available to all the other apps. This has to happen
instantaneously.

1) I would prefer to use .NET C# to develop the broker component .
2) The broker component must be able to raise event (to notify) in any of
the multiple applications (or use callback functions?)
3) The broker component also run on the user's PC and only one instance of
it is shared by all applications.
4) One of the applications was written in Java.

My question is what should this broker component be created as (project
type)? A Windows service, a Serviced Component, Message Queue Component or
just Class Library? Keeping in mind that some of the apps may not be able
to work with the Message Queue component for example.

Thanks
Tom


 
Reply With Quote
 
 
 
 
=?Utf-8?B?U2F1cmFiaCBOYW5kdQ==?=
Guest
Posts: n/a
 
      31st Jul 2004
They best bet would be to create this application as a Windows Service considering all the client applications will reside on the same PC.

One of the other challanges you will have to tackle is that one of your client is in Java. If all the clients were in .NET then you could create a .NET Remoting based application that can take care of acting as a broker app. But .NET Remoting does not talk to Java.

You you might end up using Sockets to communicate with the client applications. As soon as a Broker request comes in, the Broker can then broadcast the message to other intrested applications listning for new messages.


--
Regards,
Saurabh Nandu
AksTech Solutions, reflecting your needs...
[ www.AksTech.com ]
[ www.MasterCSharp.com ]



"Tom Q" wrote:

> A user has multiple applications running on his/her PC and I want to create
> a broker component or service that is shared among the multiple apps. Each
> time an application changes a record it notifies the broker and the broker
> in turn notifies the other applications so they can take appropriate
> actions. Any one app may send a string data to the broker and the broker
> makes this string data available to all the other apps. This has to happen
> instantaneously.
>
> 1) I would prefer to use .NET C# to develop the broker component .
> 2) The broker component must be able to raise event (to notify) in any of
> the multiple applications (or use callback functions?)
> 3) The broker component also run on the user's PC and only one instance of
> it is shared by all applications.
> 4) One of the applications was written in Java.
>
> My question is what should this broker component be created as (project
> type)? A Windows service, a Serviced Component, Message Queue Component or
> just Class Library? Keeping in mind that some of the apps may not be able
> to work with the Message Queue component for example.
>
> Thanks
> Tom
>
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sharing data between 2 applications radiax Microsoft Dot NET 4 5th Jan 2006 03:24 PM
Sharing data between applications Søren M. Olesen Microsoft Dot NET Framework 3 28th Jan 2005 08:00 AM
Data sharing between applications Tom Q Microsoft C# .NET 1 1st Aug 2004 11:52 PM
Re: Sharing of data and applications Yuen Fai Lo [MSFT] Windows XP Networking 0 1st Jul 2003 08:46 PM
Sharing of data and applications Windows XP Networking 0 1st Jul 2003 06:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:23 AM.