Question

I have a .net application in c# which receives a byte array and I need to send it to a Java Program as an argument, which is the best way to do it?

NOTE: Its all in the same server.

Was it helpful?

Solution

Start a Process and redirect the input stream

OTHER TIPS

Send it over the Looback address (127.0.0.1) via sockets (C# & Java). If it's just a simple byte[], then this will be VERY simple on both ends.

With this, both the C# and Java applications can continue their process without interuption.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top