IPC between dotNet and Java apps

  • Thread starter Thread starter MR
  • Start date Start date
M

MR

i am looking into how to pass information between two applications. one is a
java app (not java.net) and the other is dotNet based v1.1 (c#).
both apps will probably run on the same machine.
i don't know very much about java or its capabilities.
normally i would use queues or even windows messages, but because the other
app is java none of this is available, or is it?
what tools are available that would enable the IPC? are there any references
that discuss how to do this?

thanks
 
I would say the easiest way is using a java com bridge, but there are a few
hacky methods that work just as well and are a lot cheaper if your just
passing values - like a socket server running on the machine that allows
connections from any socket client, java or c# so you can exchaneg dat that
way:

http://www.csharphelp.com/archives2/archive434.html

Passing values via text files is always an easy and cheap solution
http://www.ondotnet.com/pub/a/dotnet/2001/07/17/csharp3.html?page=2

also, if you have an http device on the server you could try RPC
http://www.codeproject.com/csharp/runawayapp.asp
 
MR said:
i am looking into how to pass information between two applications. one is
a java app (not java.net) and the other is dotNet based v1.1 (c#).
both apps will probably run on the same machine.
i don't know very much about java or its capabilities.
normally i would use queues or even windows messages, but because the
other app is java none of this is available, or is it?
what tools are available that would enable the IPC? are there any
references that discuss how to do this?

XML over TCP?
 
Back
Top