[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 195
  • Last Modified:

Using java code in VB.NET

Hello Experts,

I have an open source library written in Java. I want to use this library in my VB.NET application (I don't have enough time to convert this library to VB.NET, and it's not a trivial task). Could you please direct me how to use my java library in VB.NET efficiently?

Thank you a lot for your help. I am in need of a how-to urgently.
Grade A and 500 points will be my many thanks to you!!!

Best regards,
Nhuan
0
nhuanvn
Asked:
nhuanvn
  • 5
  • 3
1 Solution
 
prakash_prkCommented:
0
 
prakash_prkCommented:

you can try this  also.
Create a new J# project.

Add your java code .
Maximum of the code syntax is same .
0
 
nhuanvnAuthor Commented:
Hello,

Thank you for your good direction. I am considering to create a new J# project. The problem now is how to add a JAR file to the J# project? If I can use these JAR files then everything is OK.

0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
prakash_prkCommented:
0
 
nhuanvnAuthor Commented:
Hello prakash_prk,

VJ# is a choice, but dealing with it is not trivial in a short time (and I am in lack of time now, deadline is coming for the master thesis). So I turn to resist on a bad (but workable right now) solution: JSP files can call my java library easily and the GUI part is in VB.NET using WebClient class to talk to the JSP files (I don't want to write my own server in Java code, again it is time consuming). So it is quite OK at the moment, what is in lack is that I can't use SOAP to access my java library. I want to close the question here.

Thank you a lot for the VJ# tip. Actually I don't think of it before :-)
Please make a comment and I will accept yours as the solution with full points and Grade A.

Best regards,
Nhuan
0
 
prakash_prkCommented:
Ok nhuanvn
using JSP on server . for that you run the program in web server.


Best of luck

Regards
Prakash
0
 
nhuanvnAuthor Commented:
Hello,

I my case, I use UDDI4J which is a java open source library to access a UDDI registry. After a while I want to turn to use VB.NET and the problem above raises. In fact the best way that I have found is to turn to use Microsoft UDDI SDK which has a namespace Microsoft.Uddi and then we can use the classes there to do the same thing as UDDI4J.

I think this is the best way for me to do my task.
I close the question with a solution found by myself.
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now