I think of using in windows a named pipe to communicate between two apps written in Java and C. Normally i use socket connection to do this, but now i have to cancel this idea a
In order to create a Windows named pipe in Java, you'd have to resort to using JNI to call the native WINAPI functions.
You can create the named pipe in C++, though, and consume it in Java by opening it as a file in the pipe namespace after it has been created.