Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2013-02-03
6
Medium Priority
?
406 Views
Last Modified: 2013-02-20
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++.
0
Comment
Question by:gawacha1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 20

Expert Comment

by:informaniac
ID: 38848717
You could take a look @ WCF.
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 38849535
Have you looked at IKVM?
0
 

Author Comment

by:gawacha1
ID: 38854160
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
0
Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

 
LVL 83

Accepted Solution

by:
CodeCruiser earned 2000 total points
ID: 38854650
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 38859319
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.
0
 

Author Comment

by:gawacha1
ID: 38872457
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
0

Featured Post

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question