由网友(男人毁在右手上。)分享简介:我有一个DLL即 product.dll 使用.NET创建的。我如何可以访问使用Java code DLL的构造函数或方法。是否有可能不使用JNI来访问? I have a dll namely product.dll created using .NET. How can I access that dll's...
我有一个DLL即 product.dll
使用.NET创建的。我如何可以访问使用Java code DLL的构造函数或方法。
是否有可能不使用JNI来访问?
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?
推荐答案
您可以看看 jni4net 这使得之间的互操作性二。 IKVM.NET 是另一种选择。然而,另一种选择是揭露你在.NET库作为SOAP的Web服务,这是可互操作的,并且可以从Java客户端消耗的功能。
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.
相关推荐
最新文章