views:

122

answers:

3

I'd like to call into a .NET assembly for some data and library functions from a Processing user interface. What's the best way to achieve this? Expose a web service? A RESTful API? Some godforsaken processing/Silverlight monstrosity?

Good ideas are welcome.

+1  A: 

One approach might be to expose the desired data and functionality to COM via the REGASM utility and then use a Java-COM bridge to get to it.

Michael McCloskey
+1  A: 

Hi Matt. I'm not familiar with Processing (is this what you are talking about?), but if it's standard JVM-based environment, then JNBridge is a very solid solution, assuming the pricing works for you.

Matt Solnit
+1  A: 

I am author of jni4net, open source interprocess bridge between JVM and CLR. It's build on top of JNI and PInvoke. No C/C++ code needed. I hope it will help you.

Pavel Savara