I have a dll namely product.dll
created using .NET. How can I access that dll's constructor or method using Java code.
Is it possible to access without using JNI?
views:
116answers:
2
+2
A:
You may take a look at jni4net which allows interoperability between the two. IKVM.NET is another alternative. Yet another option is to expose the functionality you have in the .NET library as a SOAP web service which is interoperable and could be consumed from a JAVA client.
Darin Dimitrov
2010-05-24 07:35:42
A:
There is a commercial product called JNBridgePro that will allow you to easily do this. You can even run the .NET dll inside the Java process if you like. (You can also run the Java and .NET in separate processes and communicate through sockets.) For more information, please see www.jnbridge.com, or contact us at the e-mail address on the Web site. (Yes, I am with JNBridge, but I felt that mentioning the product was appropriate in these circumstances.)
Wayne Citrin
2010-06-03 05:43:18