IPC between dotNet and Java apps

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
 
J

John Timney \( MVP \)

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
 
N

Nick Hounsome

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top