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
LVL 1
nhuanvnAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.