I've 'only' been trying to do this for the past 5 years.
There are two key technological concepts at play here (which can work together or isolation)
1) Side-by-site JVM/CLR execution and programming (in same process)
- Using Jni4Net (Part 1) - To C# REPL a java process (ZAP Proxy)
- Using Jni4Net (Part 2) - Controling OWASP ZAP remotely (via Java BeanShell REPL in .Net)
- Using Jni4Net (Part 3) - Writing and Invoking O2 Methods from Java and Eclipse
- Using Jni4Net (Part 4) - Integrating AppScan with TeamMentor (first PoC)
2) Injection of Managed/Unmanaged controls into another process's controls/windows
- Injecting a .NET REPL into an Unmanaged/C++ application (Notepad)
- IBM AppScan Source's and AppScan Standard's TreeViews running side-by-site in the same GUI
The Java bridge to .Net (and vice-versa) was created using the amazing: http://jni4net.sourceforge.net/ FOSS project (see this research paper for the main concept between .Net/Java bridges http://views.cs.up.ac.za/vdata/Views-CCPE.pdf )