Hi all,
I just want to call a java function from ASP.Net... Please guide me !!!
I have seen JNBridge but its not free... :(
Thanks in anticipation
Hi all,
I just want to call a java function from ASP.Net... Please guide me !!!
I have seen JNBridge but its not free... :(
Thanks in anticipation
and why you wanna do that?
1- It will slow your code also as Plateform Conversion came into picture
2- It will make your code hard to test.
3- It will make your code hard to understand.
There must be very solid reason because what ever you can do with Java , you can do in C#
if possible you can always COPY & PASTE same function in ASP.Net application
Not sure if it's exactly what you are looking for, but you could check out IKVM.NET.
Possible options that i can think of :-
Expose the java function's functionality through a service (Recommended - Loosely Coupled)
Integrate through backend eg: database. Both programs can access a common database and pass data through here. (Not Highly Recommented - Very Tightly Coupled)
Use an open source bridge eg : jni4net
Note: I have not used this bridge ever but it seems to be something similar to what you are looking for. Refer their sample here