Link to home
Start Free TrialLog in
Avatar of gawacha1
gawacha1Flag for India

asked on

How to call vb.net or c# functions in java. Please do not use C++.

How to call vb.net or c# functions in java. Is it possible without using C++ .
I have used this:
http://www.codeproject.com/Articles/378826/How-to-wrap-a-Csharp-library-for-use-in-Java
The process seems to be:
create a VB dll, create a C wrapper dll  for that VB dll and use JNI

How to call vb.net or c# functions in java. Please do not use C++.
Avatar of Obadiah Christopher
Obadiah Christopher
Flag of India image

You could take a look @ WCF.
Have you looked at IKVM?
Avatar of gawacha1

ASKER

Dear kaufmed / informaniac

IKVM is for running java code on ,net runtime. Please note that our Client is Java and Server is C#.

please give sample code

gawacha1
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Please clarify your question then. You original question sounds like you are wanting to use existing Java code without having to translate it into .NET code. Now you mention you have a client/server setup. Please describe your environment in more detail, and what it is you are attempting to accomplish.
Dear Kaufmed / CodeCruiser

i have a code in vb.net 2005. For delivery to client i need to give DLL and also Java library of the same.
the client / server analogy i hv used only as illustration to show the direction of conversion.

i m looking at JNBridge etc and come back

Regards