Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access .NET dll's method using Java code

Tags:

java

.net

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?

like image 556
Samurai Avatar asked Aug 24 '26 11:08

Samurai


1 Answers

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.

like image 80
Darin Dimitrov Avatar answered Aug 27 '26 01:08

Darin Dimitrov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!