By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,419 Members | 1,394 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,419 IT Pros & Developers. It's quick & easy.

communicating with other app

P: n/a
Is there a simple way of communication between applications
I would need to send or receive some data from time to time?
Nov 15 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Check out Remoting services.

--
William Stacey, MVP

"Sput" <sp********@post.htnet.hr> wrote in message
news:bv**********@ls219.htnet.hr...
Is there a simple way of communication between applications
I would need to send or receive some data from time to time?

Nov 15 '05 #2

P: n/a
"Sput" <sp********@post.htnet.hr> wrote in message news:<bv**********@ls219.htnet.hr>...
Is there a simple way of communication between applications
I would need to send or receive some data from time to time?


you may want to consider creating a web-service on each end to
communicate. although not as fast as remoting ...

Vince
Nov 15 '05 #3

P: n/a
You can add socket-based communication (TCP/UDP) to the list, as well as
message queuing.

One way to choose the "appropriate" mechanism is to look at the platform(s)
both applications will be running on (both .NET CLR, .NET and Java, etc.),
and the bandwidth that will be available (both in memory on the same
machine, LAN, Internet, WAN, etc.). These two facets will narrow down your
choices. For instance, if both applications are .NET apps running on the
same computer or your LAN, most literature will say Remoting or Web Services
are your best bet (Remoting being the more performant). If the applications
are connected on different platforms where a firewall might sit between
them, exposing the applications via web services becomes the best strategy.
Plain vanilla sockets might be your best bet if both applications are
connected by a very low bandwidth pipe, as SOAP messages can be much larger
than a binary or character-based protocol you develop for your needs.

Hope this helps.
--
Jeffrey Wynn
so********@nospam.net

"Vince Apesa" <va****@hotmail.com> wrote in message
news:a8**************************@posting.google.c om...
"Sput" <sp********@post.htnet.hr> wrote in message

news:<bv**********@ls219.htnet.hr>...
Is there a simple way of communication between applications
I would need to send or receive some data from time to time?


you may want to consider creating a web-service on each end to
communicate. although not as fast as remoting ...

Vince

Nov 15 '05 #4

P: n/a
Another way, appropriate for apps running on the same machine, is the
SendMessage API and WM_SETTEXT Windows Message.

Dale

"Sput" <sp********@post.htnet.hr> wrote in message
news:bv**********@ls219.htnet.hr...
Is there a simple way of communication between applications
I would need to send or receive some data from time to time?

Nov 15 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.