I want to develop a certain plugin/extension, which needs to run in eclipse and has to integrate with another (java) plugin, but it has to collect data from .NET assemblies (using mono's cecil).
So my question is how should I create this relation between the Java code and the .NET? I know that I could use mono to run the .net application on for instance Linux, but I have 2 problems, I would like that the Java plugin starts the .NET application, and the second problem how to let the Java plugin make certain calls to the .NET application.
For this communication between these two applications, I would like to be platform independent so that the same binaries could run in both Windows, OSX and Linux. Another perhaps important fact is that the results of the calls could contain pretty big collection of objects.
Or perhaps it would be better/possible to host a .NET assembly inside of java and call it directly?
Update: I think an ideal answer would solve the following questions:
- How to start/invoke the .NET assembly/application from the Java side. (cross platform)
- How to communicate with the .NET assembly
- What impact these choices have on the modifiability