Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / July 2004

Tip: Looking for answers? Try searching our database.

Data sharing between applications

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tom Q - 31 Jul 2004 09:02 GMT
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
Saurabh Nandu - 31 Jul 2004 14:05 GMT
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.

Signature

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

> 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
[quoted text clipped - 18 lines]
> Thanks
> Tom

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.