[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Using java code in VB.NET

Posted on 2004-11-01
8
Medium Priority
?
189 Views
Last Modified: 2010-04-24
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
Comment
Question by:nhuanvn
[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
  • 5
  • 3
8 Comments
 
LVL 10

Expert Comment

by:prakash_prk
ID: 12463052
0
 
LVL 10

Expert Comment

by:prakash_prk
ID: 12463125

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

Add your java code .
Maximum of the code syntax is same .
0
 
LVL 1

Author Comment

by:nhuanvn
ID: 12469257
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 10

Expert Comment

by:prakash_prk
ID: 12469969
0
 
LVL 1

Author Comment

by:nhuanvn
ID: 12470062
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
 
LVL 10

Accepted Solution

by:
prakash_prk earned 2000 total points
ID: 12470343
Ok nhuanvn
using JSP on server . for that you run the program in web server.


Best of luck

Regards
Prakash
0
 
LVL 1

Author Comment

by:nhuanvn
ID: 12479677
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

656 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