I need to pull some data from java into C#. I am already exposing my C# classes via COM. So I thought a good way to pull data from java would be to expose IReadStream from C# and implement IReadStream in java. I can then send an instance of the implementation as a parameter to C# so that I can call IReadStream.Read in C#.
How do I implement a custom COM interface in java?