using Java in ASP.Net 2.0

M

maboo59

Hello,
I need to call a function from a java class(Example.java, not
Javascript) from
within .Net 2.0 and I don't know how to do it.
Does anyone hava any suggestions?

Thanks
 
J

jacky kwok

maboo59 said:
Hello,
I need to call a function from a java class(Example.java, not
Javascript) from
within .Net 2.0 and I don't know how to do it.
Does anyone hava any suggestions?

Thanks


Not sure work in ASP.NET or not.

However, I had used the following 2 method to call java class library in
Dotnet C# Window Application.

1. using standard Sun Java native Interface API.

refer http://java.sun.com/javase/6/docs/technotes/guides/jni/index.html

It is C/C++ interface, using Managed C++ to build a wrapper class to
provide Dotnet interface.

2. using the IKVM.net
refer http://www.ikvm.net/

It is a tool set which has a function can convert Java class library to
Dotnet assembly in limited case.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top