Access .NET dll's method using Java code

后端 未结 2 985
Happy的楠姐
Happy的楠姐 2020-12-19 18:54

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 usi

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-19 19:22

    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.

提交回复
热议问题